Seven Kingdoms: Ancient Adversaries by Enlight Software

Simon Morgan 80ab5e54b1 first commit 8 lat temu
asm 80ab5e54b1 first commit 8 lat temu
include 80ab5e54b1 first commit 8 lat temu
7k.ico 80ab5e54b1 first commit 8 lat temu
AM.cpp 80ab5e54b1 first commit 8 lat temu
COPYING 80ab5e54b1 first commit 8 lat temu
OAI_ACT.cpp 80ab5e54b1 first commit 8 lat temu
OAI_ACT2.cpp 80ab5e54b1 first commit 8 lat temu
OAI_ATTK.cpp 80ab5e54b1 first commit 8 lat temu
OAI_BUIL.cpp 80ab5e54b1 first commit 8 lat temu
OAI_CAP2.cpp 80ab5e54b1 first commit 8 lat temu
OAI_CAPT.cpp 80ab5e54b1 first commit 8 lat temu
OAI_DEFE.cpp 80ab5e54b1 first commit 8 lat temu
OAI_DIPL.cpp 80ab5e54b1 first commit 8 lat temu
OAI_ECO.cpp 80ab5e54b1 first commit 8 lat temu
OAI_GRAN.cpp 80ab5e54b1 first commit 8 lat temu
OAI_INFO.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MAIN.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MAR2.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MAR3.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MARI.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MILI.cpp 80ab5e54b1 first commit 8 lat temu
OAI_MONS.cpp 80ab5e54b1 first commit 8 lat temu
OAI_QUER.cpp 80ab5e54b1 first commit 8 lat temu
OAI_SEEK.cpp 80ab5e54b1 first commit 8 lat temu
OAI_SPY.cpp 80ab5e54b1 first commit 8 lat temu
OAI_TALK.cpp 80ab5e54b1 first commit 8 lat temu
OAI_TOWN.cpp 80ab5e54b1 first commit 8 lat temu
OAI_TRAD.cpp 80ab5e54b1 first commit 8 lat temu
OAI_UNIT.cpp 80ab5e54b1 first commit 8 lat temu
OANLINE.cpp 80ab5e54b1 first commit 8 lat temu
OAUDIO.cpp 80ab5e54b1 first commit 8 lat temu
OBATTLE.cpp 80ab5e54b1 first commit 8 lat temu
OBLOB.cpp 80ab5e54b1 first commit 8 lat temu
OBOX.cpp 80ab5e54b1 first commit 8 lat temu
OBULLET.cpp 80ab5e54b1 first commit 8 lat temu
OBULLETA.cpp 80ab5e54b1 first commit 8 lat temu
OBUTT3D.cpp 80ab5e54b1 first commit 8 lat temu
OBUTTCUS.cpp 80ab5e54b1 first commit 8 lat temu
OBUTTON.cpp 80ab5e54b1 first commit 8 lat temu
OB_FLAME.cpp 80ab5e54b1 first commit 8 lat temu
OB_HOMIN.cpp 80ab5e54b1 first commit 8 lat temu
OB_PROJ.cpp 80ab5e54b1 first commit 8 lat temu
OCOLTBL.cpp 80ab5e54b1 first commit 8 lat temu
OCONFIG.cpp 80ab5e54b1 first commit 8 lat temu
OCRC_STO.cpp 80ab5e54b1 first commit 8 lat temu
ODATE.cpp 80ab5e54b1 first commit 8 lat temu
ODB.cpp 80ab5e54b1 first commit 8 lat temu
ODIR.cpp 80ab5e54b1 first commit 8 lat temu
ODPLAY.cpp 80ab5e54b1 first commit 8 lat temu
ODYNARR.cpp 80ab5e54b1 first commit 8 lat temu
ODYNARRB.cpp 80ab5e54b1 first commit 8 lat temu
OEFFECT.cpp 80ab5e54b1 first commit 8 lat temu
OERRCTRL.cpp 80ab5e54b1 first commit 8 lat temu
OERROR.cpp 80ab5e54b1 first commit 8 lat temu
OEXPMASK.cpp 80ab5e54b1 first commit 8 lat temu
OFILE.cpp 80ab5e54b1 first commit 8 lat temu
OFILETXT.cpp 80ab5e54b1 first commit 8 lat temu
OFIRM.cpp 80ab5e54b1 first commit 8 lat temu
OFIRM2.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMA.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMAI.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMDIE.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMDRW.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMIF.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMIF2.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMIF3.cpp 80ab5e54b1 first commit 8 lat temu
OFIRMRES.cpp 80ab5e54b1 first commit 8 lat temu
OFLAME.cpp 80ab5e54b1 first commit 8 lat temu
OFONT.cpp 80ab5e54b1 first commit 8 lat temu
OF_BASE.cpp 80ab5e54b1 first commit 8 lat temu
OF_BASE2.cpp 80ab5e54b1 first commit 8 lat temu
OF_CAMP.cpp 80ab5e54b1 first commit 8 lat temu
OF_CAMP2.cpp 80ab5e54b1 first commit 8 lat temu
OF_FACT.cpp 80ab5e54b1 first commit 8 lat temu
OF_FACT2.cpp 80ab5e54b1 first commit 8 lat temu
OF_HARB.cpp 80ab5e54b1 first commit 8 lat temu
OF_HARB2.cpp 80ab5e54b1 first commit 8 lat temu
OF_INN.cpp 80ab5e54b1 first commit 8 lat temu
OF_INN2.cpp 80ab5e54b1 first commit 8 lat temu
OF_MARK.cpp 80ab5e54b1 first commit 8 lat temu
OF_MARK2.cpp 80ab5e54b1 first commit 8 lat temu
OF_MINE.cpp 80ab5e54b1 first commit 8 lat temu
OF_MINE2.cpp 80ab5e54b1 first commit 8 lat temu
OF_MONS.cpp 80ab5e54b1 first commit 8 lat temu
OF_RESE.cpp 80ab5e54b1 first commit 8 lat temu
OF_RESE2.cpp 80ab5e54b1 first commit 8 lat temu
OF_WAR.cpp 80ab5e54b1 first commit 8 lat temu
OF_WAR2.cpp 80ab5e54b1 first commit 8 lat temu
OGAMCRED.cpp 80ab5e54b1 first commit 8 lat temu
OGAME.cpp 80ab5e54b1 first commit 8 lat temu
OGAMEMP.cpp 80ab5e54b1 first commit 8 lat temu
OGAMENCY.cpp 80ab5e54b1 first commit 8 lat temu
OGAMEND.cpp 80ab5e54b1 first commit 8 lat temu
OGAMESET.cpp 80ab5e54b1 first commit 8 lat temu
OGAMHALL.cpp 80ab5e54b1 first commit 8 lat temu
OGAMMAIN.cpp 80ab5e54b1 first commit 8 lat temu
OGAMMENU.cpp 80ab5e54b1 first commit 8 lat temu
OGAMSCE2.cpp 80ab5e54b1 first commit 8 lat temu
OGAMSCEN.cpp 80ab5e54b1 first commit 8 lat temu
OGAMSING.cpp 80ab5e54b1 first commit 8 lat temu
OGENHILL.cpp 80ab5e54b1 first commit 8 lat temu
OGENMAP.cpp 80ab5e54b1 first commit 8 lat temu
OGETA.cpp 80ab5e54b1 first commit 8 lat temu
OGFILE.cpp 80ab5e54b1 first commit 8 lat temu
OGFILE2.cpp 80ab5e54b1 first commit 8 lat temu
OGFILE3.cpp 80ab5e54b1 first commit 8 lat temu
OGFILEA.cpp 80ab5e54b1 first commit 8 lat temu
OGF_V1.cpp 80ab5e54b1 first commit 8 lat temu
OGODRES.cpp 80ab5e54b1 first commit 8 lat temu
OGRPSEL.cpp 80ab5e54b1 first commit 8 lat temu
OHELP.cpp 80ab5e54b1 first commit 8 lat temu
OHILLRES.cpp 80ab5e54b1 first commit 8 lat temu
OIMGRES.cpp 80ab5e54b1 first commit 8 lat temu
OINFO.cpp 80ab5e54b1 first commit 8 lat temu
OINGMENU.cpp 80ab5e54b1 first commit 8 lat temu
OLIGHTN.cpp 80ab5e54b1 first commit 8 lat temu
OLIGHTN2.cpp 80ab5e54b1 first commit 8 lat temu
OLOG.cpp 80ab5e54b1 first commit 8 lat temu
OLONGLOG.cpp 80ab5e54b1 first commit 8 lat temu
OLZW.cpp 80ab5e54b1 first commit 8 lat temu
OMATRIX.cpp 80ab5e54b1 first commit 8 lat temu
OMEM.cpp 80ab5e54b1 first commit 8 lat temu
OMISC.cpp 80ab5e54b1 first commit 8 lat temu
OMONSRES.cpp 80ab5e54b1 first commit 8 lat temu
OMOUSE.cpp 80ab5e54b1 first commit 8 lat temu
OMOUSECR.cpp 80ab5e54b1 first commit 8 lat temu
OMOUSEFR.cpp 80ab5e54b1 first commit 8 lat temu
OMOUSEGE.cpp 80ab5e54b1 first commit 8 lat temu
OMOUSESP.cpp 80ab5e54b1 first commit 8 lat temu
OMP_CRC.cpp 80ab5e54b1 first commit 8 lat temu
OMUSIC.cpp 80ab5e54b1 first commit 8 lat temu
ONATIONA.cpp 80ab5e54b1 first commit 8 lat temu
ONATIONB.cpp 80ab5e54b1 first commit 8 lat temu
ONEWS.cpp 80ab5e54b1 first commit 8 lat temu
ONEWS2.cpp 80ab5e54b1 first commit 8 lat temu
ONEWSENG.cpp 80ab5e54b1 first commit 8 lat temu
ONEWSFRE.cpp 80ab5e54b1 first commit 8 lat temu
ONEWSGER.cpp 80ab5e54b1 first commit 8 lat temu
ONEWSSPA.cpp 80ab5e54b1 first commit 8 lat temu
OOPTMENU.cpp 80ab5e54b1 first commit 8 lat temu
OPLANT.cpp 80ab5e54b1 first commit 8 lat temu
OPLASMA.cpp 80ab5e54b1 first commit 8 lat temu
OPOWER.cpp 80ab5e54b1 first commit 8 lat temu
ORACERES.cpp 80ab5e54b1 first commit 8 lat temu
ORAIN1.cpp 80ab5e54b1 first commit 8 lat temu
ORAIN2.cpp 80ab5e54b1 first commit 8 lat temu
ORAIN3.cpp 80ab5e54b1 first commit 8 lat temu
ORAWRES.cpp 80ab5e54b1 first commit 8 lat temu
OREBEL.cpp 80ab5e54b1 first commit 8 lat temu
OREGION.cpp 80ab5e54b1 first commit 8 lat temu
OREGIONS.cpp 80ab5e54b1 first commit 8 lat temu
OREMOTE.cpp 80ab5e54b1 first commit 8 lat temu
OREMOTE2.cpp 80ab5e54b1 first commit 8 lat temu
OREMOTEM.cpp 80ab5e54b1 first commit 8 lat temu
OREMOTEQ.cpp 80ab5e54b1 first commit 8 lat temu
ORES.cpp 80ab5e54b1 first commit 8 lat temu
ORESDB.cpp 80ab5e54b1 first commit 8 lat temu
ORESX.cpp 80ab5e54b1 first commit 8 lat temu
OROCK.cpp 80ab5e54b1 first commit 8 lat temu
OROCKRES.cpp 80ab5e54b1 first commit 8 lat temu
OR_AI.cpp 80ab5e54b1 first commit 8 lat temu
OR_ECO.cpp 80ab5e54b1 first commit 8 lat temu
OR_MIL.cpp 80ab5e54b1 first commit 8 lat temu
OR_NAT.cpp 80ab5e54b1 first commit 8 lat temu
OR_NEWS.cpp 80ab5e54b1 first commit 8 lat temu
OR_RANK.cpp 80ab5e54b1 first commit 8 lat temu
OR_SPY.cpp 80ab5e54b1 first commit 8 lat temu
OR_TECH.cpp 80ab5e54b1 first commit 8 lat temu
OR_TOWN.cpp 80ab5e54b1 first commit 8 lat temu
OR_TRADE.cpp 80ab5e54b1 first commit 8 lat temu
OSCROLL.cpp 80ab5e54b1 first commit 8 lat temu
OSE.cpp 80ab5e54b1 first commit 8 lat temu
OSERES.cpp 80ab5e54b1 first commit 8 lat temu
OSFRMRES.cpp 80ab5e54b1 first commit 8 lat temu
OSITE.cpp 80ab5e54b1 first commit 8 lat temu
OSITEDRW.cpp 80ab5e54b1 first commit 8 lat temu
OSKILL.cpp 80ab5e54b1 first commit 8 lat temu
OSLIDCUS.cpp 80ab5e54b1 first commit 8 lat temu
OSNOW1.cpp 80ab5e54b1 first commit 8 lat temu
OSNOW2.cpp 80ab5e54b1 first commit 8 lat temu
OSNOWG.cpp 80ab5e54b1 first commit 8 lat temu
OSNOWRES.cpp 80ab5e54b1 first commit 8 lat temu
OSPATH.cpp 80ab5e54b1 first commit 8 lat temu
OSPATHBT.cpp 80ab5e54b1 first commit 8 lat temu
OSPATHS2.cpp 80ab5e54b1 first commit 8 lat temu
OSPREDBG.cpp 80ab5e54b1 first commit 8 lat temu
OSPREOFF.cpp 80ab5e54b1 first commit 8 lat temu
OSPRESMO.cpp 80ab5e54b1 first commit 8 lat temu
OSPREUSE.cpp 80ab5e54b1 first commit 8 lat temu
OSPRITE.cpp 80ab5e54b1 first commit 8 lat temu
OSPRITE2.cpp 80ab5e54b1 first commit 8 lat temu
OSPRITEA.cpp 80ab5e54b1 first commit 8 lat temu
OSPRTRES.cpp 80ab5e54b1 first commit 8 lat temu
OSPY.cpp 80ab5e54b1 first commit 8 lat temu
OSPY2.cpp 80ab5e54b1 first commit 8 lat temu
OSPYA.cpp 80ab5e54b1 first commit 8 lat temu
OSTR.cpp 80ab5e54b1 first commit 8 lat temu
OSYS.cpp 80ab5e54b1 first commit 8 lat temu
OSYS2.cpp 80ab5e54b1 first commit 8 lat temu
OSYS3.cpp 80ab5e54b1 first commit 8 lat temu
OTALKENG.cpp 80ab5e54b1 first commit 8 lat temu
OTALKFRE.cpp 80ab5e54b1 first commit 8 lat temu
OTALKGER.cpp 80ab5e54b1 first commit 8 lat temu
OTALKMSG.cpp 80ab5e54b1 first commit 8 lat temu
OTALKRES.cpp 80ab5e54b1 first commit 8 lat temu
OTALKSPA.cpp 80ab5e54b1 first commit 8 lat temu
OTECHRES.cpp 80ab5e54b1 first commit 8 lat temu
OTERRAIN.cpp 80ab5e54b1 first commit 8 lat temu
OTORNADO.cpp 80ab5e54b1 first commit 8 lat temu
OTOWN.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNA.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNAI.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNBLD.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNDRW.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNIF.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNIND.cpp 80ab5e54b1 first commit 8 lat temu
OTOWNRES.cpp 80ab5e54b1 first commit 8 lat temu
OTRANSL.cpp 80ab5e54b1 first commit 8 lat temu
OTUTOR.cpp 80ab5e54b1 first commit 8 lat temu
OTUTOR2.cpp 80ab5e54b1 first commit 8 lat temu
OUNIT.cpp 80ab5e54b1 first commit 8 lat temu
OUNIT2.cpp 80ab5e54b1 first commit 8 lat temu
OUNITA.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAAC.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAAT.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAC.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAI.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAM.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAMT.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAT.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAT2.cpp 80ab5e54b1 first commit 8 lat temu
OUNITAT3.cpp 80ab5e54b1 first commit 8 lat temu
OUNITATB.cpp 80ab5e54b1 first commit 8 lat temu
OUNITD.cpp 80ab5e54b1 first commit 8 lat temu
OUNITDRW.cpp 80ab5e54b1 first commit 8 lat temu
OUNITHB.cpp 80ab5e54b1 first commit 8 lat temu
OUNITI.cpp 80ab5e54b1 first commit 8 lat temu
OUNITIF.cpp 80ab5e54b1 first commit 8 lat temu
OUNITIND.cpp 80ab5e54b1 first commit 8 lat temu
OUNITM.cpp 80ab5e54b1 first commit 8 lat temu
OUNITRES.cpp 80ab5e54b1 first commit 8 lat temu
OUNITS.cpp 80ab5e54b1 first commit 8 lat temu
OU_CARA.cpp 80ab5e54b1 first commit 8 lat temu
OU_CARA2.cpp 80ab5e54b1 first commit 8 lat temu
OU_CARAS.cpp 80ab5e54b1 first commit 8 lat temu
OU_CARAT.cpp 80ab5e54b1 first commit 8 lat temu
OU_CART.cpp 80ab5e54b1 first commit 8 lat temu
OU_GOD.cpp 80ab5e54b1 first commit 8 lat temu
OU_GOD2.cpp 80ab5e54b1 first commit 8 lat temu
OU_MARI.cpp 80ab5e54b1 first commit 8 lat temu
OU_MARI2.cpp 80ab5e54b1 first commit 8 lat temu
OU_MARIF.cpp 80ab5e54b1 first commit 8 lat temu
OU_MARIS.cpp 80ab5e54b1 first commit 8 lat temu
OU_MARIT.cpp 80ab5e54b1 first commit 8 lat temu
OU_MONS.cpp 80ab5e54b1 first commit 8 lat temu
OU_VEHI.cpp 80ab5e54b1 first commit 8 lat temu
OVBROWIF.cpp 80ab5e54b1 first commit 8 lat temu
OVBROWSE.cpp 80ab5e54b1 first commit 8 lat temu
OVGA.cpp 80ab5e54b1 first commit 8 lat temu
OVGA2.cpp 80ab5e54b1 first commit 8 lat temu
OVGABUF.cpp 80ab5e54b1 first commit 8 lat temu
OVGABUF2.cpp 80ab5e54b1 first commit 8 lat temu
OVGALOCK.cpp 80ab5e54b1 first commit 8 lat temu
OVIDEO.cpp 80ab5e54b1 first commit 8 lat temu
OVOLUME.cpp 80ab5e54b1 first commit 8 lat temu
OVQUEUE.cpp 80ab5e54b1 first commit 8 lat temu
OWALLRES.cpp 80ab5e54b1 first commit 8 lat temu
OWARPT.cpp 80ab5e54b1 first commit 8 lat temu
OWEATHER.cpp 80ab5e54b1 first commit 8 lat temu
OWORLD.cpp 80ab5e54b1 first commit 8 lat temu
OWORLD_M.cpp 80ab5e54b1 first commit 8 lat temu
OWORLD_Z.cpp 80ab5e54b1 first commit 8 lat temu
OW_FIRE.cpp 80ab5e54b1 first commit 8 lat temu
OW_PLANT.cpp 80ab5e54b1 first commit 8 lat temu
OW_ROCK.cpp 80ab5e54b1 first commit 8 lat temu
OW_SOUND.cpp 80ab5e54b1 first commit 8 lat temu
OW_WALL.cpp 80ab5e54b1 first commit 8 lat temu
README 80ab5e54b1 first commit 8 lat temu
build.pl 80ab5e54b1 first commit 8 lat temu
clean.pl 80ab5e54b1 first commit 8 lat temu
configure.pl 80ab5e54b1 first commit 8 lat temu
ico.rc 80ab5e54b1 first commit 8 lat temu
opts.pl 80ab5e54b1 first commit 8 lat temu
targets.pl 80ab5e54b1 first commit 8 lat temu

README

Seven Kingdoms: Ancient Adversaries
-----------------------------------

Release version 2.13.2
Project website: www.7kfans.com

This is the release of the Seven Kingdoms: Ancient Adversaries source
code as authorized by Enlight by the 7kfans project. The game is
provided under the terms of the GPL. See the file "COPYING" for the
details of the license.

This release brings Linux support for the game through the Wine API.
The game source should remain compatable with Windows as well.
However, this release is intended as an interim solution for linux
and Windows users while the game undergoes an extensive rewrite to
make it truly multiplatform.

This version of the game deprecates the I*Magic network library and
DirectPlay. Building the game will disable the network option by
default. Renable it at your own risk. In the future, the 7kfans
project intends to replace the network code anyhow.


Building the game
---------

General Requirements
* GCC 3.0 or later
* JWasm 2.00 or later
* Perl (checked with 5.10.1)

Linux
* Wine 1.1.34 or later

Windows
* DX7 SDK (later not tested)


We do not (yet?) provide the typical Makefile setup. To build
execute:
./configure.pl
Followed by:
./build.pl

This will build the game suited for your system. If this does
not work, please tell us.


Running
--------
You can download the game data if you do not already have the game
installed. You can find the game data from the 7kfans sourceforge
page at http://sourceforge.net/projects/skfans/

Copy the executable files "7kaa.exe*" from the build directory to
your installed game directory. Run 7kaa.exe to start the game
instead of the classic enlight version called 7k.exe. You may
create a short-cut now.


Other Tips
---------

Since the game runs on Wine's DDraw, users may find the game runs
rather slow for such an old game. We cannot correct this issue when
using DDraw, but there are solutions found over at the Wine Project:
http://wiki.winehq.org/DirectDraw