├── Gaia.suo ├── DANAE ├── ARX.bmp ├── ARX_Loc.h ├── DANAE.APS ├── DANAE.rc ├── DANAE.rct ├── Dana.bmp ├── Danae.bmp ├── Danae.ico ├── icon1.ico ├── icon2.ico ├── bitmap1.bmp ├── bitmap2.bmp ├── cursor1.cur ├── directx.ico ├── ARX_C_mapp.cpp ├── ARX_LocHash.h ├── ARX_Menu2.cpp ├── ARX_Script.cpp ├── ARX_Sound.cpp ├── ARX_Speech.cpp ├── ARX_SpellFx.h ├── ARX_Spells.cpp ├── ConsoleBkg.bmp ├── Danae_TB.bmp ├── Danae_TB2.bmp ├── consolebkg.ico ├── pass_logo.bmp ├── toolbar1.bmp ├── ARX_CSpellFx.cpp ├── ARX_LocHash.cpp ├── Presentation.bmp ├── arkane_logo.bmp ├── pass_logo_E3.bmp ├── ARX_CParticles.cpp ├── ARX_C_keyframer.cpp ├── ARX_ChangeLevel.cpp ├── ARX_GlobalMods.cpp ├── ARX_Inventory.cpp ├── ARX_Particles.cpp ├── ARX_SpellFx_Lvl01.h ├── ARX_SpellFx_Lvl03.h ├── ARX_SpellFx_Lvl04.h ├── ARX_SpellFx_Lvl05.h ├── ARX_SpellFx_Lvl06.h ├── ARX_SpellFx_Lvl07.h ├── ARX_SpellFx_Lvl08.h ├── ARX_SpellFx_Lvl09.h ├── ARX_SpellFx_Lvl10.h ├── ArkaneStudios.ico ├── Arx_icon1_64X64.ico ├── Arx_icon_64X64.ico ├── ARX_SpellFX_Lvl01.cpp ├── ARX_SpellFX_Lvl04.cpp ├── ARX_SpellFX_Lvl05.cpp ├── ARX_SpellFX_Lvl06.cpp ├── ARX_SpellFX_Lvl07.cpp ├── ARX_SpellFX_Lvl08.cpp ├── ARX_SpellFX_Lvl09.cpp ├── ARX_SpellFX_Lvl10.cpp ├── ARX_CParticleSystem.cpp ├── pass_logo_Etrange_Libellule.bmp ├── Resource.rc ├── Arx_Config.h ├── ARX_HWTransform.h ├── ARX_ViewImage.h ├── ARX_SnapShot.h ├── ARX_HWTransform.cpp ├── ARX_CParticle.h ├── DANAE.plg └── ARX_Network.cpp ├── HERMES ├── EDGE.GIF ├── CELLS.JPG ├── DirectX.ico ├── ConsoleBkg.bmp ├── HERMES_PAK.cpp ├── consolebkg.ico ├── HERMES_hachage.cpp ├── HERMESnet.rc └── HERMESPerf.cpp ├── EERIE ├── EERIELight.cpp ├── EERIEapp.cpp ├── EerieFrame.mdp ├── EERIETexture.cpp └── makefile ├── Include ├── DanaeDlg.h ├── EERIEPoly.h ├── EERIETypes.h ├── EERIEapp.h ├── HERMES_PAK.h ├── ARX_CSpellFx.h ├── EERIETexture.h ├── ARX_ChangeLevel.h ├── ARX_Particles.h ├── DANAE_VERSION.h ├── ARX_C_cinematique.h ├── ARX_CParticleParams.h ├── OtherLibs │ ├── JVERSION.H │ ├── Jconfig.h │ ├── IMPLODE.H │ ├── audevcod.h │ ├── JCHUFF.H │ ├── dshow.h │ └── JINCLUDE.H ├── resource.h ├── ResourceHERMESnet.h ├── EERIE_AVI.h ├── EERIEJpeg.h ├── DANAE_Debugger.h ├── HERMES_pack_types.h ├── ARX_Cedric.h ├── Minos_Common.h ├── HERMES_hachage.h ├── ARX_Missile.h ├── ARX_GlobalMods.h ├── HERMES_pack.h ├── ARX_CParticles.h ├── ARX_carte.h ├── HERMES_ClusterSave.h ├── EERIEAnchors.h ├── HERMES_pack_public.h ├── EERIECollisionSpheres.h ├── HERMESnet.h ├── ARX_Network.h ├── HERMESDDE.h ├── ARX_FTL.h ├── EERIEProgressive.h ├── ARX_Levels.h ├── EERIEClothes.h ├── Mercury_extern.h ├── EERIELinkedObj.h ├── ARX_Special.h ├── EERIEPhysicsBox.h └── EERIEMeshTweak.h ├── lib └── otherlibs │ ├── eax.lib │ ├── zlib.lib │ ├── IMPLODE.LIB │ ├── Jpeglib.lib │ ├── eaxguid.lib │ └── amstrmid.lib ├── DANAE_Debugger ├── SCRIPT_DEBUGGER_Dialog.h ├── SCRIPT_DEBUGGER_Dialog.cpp ├── SCRIPT_DEBUGGER.def ├── ARX_SCRIPT_DEBUGGER.dsw ├── ARX_SCRIPT_DEBUGGER.plg └── resource.h ├── Mercury ├── MSSCCPRJ.SCC ├── Mercury.plg └── Mercury.dsp ├── MINOS ├── MINOS.plg └── MINOS.dsp └── Athena ├── Athena_Track.h ├── Athena_DLL.cpp ├── Athena_FileIO.h ├── Athena_Stream.cpp ├── Athena_Resource.cpp ├── Athena_Codec.h ├── Athena_Mixer.h ├── Athena_FileIO.cpp ├── Athena_Sample.h ├── Athena_Environment.h ├── Athena_Codec_RAW.h ├── Athena_Stream.h ├── Athena_Stream_WAV.h └── Athena_Codec_ADPCM.h /Gaia.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Gaia.suo -------------------------------------------------------------------------------- /DANAE/ARX.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX.bmp -------------------------------------------------------------------------------- /DANAE/ARX_Loc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Loc.h -------------------------------------------------------------------------------- /DANAE/DANAE.APS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/DANAE.APS -------------------------------------------------------------------------------- /DANAE/DANAE.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/DANAE.rc -------------------------------------------------------------------------------- /DANAE/DANAE.rct: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/DANAE.rct -------------------------------------------------------------------------------- /DANAE/Dana.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Dana.bmp -------------------------------------------------------------------------------- /DANAE/Danae.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Danae.bmp -------------------------------------------------------------------------------- /DANAE/Danae.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Danae.ico -------------------------------------------------------------------------------- /DANAE/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/icon1.ico -------------------------------------------------------------------------------- /DANAE/icon2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/icon2.ico -------------------------------------------------------------------------------- /HERMES/EDGE.GIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/EDGE.GIF -------------------------------------------------------------------------------- /DANAE/bitmap1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/bitmap1.bmp -------------------------------------------------------------------------------- /DANAE/bitmap2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/bitmap2.bmp -------------------------------------------------------------------------------- /DANAE/cursor1.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/cursor1.cur -------------------------------------------------------------------------------- /DANAE/directx.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/directx.ico -------------------------------------------------------------------------------- /HERMES/CELLS.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/CELLS.JPG -------------------------------------------------------------------------------- /DANAE/ARX_C_mapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_C_mapp.cpp -------------------------------------------------------------------------------- /DANAE/ARX_LocHash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_LocHash.h -------------------------------------------------------------------------------- /DANAE/ARX_Menu2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Menu2.cpp -------------------------------------------------------------------------------- /DANAE/ARX_Script.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Script.cpp -------------------------------------------------------------------------------- /DANAE/ARX_Sound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Sound.cpp -------------------------------------------------------------------------------- /DANAE/ARX_Speech.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Speech.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx.h -------------------------------------------------------------------------------- /DANAE/ARX_Spells.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Spells.cpp -------------------------------------------------------------------------------- /DANAE/ConsoleBkg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ConsoleBkg.bmp -------------------------------------------------------------------------------- /DANAE/Danae_TB.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Danae_TB.bmp -------------------------------------------------------------------------------- /DANAE/Danae_TB2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Danae_TB2.bmp -------------------------------------------------------------------------------- /DANAE/consolebkg.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/consolebkg.ico -------------------------------------------------------------------------------- /DANAE/pass_logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/pass_logo.bmp -------------------------------------------------------------------------------- /DANAE/toolbar1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/toolbar1.bmp -------------------------------------------------------------------------------- /EERIE/EERIELight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/EERIE/EERIELight.cpp -------------------------------------------------------------------------------- /EERIE/EERIEapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/EERIE/EERIEapp.cpp -------------------------------------------------------------------------------- /EERIE/EerieFrame.mdp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/EERIE/EerieFrame.mdp -------------------------------------------------------------------------------- /HERMES/DirectX.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/DirectX.ico -------------------------------------------------------------------------------- /Include/DanaeDlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/DanaeDlg.h -------------------------------------------------------------------------------- /Include/EERIEPoly.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/EERIEPoly.h -------------------------------------------------------------------------------- /Include/EERIETypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/EERIETypes.h -------------------------------------------------------------------------------- /Include/EERIEapp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/EERIEapp.h -------------------------------------------------------------------------------- /Include/HERMES_PAK.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/HERMES_PAK.h -------------------------------------------------------------------------------- /DANAE/ARX_CSpellFx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_CSpellFx.cpp -------------------------------------------------------------------------------- /DANAE/ARX_LocHash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_LocHash.cpp -------------------------------------------------------------------------------- /DANAE/Presentation.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Presentation.bmp -------------------------------------------------------------------------------- /DANAE/arkane_logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/arkane_logo.bmp -------------------------------------------------------------------------------- /DANAE/pass_logo_E3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/pass_logo_E3.bmp -------------------------------------------------------------------------------- /EERIE/EERIETexture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/EERIE/EERIETexture.cpp -------------------------------------------------------------------------------- /HERMES/ConsoleBkg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/ConsoleBkg.bmp -------------------------------------------------------------------------------- /HERMES/HERMES_PAK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/HERMES_PAK.cpp -------------------------------------------------------------------------------- /HERMES/consolebkg.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/consolebkg.ico -------------------------------------------------------------------------------- /Include/ARX_CSpellFx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/ARX_CSpellFx.h -------------------------------------------------------------------------------- /Include/EERIETexture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/EERIETexture.h -------------------------------------------------------------------------------- /lib/otherlibs/eax.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/eax.lib -------------------------------------------------------------------------------- /lib/otherlibs/zlib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/zlib.lib -------------------------------------------------------------------------------- /DANAE/ARX_CParticles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_CParticles.cpp -------------------------------------------------------------------------------- /DANAE/ARX_C_keyframer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_C_keyframer.cpp -------------------------------------------------------------------------------- /DANAE/ARX_ChangeLevel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_ChangeLevel.cpp -------------------------------------------------------------------------------- /DANAE/ARX_GlobalMods.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_GlobalMods.cpp -------------------------------------------------------------------------------- /DANAE/ARX_Inventory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Inventory.cpp -------------------------------------------------------------------------------- /DANAE/ARX_Particles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_Particles.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl01.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl01.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl03.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl03.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl04.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl04.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl05.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl05.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl06.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl06.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl07.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl07.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl08.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl08.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl09.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl09.h -------------------------------------------------------------------------------- /DANAE/ARX_SpellFx_Lvl10.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFx_Lvl10.h -------------------------------------------------------------------------------- /DANAE/ArkaneStudios.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ArkaneStudios.ico -------------------------------------------------------------------------------- /DANAE/Arx_icon1_64X64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Arx_icon1_64X64.ico -------------------------------------------------------------------------------- /DANAE/Arx_icon_64X64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/Arx_icon_64X64.ico -------------------------------------------------------------------------------- /HERMES/HERMES_hachage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/HERMES/HERMES_hachage.cpp -------------------------------------------------------------------------------- /Include/ARX_ChangeLevel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/ARX_ChangeLevel.h -------------------------------------------------------------------------------- /Include/ARX_Particles.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/ARX_Particles.h -------------------------------------------------------------------------------- /Include/DANAE_VERSION.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/DANAE_VERSION.h -------------------------------------------------------------------------------- /lib/otherlibs/IMPLODE.LIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/IMPLODE.LIB -------------------------------------------------------------------------------- /lib/otherlibs/Jpeglib.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/Jpeglib.lib -------------------------------------------------------------------------------- /lib/otherlibs/eaxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/eaxguid.lib -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl01.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl01.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl04.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl04.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl05.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl05.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl06.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl06.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl07.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl07.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl08.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl08.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl09.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl09.cpp -------------------------------------------------------------------------------- /DANAE/ARX_SpellFX_Lvl10.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_SpellFX_Lvl10.cpp -------------------------------------------------------------------------------- /Include/ARX_C_cinematique.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/ARX_C_cinematique.h -------------------------------------------------------------------------------- /lib/otherlibs/amstrmid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/lib/otherlibs/amstrmid.lib -------------------------------------------------------------------------------- /DANAE/ARX_CParticleSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/ARX_CParticleSystem.cpp -------------------------------------------------------------------------------- /Include/ARX_CParticleParams.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/Include/ARX_CParticleParams.h -------------------------------------------------------------------------------- /DANAE/pass_logo_Etrange_Libellule.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE/pass_logo_Etrange_Libellule.bmp -------------------------------------------------------------------------------- /DANAE_Debugger/SCRIPT_DEBUGGER_Dialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE_Debugger/SCRIPT_DEBUGGER_Dialog.h -------------------------------------------------------------------------------- /DANAE_Debugger/SCRIPT_DEBUGGER_Dialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/historicalsource/arxfatalis/HEAD/DANAE_Debugger/SCRIPT_DEBUGGER_Dialog.cpp -------------------------------------------------------------------------------- /Mercury/MSSCCPRJ.SCC: -------------------------------------------------------------------------------- 1 | SCC = This is a source code control file 2 | 3 | [Mercury.vcproj] 4 | SCC_Aux_Path = "P4SCC#arkaneserver3:1666##seb##Poulpy_ArxSteam" 5 | SCC_Project_Name = Perforce Project 6 | -------------------------------------------------------------------------------- /DANAE_Debugger/SCRIPT_DEBUGGER.def: -------------------------------------------------------------------------------- 1 | LIBRARY ARX_SCRIPT_DEBUGGER 2 | 3 | EXPORTS 4 | SCRIPT_DEBUGGER_GetName 5 | SCRIPT_DEBUGGER_GetVersion 6 | SCRIPT_DEBUGGER_CreateDialog 7 | SCRIPT_DEBUGGER_GetParams 8 | SCRIPT_DEBUGGER_SetParams 9 | SCRIPT_DEBUGGER_WindowOpened 10 | SCRIPT_DEBUGGER_Destroy 11 | -------------------------------------------------------------------------------- /Include/OtherLibs/JVERSION.H: -------------------------------------------------------------------------------- 1 | /* 2 | * jversion.h 3 | * 4 | * Copyright (C) 1991-1998, Thomas G. Lane. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file contains software version identification. 9 | */ 10 | 11 | 12 | #define JVERSION "6b 27-Mar-1998" 13 | 14 | #define JCOPYRIGHT "Copyright (C) 1998, Thomas G. Lane" 15 | -------------------------------------------------------------------------------- /DANAE_Debugger/ARX_SCRIPT_DEBUGGER.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "ARX_SCRIPT_DEBUGGER"=.\ARX_SCRIPT_DEBUGGER.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /MINOS/MINOS.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: MINOS - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP167.tmp" with contents 10 | [ 11 | /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"Debug/MINOS.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 12 | "C:\_danae\MINOS\Minos_PathFinder.cpp" 13 | ] 14 | Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP167.tmp" 15 | Creating command line "link.exe -lib /nologo /out:"..\lib\MINOS_Debug.lib" .\Debug\Minos_PathFinder.obj " 16 |

Output Window

17 | Compiling... 18 | Minos_PathFinder.cpp 19 | Creating library... 20 | 21 | 22 | 23 |

Results

24 | MINOS_Debug.lib - 0 error(s), 0 warning(s) 25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /Mercury/Mercury.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: Mercury - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP171.tmp" with contents 10 | [ 11 | /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"Debug/Mercury.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 12 | "C:\_danae\Mercury\Mercury_global.c" 13 | "C:\_danae\Mercury\Mercury_Main.c" 14 | ] 15 | Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP171.tmp" 16 | Creating command line "link.exe -lib /nologo /out:"..\lib\MERCURY_debug.lib" .\Debug\Mercury_global.obj .\Debug\Mercury_Main.obj " 17 |

Output Window

18 | Compiling... 19 | Mercury_global.c 20 | Mercury_Main.c 21 | Creating library... 22 | 23 | 24 | 25 |

Results

26 | MERCURY_debug.lib - 0 error(s), 0 warning(s) 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /Include/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by winmain.rc 4 | // 5 | #define IDI_MAIN_ICON 101 6 | #define IDR_MENU1 101 7 | #define IDR_MAIN_ACCEL 113 8 | #define IDR_MENU 141 9 | #define IDR_POPUP 142 10 | #define IDD_ABOUT 143 11 | #define IDD_CHANGEDEVICE 144 12 | #define IDB_CONSOLEBKG 146 13 | #define IDC_DEVICE_COMBO 1000 14 | #define IDC_MODE_COMBO 1001 15 | #define IDC_WINDOWED_CHECKBOX 1012 16 | #define IDC_STEREO_CHECKBOX 1013 17 | #define IDC_FULLSCREEN_TEXT 1014 18 | #define IDM_ABOUT 40001 19 | #define DANAE_MENU_EXIT 40001 20 | #define IDM_CHANGEDEVICE 40002 21 | #define IDM_TOGGLEFULLSCREEN 40003 22 | #define IDM_TOGGLESTART 40004 23 | #define IDM_SINGLESTEP 40005 24 | #define IDM_EXIT 40006 25 | 26 | // Next default values for new objects 27 | // 28 | #ifdef APSTUDIO_INVOKED 29 | #ifndef APSTUDIO_READONLY_SYMBOLS 30 | #define _APS_3D_CONTROLS 1 31 | #define _APS_NEXT_RESOURCE_VALUE 147 32 | #define _APS_NEXT_COMMAND_VALUE 40010 33 | #define _APS_NEXT_CONTROL_VALUE 1010 34 | #define _APS_NEXT_SYMED_VALUE 102 35 | #endif 36 | #endif 37 | -------------------------------------------------------------------------------- /Include/OtherLibs/Jconfig.h: -------------------------------------------------------------------------------- 1 | /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */ 2 | /* see jconfig.doc for explanations */ 3 | 4 | #define HAVE_PROTOTYPES 5 | #define HAVE_UNSIGNED_CHAR 6 | #define HAVE_UNSIGNED_SHORT 7 | #undef CHAR_IS_UNSIGNED 8 | #define HAVE_STDDEF_H 9 | #define HAVE_STDLIB_H 10 | 11 | #undef NEED_BSD_STRINGS 12 | #undef NEED_SYS_TYPES_H 13 | #undef NEED_FAR_POINTERS /* we presume a 32-bit flat memory model */ 14 | #undef NEED_SHORT_EXTERNAL_NAMES 15 | #undef INCOMPLETE_TYPES_BROKEN 16 | 17 | /* Define "boolean" as unsigned char, not int, per Windows custom */ 18 | #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ 19 | typedef unsigned char boolean; 20 | #endif 21 | #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ 22 | 23 | 24 | #ifdef JPEG_INTERNALS 25 | 26 | #undef RIGHT_SHIFT_IS_UNSIGNED 27 | 28 | #endif /* JPEG_INTERNALS */ 29 | 30 | #ifdef JPEG_CJPEG_DJPEG 31 | 32 | #define BMP_SUPPORTED /* BMP image file format */ 33 | #define GIF_SUPPORTED /* GIF image file format */ 34 | #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ 35 | #undef RLE_SUPPORTED /* Utah RLE image file format */ 36 | #define TARGA_SUPPORTED /* Targa image file format */ 37 | 38 | #define TWO_FILE_COMMANDLINE /* optional */ 39 | #define USE_SETMODE /* Microsoft has setmode() */ 40 | #undef NEED_SIGNAL_CATCHER 41 | #undef DONT_USE_B_MODE 42 | #undef PROGRESS_REPORT /* optional */ 43 | 44 | #endif /* JPEG_CJPEG_DJPEG */ 45 | -------------------------------------------------------------------------------- /Include/OtherLibs/IMPLODE.H: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | PKWARE Data Compression Library (R) for Win32 3 | Copyright 1991,1992,1994,1995 PKWARE Inc. All Rights Reserved. 4 | PKWARE Data Compression Library Reg. U.S. Pat. and Tm. Off. 5 | ***************************************************************/ 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | unsigned int implode( 12 | unsigned int (*read_buf)(char * buf, unsigned int * size, void * param), 13 | void (*write_buf)(char * buf, unsigned int * size, void * param), 14 | char * work_buf, 15 | void * param, 16 | unsigned int * type, 17 | unsigned int * dsize); 18 | 19 | 20 | unsigned int explode( 21 | unsigned int (*read_buf)(char * buf, unsigned int * size, void * param), 22 | void (*write_buf)(char * buf, unsigned int * size, void * param), 23 | char * work_buf, 24 | void * param); 25 | 26 | unsigned long crc32(char * buffer, unsigned int * size, unsigned long * old_crc); 27 | 28 | #ifdef __cplusplus 29 | } // End of 'extern "C"' declaration 30 | #endif 31 | 32 | 33 | #define CMP_BUFFER_SIZE 36312 34 | #define EXP_BUFFER_SIZE 12596 35 | 36 | #define CMP_BINARY 0 37 | #define CMP_ASCII 1 38 | 39 | #define CMP_NO_ERROR 0 40 | #define CMP_INVALID_DICTSIZE 1 41 | #define CMP_INVALID_MODE 2 42 | #define CMP_BAD_DATA 3 43 | #define CMP_ABORT 4 44 | 45 | -------------------------------------------------------------------------------- /Include/ResourceHERMESnet.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by WinMain.rc 4 | // 5 | #define IDD_MUTLIPLAYER_CONNECT 101 6 | #define IDD_MUTLIPLAYER_GAMES 102 7 | #define IDC_RETURN 102 8 | #define IDD_MAIN_GAME 103 9 | #define IDD_MULTIPLAYER_CREATE 104 10 | #define IDI_MAIN 106 11 | #define IDD_LOBBY_WAIT_STATUS 114 12 | #define IDC_PLAYER_NAME_EDIT 1000 13 | #define IDC_GAMES_LIST 1001 14 | #define IDC_JOIN 1002 15 | #define IDC_CREATE 1003 16 | #define IDC_CONNECTION_LIST 1004 17 | #define IDC_BACK 1005 18 | #define IDC_CHECK_DPLAY_PROTOCOL 1006 19 | #define IDC_EDIT_SESSION_NAME 1007 20 | #define IDC_CHAT_EDIT 1010 21 | #define IDC_CHAT_LISTBOX 1012 22 | #define IDC_SEARCH_CHECK 1013 23 | #define IDC_LOBBYCONNECTCANCEL 1029 24 | #define IDC_NUM_PLAYERS 1030 25 | #define IDC_SEND 1034 26 | #define IDC_WAIT_TEXT 1035 27 | 28 | // Next default values for new objects 29 | // 30 | #ifdef APSTUDIO_INVOKED 31 | #ifndef APSTUDIO_READONLY_SYMBOLS 32 | #define _APS_NEXT_RESOURCE_VALUE 107 33 | #define _APS_NEXT_COMMAND_VALUE 40001 34 | #define _APS_NEXT_CONTROL_VALUE 1035 35 | #define _APS_NEXT_SYMED_VALUE 103 36 | #endif 37 | #endif 38 | -------------------------------------------------------------------------------- /DANAE/Resource.rc: -------------------------------------------------------------------------------- 1 | //Microsoft Developer Studio generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // French (France) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_FRENCH, SUBLANG_FRENCH 21 | #pragma code_page(1252) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE DISCARDABLE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE DISCARDABLE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE DISCARDABLE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | #endif // French (France) resources 50 | ///////////////////////////////////////////////////////////////////////////// 51 | 52 | 53 | 54 | #ifndef APSTUDIO_INVOKED 55 | ///////////////////////////////////////////////////////////////////////////// 56 | // 57 | // Generated from the TEXTINCLUDE 3 resource. 58 | // 59 | 60 | 61 | ///////////////////////////////////////////////////////////////////////////// 62 | #endif // not APSTUDIO_INVOKED 63 | 64 | -------------------------------------------------------------------------------- /HERMES/HERMESnet.rc: -------------------------------------------------------------------------------- 1 | //Microsoft Developer Studio generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // English (U.S.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 21 | #pragma code_page(1252) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE DISCARDABLE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE DISCARDABLE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE DISCARDABLE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | #endif // English (U.S.) resources 50 | ///////////////////////////////////////////////////////////////////////////// 51 | 52 | 53 | 54 | #ifndef APSTUDIO_INVOKED 55 | ///////////////////////////////////////////////////////////////////////////// 56 | // 57 | // Generated from the TEXTINCLUDE 3 resource. 58 | // 59 | 60 | 61 | ///////////////////////////////////////////////////////////////////////////// 62 | #endif // not APSTUDIO_INVOKED 63 | 64 | -------------------------------------------------------------------------------- /Include/OtherLibs/audevcod.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // File: AudEvCod.h 3 | // 4 | // Desc: List of Audio device error event codes and the expected params. 5 | // 6 | // Copyright (c) 1999 - 2000, Microsoft Corporation. All rights reserved. 7 | //------------------------------------------------------------------------------ 8 | 9 | 10 | 11 | #ifndef __AUDEVCOD__ 12 | #define __AUDEVCOD__ 13 | 14 | 15 | #define EC_SND_DEVICE_ERROR_BASE 0x0200 16 | 17 | typedef enum _tagSND_DEVICE_ERROR 18 | { 19 | 20 | SNDDEV_ERROR_Open = 1, 21 | SNDDEV_ERROR_Close = 2, 22 | SNDDEV_ERROR_GetCaps = 3, 23 | SNDDEV_ERROR_PrepareHeader = 4, 24 | SNDDEV_ERROR_UnprepareHeader = 5, 25 | SNDDEV_ERROR_Reset = 6, 26 | SNDDEV_ERROR_Restart = 7, 27 | SNDDEV_ERROR_GetPosition = 8, 28 | SNDDEV_ERROR_Write = 9, 29 | SNDDEV_ERROR_Pause = 10, 30 | SNDDEV_ERROR_Stop = 11, 31 | SNDDEV_ERROR_Start = 12, 32 | SNDDEV_ERROR_AddBuffer = 13, 33 | SNDDEV_ERROR_Query = 14, 34 | 35 | } SNDDEV_ERR; 36 | 37 | 38 | // Sound device error event codes 39 | // ============================== 40 | // 41 | // All audio device error events are always passed on to the application, and are 42 | // never processed by the filter graph 43 | 44 | 45 | #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x00) 46 | #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x01) 47 | // Parameters: ( DWORD, DWORD) 48 | // lParam1 is an enum SND_DEVICE_ERROR which notifies the app how the device was 49 | // being accessed when the failure occurred. 50 | // 51 | // lParam2 is the error returned from the sound device call. 52 | // 53 | 54 | #endif // __AUDEVCOD__ 55 | -------------------------------------------------------------------------------- /Include/EERIE_AVI.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef EERIE_AVI_H 26 | #define EERIE_AVI_H 27 | 28 | #include 29 | #include 30 | 31 | bool LaunchAVI(HWND hWnd, char * dest); 32 | 33 | #endif -------------------------------------------------------------------------------- /DANAE_Debugger/ARX_SCRIPT_DEBUGGER.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: ARX_SCRIPT_DEBUGGER - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating command line "rc.exe /l 0x40c /fo"Debug/SCRIPT_DEBUGGER.res" /d "_DEBUG" "C:\_danae\DANAE_Debugger\SCRIPT_DEBUGGER.rc"" 10 | Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP15D.tmp" with contents 11 | [ 12 | /nologo /Zp1 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ARX_SCRIPT_DEBUGGER_EXPORTS" /D "APIDLL" /FR"Debug/" /Fp"Debug/ARX_SCRIPT_DEBUGGER.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 13 | "C:\_danae\DANAE_Debugger\SCRIPT_DEBUGGER_Dialog.cpp" 14 | ] 15 | Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP15D.tmp" 16 | Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP15E.tmp" with contents 17 | [ 18 | kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib /nologo /dll /incremental:yes /pdb:"Debug/ARX_SCRIPT_DEBUGGER.pdb" /debug /machine:I386 /def:".\SCRIPT_DEBUGGER.def" /out:"../Danae/Debug/ARX_SCRIPT_DEBUGGER.dll" /implib:"Debug/ARX_SCRIPT_DEBUGGER.lib" /pdbtype:sept 19 | .\Debug\SCRIPT_DEBUGGER_Dialog.obj 20 | .\Debug\SCRIPT_DEBUGGER.res 21 | ] 22 | Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP15E.tmp" 23 |

Output Window

24 | Compiling resources... 25 | Compiling... 26 | SCRIPT_DEBUGGER_Dialog.cpp 27 | Linking... 28 | Creating library Debug/ARX_SCRIPT_DEBUGGER.lib and object Debug/ARX_SCRIPT_DEBUGGER.exp 29 | 30 | 31 | 32 |

Results

33 | ARX_SCRIPT_DEBUGGER.dll - 0 error(s), 0 warning(s) 34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /Include/EERIEJpeg.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef EERIEJPEG_H 26 | #define EERIEJPEG_H 27 | 28 | #include "EERIETexture.h" 29 | 30 | WORD * LoadJpeg(char * Filename, long * width, long * height); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Include/OtherLibs/JCHUFF.H: -------------------------------------------------------------------------------- 1 | /* 2 | * jchuff.h 3 | * 4 | * Copyright (C) 1991-1997, Thomas G. Lane. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file contains declarations for Huffman entropy encoding routines 9 | * that are shared between the sequential encoder (jchuff.c) and the 10 | * progressive encoder (jcphuff.c). No other modules need to see these. 11 | */ 12 | 13 | /* The legal range of a DCT coefficient is 14 | * -1024 .. +1023 for 8-bit data; 15 | * -16384 .. +16383 for 12-bit data. 16 | * Hence the magnitude should always fit in 10 or 14 bits respectively. 17 | */ 18 | 19 | #if BITS_IN_JSAMPLE == 8 20 | #define MAX_COEF_BITS 10 21 | #else 22 | #define MAX_COEF_BITS 14 23 | #endif 24 | 25 | /* Derived data constructed for each Huffman table */ 26 | 27 | typedef struct 28 | { 29 | unsigned int ehufco[256]; /* code for each symbol */ 30 | char ehufsi[256]; /* length of code for each symbol */ 31 | /* If no code has been allocated for a symbol S, ehufsi[S] contains 0 */ 32 | } c_derived_tbl; 33 | 34 | /* Short forms of external names for systems with brain-damaged linkers. */ 35 | 36 | #ifdef NEED_SHORT_EXTERNAL_NAMES 37 | #define jpeg_make_c_derived_tbl jMkCDerived 38 | #define jpeg_gen_optimal_table jGenOptTbl 39 | #endif /* NEED_SHORT_EXTERNAL_NAMES */ 40 | 41 | /* Expand a Huffman table definition into the derived format */ 42 | EXTERN(void) jpeg_make_c_derived_tbl 43 | JPP((j_compress_ptr cinfo, boolean isDC, int tblno, 44 | c_derived_tbl ** pdtbl)); 45 | 46 | /* Generate an optimal table definition given the specified counts */ 47 | EXTERN(void) jpeg_gen_optimal_table 48 | JPP((j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[])); 49 | -------------------------------------------------------------------------------- /Include/DANAE_Debugger.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef DANAE_DEBUGGER_H 26 | #define DANAE_DEBUGGER_H 27 | 28 | #include 29 | 30 | void DANAE_DEBUGGER_Launch(HWND hWnd); 31 | void DANAE_DEBUGGER_Update(); 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /Athena/Athena_Track.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_TRACK_H__ 26 | #define __ATHENA_TRACK_H__ 27 | 28 | #include 29 | #include "Athena_Global.h" 30 | 31 | namespace ATHENA 32 | { 33 | 34 | }//ATHENA:: 35 | 36 | #endif//__ATHENA_TRACK_H__ -------------------------------------------------------------------------------- /Include/HERMES_pack_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef _EVE_TYPES 26 | #define _EVE_TYPES 27 | 28 | //base 29 | typedef unsigned char EVE_U8; 30 | typedef char EVE_8; 31 | typedef unsigned int EVE_U32; 32 | typedef signed int EVE_S32; 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /DANAE/Arx_Config.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_CONFIG_H 26 | #define ARX_CONFIG_H 27 | 28 | #include 29 | 30 | /*#ifndef APIDLL 31 | #define APIFUNC __declspec(dllimport) WINAPI 32 | #else 33 | #define APIFUNC __declspec(dllexport) WINAPI 34 | #endif 35 | */ 36 | 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /DANAE/ARX_HWTransform.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_HWTRANSFORM 26 | #define ARX_HWTRANSFORM 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace std; 34 | 35 | #define ARX_FVF_BKG (D3DFVF_XYZ|D3DFVF_DIFFUSE|D3DFVF_TEX1|D3DFVF_TEXTUREFORMAT2) 36 | 37 | void ARX_HWTransform_Init(LPDIRECT3D7 _pDirect3D); 38 | void ARX_HWTransform_Kill(); 39 | void ARX_HWTransform_Render(); 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /DANAE/ARX_ViewImage.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include "EERIETexture.h" 31 | 32 | using namespace std; 33 | 34 | class ViewImage 35 | { 36 | public: 37 | vector vListImage; 38 | WIN32_FIND_DATA w32fdata; 39 | TextureContainer * pTexCurr; 40 | 41 | public: 42 | ViewImage(char *, char *); 43 | ~ViewImage(); 44 | 45 | void DrawAllImage(); 46 | }; 47 | 48 | void StartImageDemo(); 49 | -------------------------------------------------------------------------------- /Athena/Athena_DLL.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include 26 | 27 | /////////////////////////////////////////////////////////////////////////////// 28 | // // 29 | // Athena DLL entry point // 30 | // // 31 | /////////////////////////////////////////////////////////////////////////////// 32 | 33 | //PABO 34 | int ShowError(char *, char *, long) 35 | { 36 | return 0; 37 | } 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Include/ARX_Cedric.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_CEDRIC_H 26 | #define ARX_CEDRIC_H 27 | #include "danae.h" 28 | 29 | 30 | #define CEDRIC 1 31 | #define REFERENCE_FPS (20.0f) 32 | #define ANIMQUATTYPE_FIRST_PERSON 2 33 | #define ANIMQUATTYPE_NO_RENDER 4 34 | #define MIPMESH_START 380.f 35 | #define MIPMESH_DIV DIV190 36 | 37 | #if CEDRIC 38 | extern void Cedric_AnimateDrawEntity(LPDIRECT3DDEVICE7 pd3dDevice, EERIE_3DOBJ * eobj, 39 | ANIM_USE * animuse, EERIE_3D * angle, EERIE_3D * pos, 40 | INTERACTIVE_OBJ * io, D3DCOLOR col, long typ); 41 | 42 | #endif 43 | #endif -------------------------------------------------------------------------------- /Include/Minos_Common.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __MINOS_COMMON_H__ 26 | #define __MINOS_COMMON_H__ 27 | 28 | #define __MINOS_COMMON_VERSION__ "0000" 29 | 30 | #include 31 | 32 | namespace MINOS 33 | { 34 | typedef void Void; 35 | typedef unsigned char UBool; 36 | typedef signed char SBool; 37 | typedef unsigned short UWord; 38 | typedef signed short SWord; 39 | typedef unsigned long ULong; 40 | typedef signed long SLong; 41 | typedef unsigned long UInt; 42 | typedef float Float; 43 | 44 | const UBool UFALSE(0); 45 | const UBool UTRUE(1); 46 | const SBool SFALSE(-1); 47 | const SBool STRUE(0); 48 | 49 | }//MINOS:: 50 | 51 | #endif//__MINOS_COMMON_H__ 52 | -------------------------------------------------------------------------------- /Athena/Athena_FileIO.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_FILE_H__ 26 | #define __ATHENA_FILE_H__ 27 | 28 | #include 29 | #include 30 | 31 | namespace ATHENA 32 | { 33 | 34 | extern FILE *(* FileOpen)(const char * name, const char * mode); 35 | extern int (* FileClose)(FILE * file); 36 | extern size_t (* FileRead)(void * buffer, size_t size, size_t count, FILE * file); 37 | extern size_t (* FileWrite)(const void * buffer, size_t size, size_t count, FILE * file); 38 | extern int (* FileSeek)(FILE * file, long offset, int origin); 39 | extern long(* FileTell)(FILE * file); 40 | 41 | aalVoid FileIOInit(); 42 | aalVoid AddPack(const char * name); 43 | 44 | }//ATHENA:: 45 | 46 | #endif//__ATHENA_FILE_H__ 47 | -------------------------------------------------------------------------------- /Include/HERMES_hachage.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef HACHAGE_H 26 | #define HACHAGE_H 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | typedef struct 35 | { 36 | char *lpszName; 37 | void *pMem; 38 | }T_HACHAGE_DATAS; 39 | 40 | class CHachageString 41 | { 42 | private: 43 | int iSize; 44 | int iMask; 45 | int iFill; 46 | T_HACHAGE_DATAS *tTab; 47 | public: 48 | int iNbCollisions; 49 | int iNbNoInsert; 50 | private: 51 | int FuncH1(int); 52 | int FuncH2(int); 53 | int GetKey(char*); 54 | public: 55 | CHachageString(int _iSize=256); 56 | ~CHachageString(); 57 | 58 | bool AddString(char*,void *_pMem=NULL); 59 | 60 | void* GetPtrWithString(char *_lpszText); 61 | }; 62 | 63 | #endif 64 | -------------------------------------------------------------------------------- /DANAE/ARX_SnapShot.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_SNAPSHOT_H 26 | #define ARX_SNAPSHOT_H 27 | 28 | #include 29 | 30 | class SnapShot 31 | { 32 | public: 33 | char * pName; 34 | unsigned long ulNum; 35 | public: 36 | SnapShot(char *, char *, bool _bReplace = false); 37 | ~SnapShot(); 38 | 39 | bool GetSnapShot(); 40 | bool GetSnapShotDim(int, int); 41 | }; 42 | 43 | //----------------------------------------------------------------------------- 44 | typedef struct 45 | { 46 | long imgsec; 47 | long xsize; 48 | long ysize; 49 | long bits; 50 | char filenames[256]; 51 | char path[512]; 52 | long flag; 53 | } SNAPSHOTINFO; 54 | 55 | extern SNAPSHOTINFO snapshotdata; 56 | 57 | void InitSnapShot(char *, char *); 58 | void GetSnapShot(); 59 | void FreeSnapShot(); 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /DANAE/ARX_HWTransform.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include 26 | #define DIRECTINPUT_VERSION 0x0700 27 | #include 28 | #include "ARX_HWTransform.h" 29 | #include "EERIEApp.h" 30 | #include "EERIETypes.h" 31 | #include "EERIEMath.h" 32 | #include "EERIEDraw.h" 33 | #include "EERIEUtil.h" 34 | #include "ARX_menu2.h" 35 | 36 | //----------------------------------------------------------------------------- 37 | 38 | 39 | //----------------------------------------------------------------------------- 40 | void ARX_HWTransform_Init(LPDIRECT3D7 _pDirect3D) 41 | { 42 | 43 | } 44 | 45 | //----------------------------------------------------------------------------- 46 | void ARX_HWTransform_Kill() 47 | { 48 | } 49 | 50 | //----------------------------------------------------------------------------- 51 | void ARX_HWTransform_Render() 52 | { 53 | } 54 | -------------------------------------------------------------------------------- /Include/ARX_Missile.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | /////////////////////////////////////////////////////////////////////////////// 26 | // 27 | // ARX_Missile.h 28 | // ARX Missile Management 29 | // 30 | // Copyright (c) 1999-2000 ARKANE Studios SA. All rights reserved 31 | // 32 | /////////////////////////////////////////////////////////////////////////////// 33 | #ifndef ARX_MISSILE_H 34 | #define ARX_MISSILE_H 35 | 36 | #include 37 | 38 | //----------------------------------------------------------------------------- 39 | enum ARX_SPELLS_MISSILE_TYPE 40 | { 41 | MISSILE_NONE = 0, 42 | MISSILE_FIREBALL = 1 43 | }; 44 | 45 | //----------------------------------------------------------------------------- 46 | void ARX_MISSILES_Spawn(INTERACTIVE_OBJ * io, const long & type, const EERIE_3D * startpos, const EERIE_3D * targetpos); 47 | void ARX_MISSILES_Update(); 48 | void ARX_MISSILES_ClearAll(); 49 | 50 | #endif//ARX_MISSILE_H 51 | -------------------------------------------------------------------------------- /Athena/Athena_Stream.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include "Athena_Global.h" 26 | #include "Athena_Stream.h" 27 | #include "Athena_Stream_WAV.h" 28 | //#include "Athena_Stream_ASF.h" 29 | #include "Athena_FileIO.h" 30 | 31 | #define _CRTDBG_MAP_ALLOC 32 | #include 33 | 34 | namespace ATHENA 35 | { 36 | 37 | Stream * CreateStream(const char * name) 38 | { 39 | FILE * file; 40 | Stream * stream = NULL; 41 | 42 | file = OpenResource(name, sample_path); 43 | 44 | if (!file) return NULL; 45 | 46 | FileSeek(file, 0, SEEK_SET); 47 | stream = new StreamWAV; 48 | 49 | if (stream->SetStream(file)) delete stream; 50 | else return stream; 51 | 52 | FileClose(file); 53 | 54 | return NULL; 55 | } 56 | 57 | aalError DeleteStream(Stream *&stream) 58 | { 59 | FILE * file; 60 | 61 | stream->GetStream(file); 62 | FileClose(file); 63 | delete stream; 64 | stream = NULL; 65 | 66 | return AAL_OK; 67 | } 68 | 69 | }//ATHENA:: 70 | -------------------------------------------------------------------------------- /Athena/Athena_Resource.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include 26 | #include "Athena_Resource.h" 27 | #include "Athena_FileIO.h" 28 | 29 | #define _CRTDBG_MAP_ALLOC 30 | #include 31 | 32 | namespace ATHENA 33 | { 34 | 35 | extern char * root_path; 36 | 37 | 38 | FILE * OpenResource(const char * name, const char * resource_path) 39 | { 40 | FILE * file = FileOpen(name, "rb"); 41 | char text[256]; 42 | 43 | if (!file && root_path) 44 | { 45 | strcpy(text, root_path); 46 | strcat(text, name); 47 | file = FileOpen(text, "rb"); 48 | } 49 | 50 | if (!file && resource_path) 51 | { 52 | strcpy(text, resource_path); 53 | strcat(text, name); 54 | file = FileOpen(text, "rb"); 55 | } 56 | 57 | if (!file && root_path && resource_path) 58 | { 59 | strcpy(text, root_path); 60 | strcat(text, resource_path); 61 | strcat(text, name); 62 | file = FileOpen(text, "rb"); 63 | } 64 | 65 | return file; 66 | } 67 | 68 | }//ATHENA:: 69 | -------------------------------------------------------------------------------- /Include/ARX_GlobalMods.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_GLOBALMODS_H 26 | #define ARX_GLOBALMODS_H 27 | 28 | #include "EERIETypes.h" 29 | 30 | //----------------------------------------------------------------------------- 31 | typedef struct // Warning !!! used for save 32 | { 33 | long flags; 34 | EERIE_RGB depthcolor; 35 | float zclip; 36 | char ambiance[128]; 37 | float ambiance_vol; 38 | float ambiance_maxvol; 39 | } GLOBAL_MODS; 40 | 41 | //----------------------------------------------------------------------------- 42 | #define GMOD_DCOLOR 1 43 | #define GMOD_ZCLIP 2 44 | #define GMOD_AMBIANCE 4 45 | #define GMOD_REVERB 8 46 | 47 | //----------------------------------------------------------------------------- 48 | extern GLOBAL_MODS current; 49 | extern GLOBAL_MODS desired; 50 | 51 | //----------------------------------------------------------------------------- 52 | void ARX_GLOBALMODS_Reset(); 53 | void ARX_GLOBALMODS_Apply(); 54 | void ARX_GLOBALMODS_Stack(); 55 | void ARX_GLOBALMODS_UnStack(); 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /EERIE/makefile: -------------------------------------------------------------------------------- 1 | proj=Eerieframe 2 | 3 | INCLUDE=$(INCLUDE);$(DXSDKROOT)\samples\multimedia\d3dim\include; 4 | 5 | !if "$(nodebug)" == "1" 6 | OBJ_DIR = Retail 7 | !else 8 | OBJ_DIR = Debug 9 | !endif 10 | 11 | !include "$(DXSDKROOT)\include\dxsdk.inc" 12 | 13 | mycflags= 14 | 15 | OBJ_LIST = $(OBJ_DIR)\$(proj).obj $(OBJ_DIR)\eerieenum.obj $(OBJ_DIR)\eeriemath.obj $(OBJ_DIR)\eerietextr.obj $(OBJ_DIR)\eerieutil.obj $(OBJ_DIR)\eerieapp.obj $(OBJ_DIR)\eeriefile.obj 16 | 17 | all: mkdir $(OBJ_DIR)\$(proj).lib copyfile 18 | 19 | $(OBJ_DIR)\$(proj).obj: $(proj).cpp 20 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\$(proj).obj $(proj).cpp 21 | 22 | $(OBJ_DIR)\eerieenum.obj: eerieenum.cpp 23 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eerieenum.obj eerieenum.cpp 24 | 25 | $(OBJ_DIR)\eeriefile.obj: eeriefile.cpp 26 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eeriefile.obj eeriefile.cpp 27 | 28 | $(OBJ_DIR)\eeriemath.obj: eeriemath.cpp 29 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eeriemath.obj eeriemath.cpp 30 | 31 | $(OBJ_DIR)\eerietextr.obj: eerietextr.cpp 32 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eerietextr.obj eerietextr.cpp 33 | 34 | $(OBJ_DIR)\eerieutil.obj: eerieutil.cpp 35 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eerieutil.obj eerieutil.cpp 36 | 37 | $(OBJ_DIR)\eerieapp.obj: eerieapp.cpp 38 | $(cc) $(cdebug) $(cflags) $(mycflags) $(outobj)$(OBJ_DIR)\eerieapp.obj eerieapp.cpp 39 | 40 | $(OBJ_DIR)\$(proj).lib: $(OBJ_LIST) 41 | $(bldlib) $(libflags) $(borlib)$(OBJ_DIR)\$(proj).obj $(borlib)$(OBJ_DIR)\eerieenum.obj $(borlib)$(OBJ_DIR)\eeriemath.obj $(borlib)$(OBJ_DIR)\eerietextr.obj $(borlib)$(OBJ_DIR)\eerieutil.obj $(borlib)$(OBJ_DIR)\eerieapp.obj $(borlib)$(OBJ_DIR)\eeriefile.obj 42 | 43 | !IFDEF BORLAND 44 | copyfile: 45 | copy /Y $(OBJ_DIR)\$(proj).lib $(OBJ_DIR)\..\..\..\lib\Borland 46 | 47 | mkdir: 48 | @if not exist $(OBJ_DIR)\NUL md $(OBJ_DIR) 49 | @if not exist $(OBJ_DIR)\..\..\..\lib md $(OBJ_DIR)\..\..\..\lib 50 | @if not exist $(OBJ_DIR)\..\..\..\lib\Borland md $(OBJ_DIR)\..\..\..\lib\Borland 51 | !ELSE 52 | !IFDEF WATCOM 53 | copyfile: 54 | copy /Y $(OBJ_DIR)\$(proj).lib $(OBJ_DIR)\..\..\..\lib\Watcom 55 | 56 | mkdir: 57 | @if not exist $(OBJ_DIR)\NUL md $(OBJ_DIR) 58 | @if not exist $(OBJ_DIR)\..\..\..\lib md $(OBJ_DIR)\..\..\..\lib 59 | @if not exist $(OBJ_DIR)\..\..\..\lib\Watcom md $(OBJ_DIR)\..\..\..\lib\Watcom 60 | !ELSE 61 | copyfile: 62 | copy /Y $(OBJ_DIR)\$(proj).lib $(OBJ_DIR)\..\..\..\lib\ 63 | 64 | mkdir: 65 | @if not exist $(OBJ_DIR)\NUL md $(OBJ_DIR) 66 | @if not exist $(OBJ_DIR)\..\..\..\lib md $(OBJ_DIR)\..\..\..\lib 67 | !ENDIF 68 | !ENDIF 69 | 70 | # Rules for cleaning out those old files 71 | clean: 72 | -@echo y | del Retail 73 | -@echo y | del Debug 74 | -@rd Retail 75 | -@rd Debug 76 | -------------------------------------------------------------------------------- /Athena/Athena_Codec.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_CODEC_H__ 26 | #define __ATHENA_CODEC_H__ 27 | 28 | #include 29 | #include 30 | 31 | namespace ATHENA 32 | { 33 | 34 | /////////////////////////////////////////////////////////////////////////////// 35 | // // 36 | // Class ATHENA::Codec // 37 | // // 38 | /////////////////////////////////////////////////////////////////////////////// 39 | class Codec 40 | { 41 | public: 42 | // Destructor 43 | virtual ~Codec() {}; 44 | // Setup 45 | virtual aalError SetHeader(aalVoid * header) = 0; 46 | virtual aalError SetStream(FILE * stream) = 0; 47 | virtual aalError SetPosition(const aalULong & position) = 0; 48 | // Status 49 | virtual aalError GetHeader(aalVoid *&header) = 0; 50 | virtual aalError GetStream(FILE *&stream) = 0; 51 | virtual aalError GetPosition(aalULong & position) = 0; 52 | // File I/O 53 | virtual aalError Read(aalVoid * buffer, const aalULong & to_read, aalULong & read) = 0; 54 | virtual aalError Write(aalVoid * buffer, const aalULong & to_write, aalULong & write) = 0; 55 | }; 56 | 57 | }//ATHENA:: 58 | 59 | #endif//__ATHENA_CODEC_H__ 60 | -------------------------------------------------------------------------------- /Include/HERMES_pack.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef EVE_SAVE 26 | #define EVE_SAVE 27 | 28 | #include 29 | #include 30 | #include "implode.h" 31 | #include "HERMES_pack_types.h" 32 | #include "HERMES_hachage.h" 33 | 34 | #define PAK 1 35 | 36 | class EVE_TFILE{ 37 | public: 38 | EVE_U8 *name; 39 | EVE_U32 taille; 40 | EVE_TFILE *fprev,*fnext; 41 | EVE_U32 param; 42 | EVE_U32 param2; 43 | EVE_U32 param3; 44 | public: 45 | EVE_TFILE(EVE_U8 *dir=NULL,EVE_U8 *n=NULL); 46 | ~EVE_TFILE(); 47 | }; 48 | 49 | class EVE_REPERTOIRE{ 50 | public: 51 | EVE_U8 *name; 52 | EVE_U32 nbsousreps; 53 | EVE_U32 nbfiles; 54 | EVE_REPERTOIRE *parent; 55 | EVE_REPERTOIRE *fils; 56 | EVE_REPERTOIRE *brotherprev,*brothernext; 57 | EVE_TFILE *fichiers; 58 | CHachageString *pHachage; 59 | EVE_U32 param; 60 | public: 61 | EVE_REPERTOIRE(EVE_REPERTOIRE *p,EVE_U8 *n); 62 | ~EVE_REPERTOIRE(); 63 | 64 | void AddSousRepertoire(EVE_U8 *sname); 65 | BOOL DelSousRepertoire(EVE_U8 *sname); 66 | EVE_TFILE* AddFileToSousRepertoire(EVE_U8 *sname,EVE_U8 *name); 67 | 68 | EVE_REPERTOIRE * GetSousRepertoire(EVE_U8 *sname); 69 | 70 | void ConstructFullNameRepertoire(char*); 71 | friend void Kill(EVE_REPERTOIRE *r); 72 | }; 73 | 74 | EVE_U8 * EVEF_GetDirName(EVE_U8 *dirplusname); 75 | EVE_U8 * EVEF_GetFileName(EVE_U8 *dirplusname); 76 | #endif 77 | -------------------------------------------------------------------------------- /Include/ARX_CParticles.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | //----------------------------------------------------------------------------- 26 | #ifndef ARX_CPARTICLES_H 27 | #define ARX_CPARTICLES_H 28 | 29 | #include "eerietypes.h" 30 | #include 31 | using namespace std; 32 | 33 | #include "ARX_CParticleParams.h" 34 | #include "ARX_CParticleSystem.h" 35 | //#include "ARX_CParticleContainer.h" 36 | 37 | //class CParticleContainer; 38 | class CParticleSystem; 39 | 40 | //----------------------------------------------------------------------------- 41 | //typedef int EERIE_3D; 42 | typedef EERIE_3D Point3; 43 | 44 | 45 | class CParticle; 46 | class CParticleSystem; 47 | class CParticleParams; 48 | 49 | //----------------------------------------------------------------------------- 50 | class CParticleManager 51 | { 52 | private: 53 | //CParticleContainer ParticleContainer; 54 | list listParticleSystem; 55 | 56 | public: 57 | CParticleManager(); 58 | ~CParticleManager(); 59 | 60 | public: 61 | 62 | 63 | 64 | 65 | 66 | public: 67 | bool Init(); 68 | void Shutdown(); 69 | void Clear(); 70 | 71 | 72 | 73 | void AddSystem(CParticleSystem *); 74 | 75 | bool IsAlive(CParticleSystem); 76 | void Update(long alTime); 77 | void Render(LPDIRECT3DDEVICE7 _lpD3DDevice); 78 | 79 | 80 | //flag post prod/genre filtre 81 | }; 82 | 83 | #endif 84 | -------------------------------------------------------------------------------- /Athena/Athena_Mixer.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_MIXER_H__ 26 | #define __ATHENA_MIXER_H__ 27 | 28 | #include 29 | #include "Athena_Resource.h" 30 | 31 | namespace ATHENA 32 | { 33 | 34 | /////////////////////////////////////////////////////////////////////////////// 35 | // // 36 | // Class ATHENA::Mixer // 37 | // // 38 | /////////////////////////////////////////////////////////////////////////////// 39 | class Mixer 40 | { 41 | public: 42 | 43 | //Constructor and destructor 44 | Mixer(); 45 | ~Mixer(); 46 | 47 | //Setup 48 | aalError SetName(const char * name); 49 | aalError SetVolume(const aalFloat & volume); 50 | aalError SetParent(const Mixer * mixer); 51 | 52 | //Status 53 | aalError GetVolume(aalFloat & volume) const; 54 | aalError GetParent(Mixer *&mixer) const; 55 | aalUBool IsPaused() const; 56 | 57 | //Control 58 | aalError Stop(); 59 | aalError Pause(); 60 | aalError Resume(); 61 | 62 | //Data 63 | char * name; 64 | aalULong status; 65 | aalULong flags; 66 | aalFloat volume; 67 | aalFloat pitch; 68 | aalFloat pan; 69 | const Mixer * parent; 70 | }; 71 | 72 | }//ATHENA:: 73 | 74 | #endif//__ATHENA_MIXER_H__ 75 | -------------------------------------------------------------------------------- /Include/ARX_carte.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef ARX_CARTE_H 26 | #define ARX_CARTE_H 27 | 28 | #include "EERIEPoly.h" 29 | #include "EERIEApp.h" 30 | 31 | 32 | class C_ARX_Carte 33 | { 34 | private: 35 | LPDIRECT3DDEVICE7 device; 36 | EERIE_BACKGROUND * background; 37 | int width; 38 | int height; 39 | int nbpixels; 40 | int widthrender; 41 | int heightrender; 42 | float posx; 43 | float posz; 44 | float minx, minz; 45 | float maxx, maxz; 46 | float ecx, ecz; 47 | 48 | LPDIRECTDRAWSURFACE7 surfacetemp; 49 | 50 | public: 51 | C_ARX_Carte(LPDIRECT3DDEVICE7 d = NULL, EERIE_BACKGROUND * bkg = NULL, int nbpixels = 10, int wrender = 640, int hrender = 480); 52 | ~C_ARX_Carte() {}; 53 | BOOL Render(void); 54 | void MoveMap(float newposx, float newposy); 55 | void IncMoveMap(float incx, float incz); 56 | 57 | BOOL CreateSurfaceTemp(CD3DFramework7 * framework); 58 | BOOL BltOnSurfTemp(CD3DFramework7 * framework, int x, int y, int dw, int dh, int largs, int largh); 59 | BOOL BuildMap(CD3DFramework7 * framework, char * name); 60 | 61 | }; 62 | 63 | //----------------------------------------------------------------------------- 64 | extern C_ARX_Carte * ARXCarte; 65 | extern int iCreateMap; 66 | 67 | //----------------------------------------------------------------------------- 68 | BOOL NeedMapCreation(); 69 | void DANAE_Manage_CreateMap(); 70 | 71 | #endif ARX_CARTE_H 72 | -------------------------------------------------------------------------------- /Athena/Athena_FileIO.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include "Athena_FileIO.h" 26 | #include "Athena_Global.h" 27 | #include 28 | 29 | #define _CRTDBG_MAP_ALLOC 30 | #include 31 | 32 | extern long CURRENT_LOADMODE; 33 | 34 | namespace ATHENA 35 | { 36 | 37 | FILE *(* FileOpen)(const char * name, const char * mode) = fopen; 38 | int (* FileClose)(FILE * file) = fclose; 39 | size_t (* FileRead)(void * buffer, size_t size, size_t count, FILE * file) = fread; 40 | size_t (* FileWrite)(const void * buffer, size_t size, size_t count, FILE * file) = fwrite; 41 | int (* FileSeek)(FILE * file, long offset, int origin) = fseek; 42 | long(* FileTell)(FILE * file) = ftell; 43 | 44 | aalVoid FileIOInit() 45 | { 46 | if (global_status & AAL_FLAG_PACKEDRESOURCES) 47 | { 48 | CURRENT_LOADMODE = LOAD_PACK; 49 | 50 | FileOpen = PAK_fopen; 51 | FileClose = PAK_fclose; 52 | FileRead = PAK_fread; 53 | FileWrite = ::fwrite; 54 | FileSeek = PAK_fseek; 55 | FileTell = PAK_ftell; 56 | } 57 | else 58 | { 59 | CURRENT_LOADMODE = LOAD_TRUEFILE; 60 | 61 | FileOpen = ::fopen; 62 | FileClose = ::fclose; 63 | FileRead = ::fread; 64 | FileWrite = ::fwrite; 65 | FileSeek = ::fseek; 66 | FileTell = ::ftell; 67 | } 68 | } 69 | 70 | aalVoid AddPack(const char * name) 71 | { 72 | PAK_SetLoadMode(global_status & AAL_FLAG_PACKEDRESOURCES ? LOAD_PACK : LOAD_TRUEFILE, 73 | (char *)name); 74 | } 75 | 76 | }//ATHENA:: -------------------------------------------------------------------------------- /DANAE/ARX_CParticle.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | //----------------------------------------------------------------------------- 26 | #ifndef ARX_CPARTICLE_H 27 | #define ARX_CPARTICLE_H 28 | 29 | #define _CRTDBG_MAP_ALLOC 30 | #include 31 | 32 | #include "eerietypes.h" 33 | #include 34 | using namespace std; 35 | 36 | //----------------------------------------------------------------------------- 37 | typedef EERIE_3D Point3; 38 | 39 | 40 | //----------------------------------------------------------------------------- 41 | class CParticle 42 | { 43 | public: 44 | Point3 p3Pos; 45 | Point3 p3OldPos; 46 | Point3 p3Velocity; 47 | 48 | // time 49 | float fOneOnTTL; 50 | float fTimeSec; 51 | long ulTime; // Age 52 | long ulTTL; // Time to Live 53 | 54 | // size 55 | float fSize; 56 | float fSizeStart; 57 | float fSizeEnd; 58 | 59 | // color 60 | float fColorStart[4]; 61 | float fColorEnd[4]; 62 | float fColor[4]; 63 | unsigned long ulColor; 64 | 65 | // rotation 66 | int iRot; 67 | float fRotStart; 68 | float fRotation; 69 | 70 | // tex infos 71 | int iTexTime; 72 | int iTexNum; 73 | 74 | public: 75 | CParticle(); 76 | ~CParticle(); 77 | 78 | public: 79 | void Create(); 80 | void Create(Point3 _p3Pos, long, unsigned long, float); 81 | void Regen(); 82 | void Update(long); 83 | bool isAlive() 84 | { 85 | return (ulTime < ulTTL); 86 | }; 87 | void Validate(); 88 | }; 89 | 90 | #endif 91 | -------------------------------------------------------------------------------- /Include/HERMES_ClusterSave.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | #define PAK_VERSION ((1<<16)|0) 31 | 32 | #define MAX_FILES 1024 33 | #define EMPTY_CLUSTER "___EMPTY___" 34 | 35 | class CCluster{ 36 | public: 37 | int iTaille; 38 | int iNext; 39 | CCluster *pNext; 40 | public: 41 | CCluster(int _iTaille=0); 42 | ~CCluster(); 43 | }; 44 | 45 | class CInfoFile{ 46 | public: 47 | char *pcFileName; 48 | int iTaille; 49 | 50 | int iNbCluster; 51 | CCluster FirstCluster; 52 | CCluster* pLastCluster; 53 | public: 54 | void Set(char *_pcFileName,int _iTaille); 55 | void KillAll(); 56 | }; 57 | 58 | 59 | class CHachageString; 60 | 61 | class CSaveBlock{ 62 | private: 63 | 64 | FILE *hFile; 65 | int iTailleBlock; 66 | int iNbFiles; 67 | bool bReWrite; 68 | CInfoFile * sInfoFile; 69 | bool bFirst; 70 | int iVersion; 71 | bool ExpandNbFiles(); 72 | CHachageString* pHachage; 73 | 74 | public: 75 | char *pcBlockName; 76 | CSaveBlock(char *_pcBlockName=NULL); 77 | ~CSaveBlock(); 78 | 79 | bool Defrag(); 80 | bool BeginSave(bool _bCont,bool _bReWrite); 81 | bool EndSave(void); 82 | bool Save(char *_pcFileName,void *_pDatas,int _iSize); 83 | 84 | bool BeginRead(void); 85 | void EndRead(void); 86 | bool Read(char *_pcFileName,char *_pPtr); 87 | int GetSize(char *_pcFileName); 88 | bool ExistFile(char *_pcFileName); 89 | void ResetFAT(void); 90 | }; 91 | -------------------------------------------------------------------------------- /Include/EERIEAnchors.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | /////////////////////////////////////////////////////////////////////////////// 26 | // EERIEAnchors 27 | /////////////////////////////////////////////////////////////////////////////// 28 | // 29 | // Description: 30 | // Anchors funcs 31 | // 32 | // Updates: (date) (person) (update) 33 | // 34 | // Code: Cyril Meynier 35 | // 36 | // Copyright (c) 1999-2001 ARKANE Studios SA. All rights reserved 37 | /////////////////////////////////////////////////////////////////////////////// 38 | #ifndef EERIEANCHORS_H 39 | #define EERIEANCHORS_H 40 | #include 41 | #include "EERIEPoly.h" 42 | #include "EERIEObject.h" 43 | 44 | //----------------------------------------------------------------------------- 45 | void AnchorData_ClearAll(EERIE_BACKGROUND * eb); 46 | bool CylinderAboveInvalidZone(EERIE_CYLINDER * cyl); 47 | 48 | #define MUST_BE_BIG 1 49 | 50 | bool DirectAddAnchor(EERIE_BACKGROUND * eb, EERIE_BKG_INFO * eg, EERIE_3D * pos, long flags); 51 | bool AddAnchor(EERIE_BACKGROUND * eb, EERIE_BKG_INFO * eg, EERIE_3D * pos, long flags); 52 | void AddAnchorLink(EERIE_BACKGROUND * eb, long anchor, long linked); 53 | void AnchorData_Create_Links(EERIE_BACKGROUND * eb); 54 | void TOKEEP_AnchorData_Create_Phase_II(EERIE_BACKGROUND * eb); 55 | void AnchorData_Create_Phase_II(EERIE_BACKGROUND * eb); 56 | void AnchorData_Create(EERIE_BACKGROUND * eb); 57 | 58 | long AnchorData_GetNearest(EERIE_3D * pos, EERIE_CYLINDER * cyl); 59 | long AnchorData_GetNearest_2(float beta, EERIE_3D * pos, EERIE_CYLINDER * cyl); 60 | long AnchorData_GetNearest_Except(EERIE_3D * pos, EERIE_CYLINDER * cyl, long except); 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /Athena/Athena_Sample.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_SAMPLE_H__ 26 | #define __ATHENA_SAMPLE_H__ 27 | 28 | #include 29 | #include "Athena_Resource.h" 30 | 31 | namespace ATHENA 32 | { 33 | 34 | typedef struct 35 | { 36 | aalSampleCallback func; 37 | aalVoid * data; 38 | aalULong time; 39 | aalULong done; 40 | } Callback; 41 | 42 | /////////////////////////////////////////////////////////////////////////////// 43 | // // 44 | // Class ATHENA::Sample // 45 | // // 46 | /////////////////////////////////////////////////////////////////////////////// 47 | class Sample : public ResourceHandle 48 | { 49 | public: 50 | //Constructor and destructor 51 | Sample(); 52 | ~Sample(); 53 | 54 | //File I/O 55 | aalError Load(const char * name); 56 | 57 | //Setup 58 | aalError SetCallback(aalSampleCallback func, aalVoid * data, const aalULong & time, const aalUnit & unit = AAL_UNIT_MS); 59 | 60 | //Status 61 | aalError GetName(char * name, const aalULong & max_char = AAL_DEFAULT_STRINGSIZE); 62 | aalError GetLength(aalULong & length, const aalUnit & unit = AAL_UNIT_MS); 63 | 64 | //Data 65 | char * name; 66 | aalULong length; 67 | aalFormat format; 68 | aalVoid * data; //User data 69 | aalULong callb_c; //User callback count 70 | Callback * callb; //User callback list 71 | // long loaded; 72 | }; 73 | 74 | }//ATHENA:: 75 | 76 | #endif//__ATHENA_SAMPLE_H__ 77 | -------------------------------------------------------------------------------- /Athena/Athena_Environment.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_ENVIRONMENT_H__ 26 | #define __ATHENA_ENVIRONMENT_H__ 27 | 28 | #include 29 | #include 30 | #include "Athena_Resource.h" 31 | 32 | namespace ATHENA 33 | { 34 | 35 | /////////////////////////////////////////////////////////////////////////////// 36 | // // 37 | // Class ATHENA::Environment // 38 | // // 39 | /////////////////////////////////////////////////////////////////////////////// 40 | class Environment 41 | { 42 | public: 43 | // Constructor and destructor // 44 | Environment(); 45 | ~Environment(); 46 | 47 | // File input/output // 48 | aalError Load(const char * name); 49 | 50 | // Setup // 51 | aalError SetName(const char * name); 52 | aalError SetRolloffFactor(const aalFloat & factor); 53 | 54 | // Data // 55 | char * name; 56 | aalFloat size; 57 | aalFloat rolloff; 58 | aalFloat diffusion; 59 | aalFloat absorption; 60 | aalFloat reflect_volume; 61 | aalFloat reflect_delay; 62 | aalFloat reverb_volume; 63 | aalFloat reverb_delay; 64 | aalFloat reverb_decay; 65 | aalFloat reverb_hf_decay; 66 | aalEnvironmentCallback callback; 67 | LPKSPROPERTYSET lpksps; 68 | }; 69 | 70 | }//ATHENA:: 71 | 72 | #endif//__ATHENA_ENVIRONMENT_H__ 73 | -------------------------------------------------------------------------------- /Athena/Athena_Codec_RAW.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_CODEC_RAW_H__ 26 | #define __ATHENA_CODEC_RAW_H__ 27 | 28 | #include 29 | #include 30 | #include "Athena_Codec.h" 31 | 32 | namespace ATHENA 33 | { 34 | 35 | /////////////////////////////////////////////////////////////////////////////// 36 | // // 37 | // Class CodecRAW // 38 | // // 39 | /////////////////////////////////////////////////////////////////////////////// 40 | class CodecRAW : public Codec 41 | { 42 | public: 43 | // Constructor Destructor // 44 | CodecRAW(); 45 | ~CodecRAW(); 46 | // Setup // 47 | aalError SetHeader(aalVoid * header); 48 | aalError SetStream(FILE * stream); 49 | aalError SetPosition(const aalULong & position); 50 | // Status // 51 | aalError GetHeader(aalVoid *&header); 52 | aalError GetStream(FILE *&stream); 53 | aalError GetPosition(aalULong & position); 54 | // File I/O // 55 | aalError Read(aalVoid * buffer, const aalULong & to_read, aalULong & read); 56 | aalError Write(aalVoid * buffer, const aalULong & to_write, aalULong & write); 57 | private: 58 | // Data // 59 | aalVoid * header; 60 | FILE * stream; 61 | aalULong cursor; 62 | }; 63 | 64 | }//ATHENA:: 65 | 66 | #endif//__ATHENA_CODEC_RAW_H__ -------------------------------------------------------------------------------- /Include/OtherLibs/dshow.h: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // Copyright (C) 2000 Microsoft Corporation. All Right Reserved. 3 | // 4 | // File: dshow.h 5 | // Content: DirectShow top-level include file 6 | /////////////////////////////////////////////////////////////////////////// 7 | 8 | #ifndef __DSHOW_INCLUDED__ 9 | #define __DSHOW_INCLUDED__ 10 | 11 | /////////////////////////////////////////////////////////////////////////// 12 | // Set up constants & pragmas for the compiler 13 | /////////////////////////////////////////////////////////////////////////// 14 | #ifdef _MSC_VER 15 | // disable some level-4 warnings, use #pragma warning(enable:###) to re-enable 16 | #pragma warning(disable:4100) // warning C4100: unreferenced formal parameter 17 | #pragma warning(disable:4201) // warning C4201: nonstandard extension used : nameless struct/union 18 | #pragma warning(disable:4511) // warning C4511: copy constructor could not be generated 19 | #pragma warning(disable:4512) // warning C4512: assignment operator could not be generated 20 | #pragma warning(disable:4514) // warning C4514: "unreferenced inline function has been removed" 21 | 22 | #if _MSC_VER>=1100 23 | #define AM_NOVTABLE __declspec(novtable) 24 | #else 25 | #define AM_NOVTABLE 26 | #endif 27 | #endif // MSC_VER 28 | 29 | /////////////////////////////////////////////////////////////////////////// 30 | // Include standard Windows files 31 | /////////////////////////////////////////////////////////////////////////// 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | 38 | #ifndef NUMELMS 39 | #define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0])) 40 | #endif 41 | 42 | /////////////////////////////////////////////////////////////////////////// 43 | // Include DirectShow include files 44 | /////////////////////////////////////////////////////////////////////////// 45 | #include // Generated IDL header file for streams interfaces 46 | #include // ActiveMovie video interfaces and definitions 47 | #include // ActiveMovie audio interfaces and definitions 48 | #include // generated from control.odl 49 | #include // event code definitions 50 | #include // declaration of type GUIDs and well-known clsids 51 | #include // HRESULT status and error definitions 52 | #include // External device control interface defines 53 | #include // audio filter device error event codes 54 | #include // DVD error event codes 55 | 56 | /////////////////////////////////////////////////////////////////////////// 57 | // Define OLE Automation constants 58 | /////////////////////////////////////////////////////////////////////////// 59 | #ifndef OATRUE 60 | #define OATRUE (-1) 61 | #endif // OATRUE 62 | #ifndef OAFALSE 63 | #define OAFALSE (0) 64 | #endif // OAFALSE 65 | 66 | /////////////////////////////////////////////////////////////////////////// 67 | // Define Win64 interfaces if not already defined 68 | /////////////////////////////////////////////////////////////////////////// 69 | 70 | // InterlockedExchangePointer 71 | #ifndef InterlockedExchangePointer 72 | #define InterlockedExchangePointer(Target, Value) \ 73 | (PVOID)InterlockedExchange((PLONG)(Target), (LONG)(Value)) 74 | #endif 75 | 76 | 77 | #endif // __DSHOW_INCLUDED__ 78 | -------------------------------------------------------------------------------- /Athena/Athena_Stream.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_STREAM_H__ 26 | #define __ATHENA_STREAM_H__ 27 | 28 | #include 29 | #include 30 | #include "Athena_Codec.h" 31 | 32 | namespace ATHENA 33 | { 34 | 35 | /////////////////////////////////////////////////////////////////////////////// 36 | // // 37 | // Class ATHENA::Stream // 38 | // // 39 | /////////////////////////////////////////////////////////////////////////////// 40 | class Stream 41 | { 42 | public: 43 | // Destructor // 44 | virtual ~Stream() {}; 45 | // Setup // 46 | virtual aalError SetStream(FILE * stream) = 0; 47 | virtual aalError SetFormat(const aalFormat & format) = 0; 48 | virtual aalError SetLength(const aalULong & length) = 0; 49 | virtual aalError SetPosition(const aalULong & position) = 0; 50 | // Status // 51 | virtual aalError GetStream(FILE *&stream) = 0; 52 | virtual aalError GetFormat(aalFormat & format) = 0; 53 | virtual aalError GetLength(aalULong & length) = 0; 54 | virtual aalError GetPosition(aalULong & position) = 0; 55 | // File I/O // 56 | virtual aalError Read(aalVoid * buffer, const aalULong & to_read, aalULong & read) = 0; 57 | virtual aalError Write(aalVoid * buffer, const aalULong & to_write, aalULong & write) = 0; 58 | }; 59 | 60 | // Utilities // 61 | Stream * CreateStream(const char * name); 62 | aalError DeleteStream(Stream *&stream); 63 | 64 | }//ATHENA:: 65 | 66 | #endif//__ATHENA_STREAM_H__ 67 | -------------------------------------------------------------------------------- /Include/HERMES_pack_public.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef EVE_LOAD 26 | #define EVE_LOAD 27 | 28 | #include "implode.h" 29 | #include "HERMES_pack.h" 30 | 31 | #define PACK_MAX_FREAD (256) 32 | 33 | typedef struct 34 | { 35 | FILE *file; 36 | char *mem; 37 | long lSize; 38 | } PAK_PARAM; 39 | 40 | typedef struct 41 | { 42 | FILE *file; 43 | char *mem; 44 | int iOffsetCurr; 45 | int iOffset; 46 | int iOffsetBase; 47 | int iTaille; 48 | int iTailleBase; 49 | int iTailleW; 50 | int iTailleFic; 51 | } PAK_PARAM_FREAD; 52 | 53 | typedef struct 54 | { 55 | bool bActif; 56 | int iID; 57 | int iOffset; 58 | EVE_TFILE *pFile; 59 | } PACK_FILE; 60 | 61 | class EVE_LOADPACK 62 | { 63 | private: 64 | FILE *pfFile; 65 | char *pcFAT; 66 | int iTailleFAT; 67 | int iSeekPak; 68 | PACK_FILE tPackFile[PACK_MAX_FREAD]; 69 | 70 | unsigned char cKey[512]; 71 | unsigned int iPassKey; 72 | public: 73 | char *lpszName; 74 | EVE_REPERTOIRE *pRoot; 75 | private: 76 | int ReadFAT_int(); 77 | char* ReadFAT_string(); 78 | public: 79 | EVE_LOADPACK(); 80 | ~EVE_LOADPACK(); 81 | 82 | bool Open(char*); 83 | void Close(); 84 | bool Read(char*,void*); 85 | void* ReadAlloc(char*,int*); 86 | int GetSize(char *_pcName); 87 | 88 | PACK_FILE * fOpen(const char*,const char*); 89 | int fClose(PACK_FILE*); 90 | int fRead(void*,int,int,PACK_FILE*); 91 | int fSeek(PACK_FILE*,unsigned long,int); 92 | int fTell(PACK_FILE *); 93 | 94 | void WriteSousRepertoire(char *pcAbs,EVE_REPERTOIRE *r); 95 | void WriteSousRepertoireZarbi(char *pcAbs,EVE_REPERTOIRE *r); 96 | 97 | void CryptChar(unsigned char*); 98 | void UnCryptChar(unsigned char*); 99 | void CryptString(unsigned char*); 100 | int UnCryptString(unsigned char*); 101 | void CryptShort(unsigned short*); 102 | void UnCryptShort(unsigned short*); 103 | void CryptInt(unsigned int*); 104 | void UnCryptInt(unsigned int*); 105 | }; 106 | 107 | #endif -------------------------------------------------------------------------------- /Include/OtherLibs/JINCLUDE.H: -------------------------------------------------------------------------------- 1 | /* 2 | * jinclude.h 3 | * 4 | * Copyright (C) 1991-1994, Thomas G. Lane. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file exists to provide a single place to fix any problems with 9 | * including the wrong system include files. (Common problems are taken 10 | * care of by the standard jconfig symbols, but on really weird systems 11 | * you may have to edit this file.) 12 | * 13 | * NOTE: this file is NOT intended to be included by applications using the 14 | * JPEG library. Most applications need only include jpeglib.h. 15 | */ 16 | 17 | 18 | /* Include auto-config file to find out which system include files we need. */ 19 | 20 | #include "jconfig.h" /* auto configuration options */ 21 | #define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */ 22 | 23 | /* 24 | * We need the NULL macro and size_t typedef. 25 | * On an ANSI-conforming system it is sufficient to include . 26 | * Otherwise, we get them from or ; we may have to 27 | * pull in as well. 28 | * Note that the core JPEG library does not require ; 29 | * only the default error handler and data source/destination modules do. 30 | * But we must pull it in because of the references to FILE in jpeglib.h. 31 | * You can remove those references if you want to compile without . 32 | */ 33 | 34 | #ifdef HAVE_STDDEF_H 35 | #include 36 | #endif 37 | 38 | #ifdef HAVE_STDLIB_H 39 | #include 40 | #endif 41 | 42 | #ifdef NEED_SYS_TYPES_H 43 | #include 44 | #endif 45 | 46 | #include 47 | 48 | /* 49 | * We need memory copying and zeroing functions, plus strncpy(). 50 | * ANSI and System V implementations declare these in . 51 | * BSD doesn't have the mem() functions, but it does have bcopy()/bzero(). 52 | * Some systems may declare memset and memcpy in . 53 | * 54 | * NOTE: we assume the size parameters to these functions are of type size_t. 55 | * Change the casts in these macros if not! 56 | */ 57 | 58 | #ifdef NEED_BSD_STRINGS 59 | 60 | #include 61 | #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size)) 62 | #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size)) 63 | 64 | #else /* not BSD, assume ANSI/SysV string lib */ 65 | 66 | #include 67 | #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size)) 68 | #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) 69 | 70 | #endif 71 | 72 | /* 73 | * In ANSI C, and indeed any rational implementation, size_t is also the 74 | * type returned by sizeof(). However, it seems there are some irrational 75 | * implementations out there, in which sizeof() returns an int even though 76 | * size_t is defined as long or unsigned long. To ensure consistent results 77 | * we always use this SIZEOF() macro in place of using sizeof() directly. 78 | */ 79 | 80 | #define SIZEOF(object) ((size_t) sizeof(object)) 81 | 82 | /* 83 | * The modules that use fread() and fwrite() always invoke them through 84 | * these macros. On some systems you may need to twiddle the argument casts. 85 | * CAUTION: argument order is different from underlying functions! 86 | */ 87 | 88 | #define JFREAD(file,buf,sizeofbuf) \ 89 | ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) 90 | #define JFWRITE(file,buf,sizeofbuf) \ 91 | ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file))) 92 | -------------------------------------------------------------------------------- /Mercury/Mercury.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="Mercury" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Static Library" 0x0104 6 | 7 | CFG=Mercury - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "Mercury.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "Mercury.mak" CFG="Mercury - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "Mercury - Win32 Release" (based on "Win32 (x86) Static Library") 21 | !MESSAGE "Mercury - Win32 Debug" (based on "Win32 (x86) Static Library") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName ""$/GAIA/Mercury", JJDAAAAA" 27 | # PROP Scc_LocalPath "." 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "Mercury - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 0 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "Release" 36 | # PROP BASE Intermediate_Dir "Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "Release" 41 | # PROP Intermediate_Dir "Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 | # ADD CPP /nologo /Zp1 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 45 | # ADD BASE RSC /l 0x40c /d "NDEBUG" 46 | # ADD RSC /l 0x40c /d "NDEBUG" 47 | BSC32=bscmake.exe 48 | # ADD BASE BSC32 /nologo 49 | # ADD BSC32 /nologo 50 | LIB32=link.exe -lib 51 | # ADD BASE LIB32 /nologo 52 | # ADD LIB32 /nologo /out:"..\lib\MERCURY_Release.lib" 53 | 54 | !ELSEIF "$(CFG)" == "Mercury - Win32 Debug" 55 | 56 | # PROP BASE Use_MFC 0 57 | # PROP BASE Use_Debug_Libraries 1 58 | # PROP BASE Output_Dir "Debug" 59 | # PROP BASE Intermediate_Dir "Debug" 60 | # PROP BASE Target_Dir "" 61 | # PROP Use_MFC 0 62 | # PROP Use_Debug_Libraries 1 63 | # PROP Output_Dir "Debug" 64 | # PROP Intermediate_Dir "Debug" 65 | # PROP Target_Dir "" 66 | # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 67 | # ADD CPP /nologo /Zp1 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 68 | # ADD BASE RSC /l 0x40c /d "_DEBUG" 69 | # ADD RSC /l 0x40c /d "_DEBUG" 70 | BSC32=bscmake.exe 71 | # ADD BASE BSC32 /nologo 72 | # ADD BSC32 /nologo 73 | LIB32=link.exe -lib 74 | # ADD BASE LIB32 /nologo 75 | # ADD LIB32 /nologo /out:"..\lib\MERCURY_debug.lib" 76 | 77 | !ENDIF 78 | 79 | # Begin Target 80 | 81 | # Name "Mercury - Win32 Release" 82 | # Name "Mercury - Win32 Debug" 83 | # Begin Group "Source Files" 84 | 85 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 86 | # Begin Source File 87 | 88 | SOURCE=.\Mercury_global.c 89 | # End Source File 90 | # Begin Source File 91 | 92 | SOURCE=.\Mercury_Main.c 93 | # End Source File 94 | # End Group 95 | # Begin Group "Header Files" 96 | 97 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 98 | # Begin Source File 99 | 100 | SOURCE=..\Include\Mercury_dx_input.h 101 | # End Source File 102 | # Begin Source File 103 | 104 | SOURCE=..\Include\Mercury_extern.h 105 | # End Source File 106 | # End Group 107 | # End Target 108 | # End Project 109 | -------------------------------------------------------------------------------- /MINOS/MINOS.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="MINOS" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Static Library" 0x0104 6 | 7 | CFG=MINOS - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "MINOS.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "MINOS.mak" CFG="MINOS - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "MINOS - Win32 Release" (based on "Win32 (x86) Static Library") 21 | !MESSAGE "MINOS - Win32 Debug" (based on "Win32 (x86) Static Library") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName ""$/Gaia", KVAAAAAA" 27 | # PROP Scc_LocalPath "\\arkaneserver\msdn98\gaiass\gaia" 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "MINOS - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 0 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "Release" 36 | # PROP BASE Intermediate_Dir "Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "Release" 41 | # PROP Intermediate_Dir "Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 | # ADD CPP /nologo /Zp1 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c 45 | # SUBTRACT CPP /YX 46 | # ADD BASE RSC /l 0x40c /d "NDEBUG" 47 | # ADD RSC /l 0x40c /d "NDEBUG" 48 | BSC32=bscmake.exe 49 | # ADD BASE BSC32 /nologo 50 | # ADD BSC32 /nologo 51 | LIB32=link.exe -lib 52 | # ADD BASE LIB32 /nologo 53 | # ADD LIB32 /nologo /out:"..\lib\MINOS_Release.lib" 54 | 55 | !ELSEIF "$(CFG)" == "MINOS - Win32 Debug" 56 | 57 | # PROP BASE Use_MFC 0 58 | # PROP BASE Use_Debug_Libraries 1 59 | # PROP BASE Output_Dir "Debug" 60 | # PROP BASE Intermediate_Dir "Debug" 61 | # PROP BASE Target_Dir "" 62 | # PROP Use_MFC 0 63 | # PROP Use_Debug_Libraries 1 64 | # PROP Output_Dir "Debug" 65 | # PROP Intermediate_Dir "Debug" 66 | # PROP Target_Dir "" 67 | # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 68 | # ADD CPP /nologo /Zp1 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 69 | # ADD BASE RSC /l 0x40c /d "_DEBUG" 70 | # ADD RSC /l 0x40c /d "_DEBUG" 71 | BSC32=bscmake.exe 72 | # ADD BASE BSC32 /nologo 73 | # ADD BSC32 /nologo 74 | LIB32=link.exe -lib 75 | # ADD BASE LIB32 /nologo 76 | # ADD LIB32 /nologo /out:"..\lib\MINOS_Debug.lib" 77 | 78 | !ENDIF 79 | 80 | # Begin Target 81 | 82 | # Name "MINOS - Win32 Release" 83 | # Name "MINOS - Win32 Debug" 84 | # Begin Group "Source Files" 85 | 86 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 87 | # Begin Source File 88 | 89 | SOURCE=.\Minos_PathFinder.cpp 90 | # End Source File 91 | # End Group 92 | # Begin Group "Header Files" 93 | 94 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 95 | # Begin Source File 96 | 97 | SOURCE=..\Include\Minos_Common.h 98 | # End Source File 99 | # Begin Source File 100 | 101 | SOURCE=..\Include\Minos_List.h 102 | # End Source File 103 | # Begin Source File 104 | 105 | SOURCE=..\Include\Minos_PathFinder.h 106 | # End Source File 107 | # End Group 108 | # End Target 109 | # End Project 110 | -------------------------------------------------------------------------------- /Include/EERIECollisionSpheres.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef EERIE_COLLISION_SPHERES_H 46 | #define EERIE_COLLISION_SPHERES_H 47 | 48 | #include "EERIEPoly.h" 49 | 50 | void EERIE_COLLISION_SPHERES_Create(EERIE_3DOBJ * obj); 51 | void EERIE_COLLISION_SPHERES_Release(EERIE_3DOBJ * obj); 52 | void EERIE_COLLISION_Cylinder_Create(INTERACTIVE_OBJ * io); 53 | BOOL EERIE_COLLISION_Move_Cylinder(IO_PHYSICS * ip); 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /DANAE_Debugger/resource.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | //{{NO_DEPENDENCIES}} 26 | // Microsoft Developer Studio generated include file. 27 | // Used by SCRIPT_DEBUGGER.rc 28 | // 29 | #define IDD_SCRIPT_DEBUGGER 104 30 | #define IDC_SCRIPT_DEBUGGER_BUTTON_PAUSE 1005 31 | #define IDC_SCRIPT_DEBUGGER_BUTTON_STEP 1006 32 | #define IDC_SCRIPT_DEBUGGER_LIST_GLOBALS 1007 33 | #define IDC_SCRIPT_DEBUGGER_LIST_LOCALS 1008 34 | #define IDC_SCRIPT_DEBUGGER_EDIT_POSX 1009 35 | #define IDC_SCRIPT_DEBUGGER_EDIT_OBJ_POSX 1009 36 | #define IDC_SCRIPT_DEBUGGER_EDIT_POSY 1010 37 | #define IDC_SCRIPT_DEBUGGER_EDIT_OBJ_POSY 1010 38 | #define IDC_SCRIPT_DEBUGGER_EDIT_POSZ 1011 39 | #define IDC_SCRIPT_DEBUGGER_EDIT_OBJ_POSZ 1011 40 | #define IDC_SCRIPT_DEBUGGER_EDIT_NAME 1012 41 | #define IDC_SCRIPT_DEBUGGER_EDIT_OBJ_NAME 1012 42 | #define IDC_SCRIPT_DEBUGGER_EDIT_GLOBAL 1013 43 | #define IDC_SCRIPT_DEBUGGER_EDIT_POSY2 1014 44 | #define IDC_SCRIPT_DEBUGGER_EDIT_TARGET_POSY 1014 45 | #define IDC_SCRIPT_DEBUGGER_EDIT_POSZ2 1015 46 | #define IDC_SCRIPT_DEBUGGER_EDIT_TARGET_POSZ 1015 47 | #define IDC_SCRIPT_DEBUGGER_EDIT_NAME2 1016 48 | #define IDC_SCRIPT_DEBUGGER_EDIT_TARGET_NAME 1016 49 | #define IDC_SCRIPT_DEBUGGER_COMBO_EVENTS 1017 50 | #define IDC_SCRIPT_DEBUGGER_COMBO_TIMERS 1018 51 | #define IDC_SCRIPT_DEBUGGER_BUTTON_GLOBAL_UPDATE 1019 52 | #define IDC_SCRIPT_DEBUGGER_EDIT_LOCAL 1020 53 | #define IDC_SCRIPT_DEBUGGER_BUTTON_LOCAL_UPDATE 1021 54 | #define IDC_SCRIPT_DEBUGGER_EDIT_BEHAVIOR 1022 55 | #define IDC_SCRIPT_DEBUGGER_CHECK_EVENTS 1023 56 | #define IDC_SCRIPT_DEBUGGER_CHECK_TIMERS 1024 57 | #define IDC_SCRIPT_DEBUGGER_EDIT_TARGET_POSX 1025 58 | #define IDC_SCRIPT_DEBUGGER_CHECK_VARIABLES 1026 59 | #define IDC_SCRIPT_DEBUGGER_EDIT_TIMERS 1027 60 | #define IDC_SCRIPT_DEBUGGER_EDIT_EVENTS 1028 61 | 62 | // Next default values for new objects 63 | // 64 | #ifdef APSTUDIO_INVOKED 65 | #ifndef APSTUDIO_READONLY_SYMBOLS 66 | #define _APS_NEXT_RESOURCE_VALUE 105 67 | #define _APS_NEXT_COMMAND_VALUE 40001 68 | #define _APS_NEXT_CONTROL_VALUE 1028 69 | #define _APS_NEXT_SYMED_VALUE 101 70 | #endif 71 | #endif 72 | -------------------------------------------------------------------------------- /Athena/Athena_Stream_WAV.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_STREAM_WAV_H__ 26 | #define __ATHENA_STREAM_WAV_H__ 27 | 28 | #include 29 | #include "Athena_Stream.h" 30 | 31 | namespace ATHENA 32 | { 33 | 34 | /////////////////////////////////////////////////////////////////////////////// 35 | // // 36 | // Class StreamWAV // 37 | // // 38 | /////////////////////////////////////////////////////////////////////////////// 39 | class StreamWAV : public Stream 40 | { 41 | public: 42 | // Constructor and destructor // 43 | StreamWAV(); 44 | ~StreamWAV(); 45 | // Setup // 46 | aalError SetStream(FILE * stream); 47 | aalError SetFormat(const aalFormat & format); 48 | aalError SetLength(const aalULong & length); 49 | aalError SetPosition(const aalULong & position); 50 | // Status // 51 | aalError GetStream(FILE *&stream); 52 | aalError GetFormat(aalFormat & format); 53 | aalError GetLength(aalULong & length); 54 | aalError GetPosition(aalULong & position); 55 | // File I/O // 56 | aalError Read(aalVoid * buffer, const aalULong & to_read, aalULong & read); 57 | aalError Write(aalVoid * buffer, const aalULong & to_write, aalULong & write); 58 | private: 59 | // Data // 60 | FILE * stream; 61 | Codec * codec; 62 | aalVoid * status; //Stream status 63 | aalVoid * format; //File data format 64 | aalULong size, outsize; //Compressed and uncompessed data size 65 | aalULong offset; //Offset of data in file 66 | aalULong cursor; 67 | }; 68 | 69 | }//ATHENA:: 70 | 71 | #endif//__ATHENA_STREAM_WAV_H__ -------------------------------------------------------------------------------- /DANAE/DANAE.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
  4 | 

Build Log

5 |

6 | --------------------Configuration: DANAE - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\XWIN\TEMP\RSPB345.TMP" with contents 10 | [ 11 | /nologo /Zp1 /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_UNICODE" /D "NODEFAULTLIB:" /FR"Debug/" /Fp"Debug/DANAE.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 12 | "C:\Prog\Gaia\DANAE\ARX_ChangeLevel.cpp" 13 | ] 14 | Creating command line "xicl6.exe @C:\XWIN\TEMP\RSPB345.TMP" 15 | Creating temporary file "C:\XWIN\TEMP\RSPB346.TMP" with contents 16 | [ 17 | implode.lib Mercury_Debug.lib Ceditor_Debug.lib Minos_Debug.lib HERMES_debug.LIB EERIE_debug.LIB eaxguid.lib dinput.lib zlib.lib jpeglib.lib wsock32.lib dxguid.lib dsound.lib winmm.lib comctl32.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ddraw.lib Advapi32.lib shell32.lib ole32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/DANAE.pdb" /map:"Debug/DANAE.map" /debug /machine:I386 /out:"Debug/DANAE.exe" /pdbtype:sept 18 | .\Debug\ARX_C_cinematique.obj 19 | .\Debug\ARX_C_fx.obj 20 | .\Debug\ARX_C_keyframer.obj 21 | .\Debug\ARX_C_loadsave.obj 22 | .\Debug\ARX_C_mapp.obj 23 | .\Debug\ARX_C_sound.obj 24 | .\Debug\ARX_carte.obj 25 | .\Debug\ARX_Cedric.obj 26 | .\Debug\ARX_ChangeLevel.obj 27 | .\Debug\ARX_Collisions.obj 28 | .\Debug\ARX_Damages.obj 29 | .\Debug\ARX_Draw.obj 30 | .\Debug\ARX_Equipment.obj 31 | .\Debug\ARX_Fogs.obj 32 | .\Debug\ARX_FTL.obj 33 | .\Debug\ARX_GlobalMods.obj 34 | .\Debug\ARX_HWTransform.obj 35 | .\Debug\ARX_Input.obj 36 | .\Debug\ARX_Interactive.obj 37 | .\Debug\ARX_Interface.obj 38 | .\Debug\ARX_Intro.obj 39 | .\Debug\ARX_Inventory.obj 40 | .\Debug\ARX_Levels.obj 41 | .\Debug\ARX_Menu.obj 42 | .\Debug\ARX_Menu2.obj 43 | .\Debug\ARX_MenuPublic.obj 44 | .\Debug\ARX_Minimap.obj 45 | .\Debug\ARX_Missile.obj 46 | .\Debug\ARX_Network.obj 47 | .\Debug\ARX_NPC.obj 48 | .\Debug\ARX_Particles.obj 49 | .\Debug\ARX_Paths.obj 50 | .\Debug\ARX_Physics.obj 51 | .\Debug\ARX_Player.obj 52 | .\Debug\ARX_Scene.obj 53 | .\Debug\ARX_Script.obj 54 | .\Debug\ARX_Snapshot.obj 55 | .\Debug\ARX_Sound.obj 56 | .\Debug\ARX_Special.obj 57 | .\Debug\ARX_Speech.obj 58 | .\Debug\ARX_Text.obj 59 | .\Debug\ARX_Time.obj 60 | .\Debug\ARX_ViewImage.obj 61 | .\Debug\Danae.obj 62 | .\Debug\DANAE_Debugger.obj 63 | .\Debug\DanaeDlg.obj 64 | .\Debug\DanaeSaveLoad.obj 65 | .\Debug\ARX_CSpellFx.obj 66 | .\Debug\ARX_SpellFX_Lvl01.obj 67 | .\Debug\ARX_SpellFX_Lvl02.obj 68 | .\Debug\ARX_SpellFX_Lvl03.obj 69 | .\Debug\ARX_SpellFX_Lvl04.obj 70 | .\Debug\ARX_SpellFX_Lvl05.obj 71 | .\Debug\ARX_SpellFX_Lvl06.obj 72 | .\Debug\ARX_SpellFX_Lvl07.obj 73 | .\Debug\ARX_SpellFX_Lvl08.obj 74 | .\Debug\ARX_SpellFX_Lvl09.obj 75 | .\Debug\ARX_SpellFX_Lvl10.obj 76 | .\Debug\ARX_Spells.obj 77 | .\Debug\ARX_CParticle.obj 78 | .\Debug\ARX_CParticles.obj 79 | .\Debug\ARX_CParticleSystem.obj 80 | .\Debug\Arx_Config.obj 81 | .\Debug\ARX_Loc.obj 82 | .\Debug\ARX_LocHash.obj 83 | .\Debug\DANAE.res 84 | \Prog\Gaia\lib\HERMES_debug.lib 85 | \Prog\Gaia\lib\MINOS_Debug.lib 86 | \Prog\Gaia\lib\Ceditor_Debug.lib 87 | \Prog\Gaia\lib\MERCURY_debug.lib 88 | \Prog\Gaia\DANAE_Debugger\Debug\ARX_SCRIPT_DEBUGGER.lib 89 | \Prog\Gaia\lib\EErie_debug.lib 90 | \Prog\Gaia\lib\Athena.lib 91 | ] 92 | Creating command line "xilink6.exe @C:\XWIN\TEMP\RSPB346.TMP" 93 |

Output Window

94 | Compiling... 95 | ARX_ChangeLevel.cpp 96 | Linking... 97 | xilink6: executing 'C:\PROGRA~1\MICROS~1\VC98\BIN\link.exe' 98 | LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library 99 | 100 | 101 | 102 |

Results

103 | DANAE.exe - 0 error(s), 1 warning(s) 104 |
105 | 106 | 107 | -------------------------------------------------------------------------------- /Include/HERMESnet.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef HERMESNET_H 46 | #define HERMESNET_H 47 | #define GAIA_NETWORK 48 | 49 | #include 50 | HRESULT WriteRegKey( HKEY hKey, TCHAR* strName, TCHAR* strValue ); 51 | HRESULT WriteRegKeyValue( HKEY hKey, TCHAR* strName, DWORD val ); 52 | HRESULT ReadRegKeyValue( HKEY hKey, TCHAR* strName, long * val, long defaultt ); 53 | HRESULT ReadRegKey( HKEY hKey, TCHAR* strName, TCHAR* strValue, DWORD dwLength, TCHAR* strDefault ); 54 | 55 | #endif -------------------------------------------------------------------------------- /Include/ARX_Network.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // ARX_Network 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // ARX Network Management 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999-2000 ARKANE Studios SA. All rights reserved 56 | /////////////////////////////////////////////////////////////////////////////////////// 57 | #ifndef ARX_NETWORK_H 58 | #define ARX_NETWORK_H 59 | 60 | #include "EERIETypes.h" 61 | 62 | 63 | #endif -------------------------------------------------------------------------------- /HERMES/HERMESPerf.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // HERMESMain 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // HUM...hum... 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Mickael Pointier/Cyril Meynier 54 | // 55 | // Copyright (c) 1999 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////////// 57 | 58 | #include "HERMESPerf.h" 59 | 60 | #define _CRTDBG_MAP_ALLOC 61 | #include 62 | 63 | #define new new(_NORMAL_BLOCK,__FILE__, __LINE__) 64 | 65 | -------------------------------------------------------------------------------- /Athena/Athena_Codec_ADPCM.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef __ATHENA_CODEC_ADPCM_H__ 26 | #define __ATHENA_CODEC_ADPCM_H__ 27 | 28 | #include 29 | #include 30 | #include "Athena_Codec.h" 31 | 32 | namespace ATHENA 33 | { 34 | 35 | /////////////////////////////////////////////////////////////////////////////// 36 | // // 37 | // Class CodecADPCM // 38 | // // 39 | /////////////////////////////////////////////////////////////////////////////// 40 | class CodecADPCM : public Codec 41 | { 42 | public: 43 | // Constructor Destructor // 44 | CodecADPCM(); 45 | ~CodecADPCM(); 46 | // Setup // 47 | aalError SetHeader(aalVoid * header); 48 | aalError SetStream(FILE * stream); 49 | aalError SetPosition(const aalULong & position); 50 | // Status // 51 | aalError GetHeader(aalVoid *&header); 52 | aalError GetStream(FILE *&stream); 53 | aalError GetPosition(aalULong & position); 54 | // File I/O // 55 | aalError Read(aalVoid * buffer, const aalULong & to_read, aalULong & read); 56 | aalError Write(aalVoid * buffer, const aalULong & to_write, aalULong & write); 57 | private: 58 | // Macros! // 59 | aalVoid GetSample(const aalULong & channel_i, aalSByte nybble); 60 | aalError GetNextBlock(); 61 | // Data // 62 | FILE * stream; 63 | ADPCMWAVEFORMAT * header; 64 | aalULong padding; 65 | aalULong shift; 66 | aalULong sample_i; 67 | char * predictor; 68 | aalSWord * delta; 69 | aalSWord * samp1; 70 | aalSWord * samp2; 71 | aalSWord * coef1; 72 | aalSWord * coef2; 73 | aalSByte * nybble_l; 74 | aalULong nybble_c, nybble_i; 75 | aalSByte nybble; 76 | aalUByte odd; 77 | aalUByte cache_c, cache_i; 78 | aalVoid * cache_l; 79 | aalULong cursor; 80 | }; 81 | 82 | }//ATHENA:: 83 | 84 | #endif//__ATHENA_CODEC_ADPCM_H__ -------------------------------------------------------------------------------- /Include/HERMESDDE.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef HERMESDDE_H 46 | #define HERMESDDE_H 47 | 48 | 49 | #include 50 | #include 51 | #include 52 | #include 53 | #include 54 | #include 55 | #include "HERMESMain.h" 56 | 57 | extern BOOL DDEReceive(char * pouet); 58 | 59 | class HERMESDDE 60 | { 61 | // Internal variables and member functions 62 | long Active; // O no 1 client 2 server 63 | DWORD idInst; 64 | HSZ Topic; 65 | HSZ Service; 66 | HCONV hConv; 67 | protected: 68 | 69 | public: 70 | 71 | }; 72 | 73 | static HERMESDDE* g_DDE; 74 | 75 | #endif 76 | -------------------------------------------------------------------------------- /DANAE/ARX_Network.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // ARX_Network 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // ARX Network Management 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999-2000 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////////// 57 | #include 58 | #include "ARX_Player.h" 59 | #include "ARX_Network.h" 60 | 61 | #include "HERMESMain.h" 62 | #include "HERMESNet.h" 63 | 64 | #include 65 | #define _CRTDBG_MAP_ALLOC 66 | #include 67 | -------------------------------------------------------------------------------- /Include/ARX_FTL.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // ARX_FTL 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // ARX FTL 50 | // 51 | // Copyright (c) 1999-2001 ARKANE Studios SA. All rights reserved 52 | ////////////////////////////////////////////////////////////////////////////////////// 53 | #ifndef ARX_FTL_H 54 | #define ARX_FTL_H 55 | 56 | #include "EERIEobject.h" 57 | 58 | // Save a FTL file 59 | BOOL ARX_FTL_Save(char * fic, char * completefic, EERIE_3DOBJ * obj); 60 | // Load a FTL file 61 | EERIE_3DOBJ * ARX_FTL_Load(char * fic, char * completefic, EERIE_3DOBJ * obj); 62 | 63 | void MCache_ClearAll(); 64 | 65 | #endif -------------------------------------------------------------------------------- /Include/EERIEProgressive.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////// 45 | // EERIEProgressive.h 46 | ////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // Adds Progressive Data to a Mesh 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////// 57 | #ifndef EERIEPROGRESSIVE_H 58 | #define EERIEPROGRESSIVE_H 59 | 60 | #include "EERIETypes.h" 61 | 62 | void EERIEOBJECT_AddProgressiveData(EERIE_3DOBJ * obj); 63 | void CreateNeighbours(EERIE_3DOBJ * obj); 64 | void KillNeighbours(EERIE_3DOBJ * obj); 65 | void KillProgressiveData(EERIE_3DOBJ * obj); 66 | 67 | #endif -------------------------------------------------------------------------------- /Include/ARX_Levels.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // ARX_Levels 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // ARX Levels Management 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999-2000 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////////// 57 | //#include "Danae.h" 58 | 59 | #ifndef ARX_LEVELS_H 60 | #define ARX_LEVELS_H 61 | 62 | #include 63 | 64 | //----------------------------------------------------------------------------- 65 | long GetLevelNumByName(char * name); 66 | void GetLevelNameByNum(long num, char * name); 67 | long ARX_LEVELS_GetRealNum(long num); 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /Include/EERIEClothes.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////// 45 | // EERIEClothes.h 46 | ////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // Adds Progressive Data to a Mesh 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////// 57 | #ifndef EERIECLOTHES_H 58 | #define EERIECLOTHES_H 59 | 60 | #include "EERIETypes.h" 61 | 62 | extern long DEBUG_MOLLESS; 63 | extern long MOLLESS_Nb_Interpolations; 64 | 65 | void MOLLESS_Clear(EERIE_3DOBJ * obj, long flag = 0); 66 | long MOLLESS_ComputeCollisions(LPDIRECT3DDEVICE7 pd3dDevice, EERIE_3DOBJ * obj, float time); 67 | void EERIEOBJECT_AddClothesData(EERIE_3DOBJ * obj); 68 | void KillClothesData(EERIE_3DOBJ * obj); 69 | 70 | #endif 71 | -------------------------------------------------------------------------------- /Include/Mercury_extern.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | #ifndef MERCURY_EXTERN_H 26 | #define MERCURY_EXTERN_H 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | 37 | #define INITGUID 38 | #define DIRECTINPUT_VERSION 0x0700 39 | #include 40 | 41 | #include "Mercury_dx_input.h" 42 | 43 | #define _CRTDBG_MAP_ALLOC 44 | #include 45 | 46 | /*---------------------------------------------------------*/ 47 | #define MALLOC(a) DI_Init.malloc(a) 48 | #define REALLOC(a,b) DI_Init.realloc(a,b) 49 | #define FREE(a) DI_Init.free(a) 50 | #define RELEASE(a){\ 51 | if(a)\ 52 | {\ 53 | a->Release();\ 54 | }\ 55 | } 56 | #define INITSTRUCT(a){\ 57 | memset((void*)&a,0,sizeof(a));\ 58 | a.dwSize=sizeof(a);\ 59 | } 60 | 61 | #define DEVICENOACTIF 0 62 | #define DEVICEACTIF 1 63 | 64 | #define DFDIMOUSE 0 65 | #define DFDIMOUSE2 1 66 | #define DFDIKEYBOARD 2 67 | #define DFDIJOYSTICK 3 68 | #define DFDIJOYSTICK2 4 69 | 70 | #define MAXKEYBOARD 1 71 | #define MAXMOUSE 2 72 | #define MAXJOY 2 73 | #define MAXSCID 1 74 | /*---------------------------------------------------------*/ 75 | typedef struct 76 | { 77 | int actif; 78 | char * name; 79 | GUID * guid; 80 | int type; 81 | int nbbuttons; 82 | int nbaxes; 83 | int info; 84 | int datasid; 85 | int nbele; //pour la mouse 86 | LPDIRECTINPUTDEVICE7 inputdevice7; 87 | union 88 | { 89 | char * bufferstate; 90 | DIDEVICEOBJECTDATA * mousestate; 91 | DIJOYSTATE * joystate; 92 | DIJOYSTATE2 * joystate2; 93 | DIDEVICEOBJECTDATA * SCIDstate; 94 | }; 95 | union 96 | { 97 | char * old_bufferstate; 98 | DIDEVICEOBJECTDATA * old_mousestate; 99 | DIJOYSTATE * old_joystate; 100 | DIJOYSTATE2 * old_joystate2; 101 | DIDEVICEOBJECTDATA * old_SCIDstate; 102 | }; 103 | } INPUT_INFO; 104 | /*---------------------------------------------------------*/ 105 | extern HRESULT DI_Hr; 106 | extern DXI_INIT DI_Init; 107 | extern int DI_NbInputInfo; 108 | extern INPUT_INFO DI_InputInfo[]; 109 | extern IDirectInput7 * DI_DInput7; 110 | extern int DI_NbKeyboard; 111 | extern int DI_NbMouse; 112 | extern int DI_NbJoy; 113 | extern INPUT_INFO * DI_KeyBoardBuffer[]; 114 | extern INPUT_INFO * DI_MouseState[]; 115 | extern INPUT_INFO * DI_JoyState[]; 116 | extern INPUT_INFO * DI_SCIDState[]; 117 | /*---------------------------------------------------------*/ 118 | 119 | #endif 120 | -------------------------------------------------------------------------------- /Include/EERIELinkedObj.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // EERIELinkedObj 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // Manages Objects linked to other objects 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999 ARKANE Studios SA. All rights reserved 56 | ///////////////////////////////////////////////////////////////////////////////////// 57 | #ifndef EERIE_LINKED_OBJ_H 58 | #define EERIE_LINKED_OBJ_H 59 | 60 | #include "EERIETypes.h" 61 | #include "EERIEPoly.h" 62 | 63 | void EERIE_LINKEDOBJ_InitData(EERIE_3DOBJ * obj); 64 | void EERIE_LINKEDOBJ_ReleaseData(EERIE_3DOBJ * obj); 65 | void EERIE_LINKEDOBJ_UnLinkObjectFromObject(EERIE_3DOBJ * obj, EERIE_3DOBJ * tounlink); 66 | BOOL EERIE_LINKEDOBJ_LinkObjectToObject(EERIE_3DOBJ * obj, EERIE_3DOBJ * tolink, char * actiontext, char * actiontext2, INTERACTIVE_OBJ * io = NULL); 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /Include/ARX_Special.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | ////////////////////////////////////////////////////////////////////////////////////// 45 | // ARX_Special.h 46 | ////////////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // ARX Special ... 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999-2000 ARKANE Studios SA. All rights reserved 56 | ////////////////////////////////////////////////////////////////////////////////////// 57 | #ifndef ARX_SPECIAL_H 58 | #define ARX_SPECIAL_H 59 | 60 | #include 61 | #include 62 | 63 | //////////////////////////////// ATTRACTOR Funcs 64 | 65 | 66 | void ARX_SPECIAL_ATTRACTORS_Reset(); 67 | void ARX_SPECIAL_ATTRACTORS_Remove(long ionum); 68 | long ARX_SPECIAL_ATTRACTORS_Exist(long ionum); 69 | bool ARX_SPECIAL_ATTRACTORS_Add(long ionum, float power, float radius); 70 | void ARX_SPECIAL_ATTRACTORS_ComputeForIO(INTERACTIVE_OBJ * io, EERIE_3D * force); 71 | 72 | //////////////////////////////// 73 | 74 | 75 | #endif -------------------------------------------------------------------------------- /Include/EERIEPhysicsBox.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | /////////////////////////////////////////////////////////////////////////////// 45 | // EERIEPhysicsBox 46 | /////////////////////////////////////////////////////////////////////////////// 47 | // 48 | // Description: 49 | // Provides funcs for 3D Object Physics (Box Based) 50 | // 51 | // Updates: (date) (person) (update) 52 | // 53 | // Code: Cyril Meynier 54 | // 55 | // Copyright (c) 1999 ARKANE Studios SA. All rights reserved 56 | /////////////////////////////////////////////////////////////////////////////// 57 | #ifndef EERIEPHYSICSBOX_H 58 | #define EERIEPHYSICSBOX_H 59 | 60 | #include "EERIEtypes.h" 61 | 62 | void EERIE_PHYSICS_BOX_Create(EERIE_3DOBJ * obj); 63 | void EERIE_PHYSICS_BOX_Release(EERIE_3DOBJ * obj); 64 | void EERIE_PHYSICS_BOX_Show(EERIE_3DOBJ * obj, EERIE_3D * pos); 65 | void EERIE_PHYSICS_BOX_Launch(EERIE_3DOBJ * obj, EERIE_3D * pos, EERIE_3D * vect, long flags = 0, EERIE_3D * angle = NULL); 66 | long EERIE_PHYSICS_BOX_ApplyModel(EERIE_3DOBJ * obj, float framediff, float rubber, long flags, long source = -1); 67 | BOOL IsObjectVertexCollidingTriangle(EERIE_3DOBJ * obj, EERIE_3D * verts, long k, long * validd); 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /Include/EERIEMeshTweak.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | ARX FATALIS GPL Source Code 4 | Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company. 5 | 6 | This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code'). 7 | 8 | Arx Fatalis Source Code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public 9 | License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 10 | 11 | Arx Fatalis Source Code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 12 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License along with Arx Fatalis Source Code. If not, see 15 | . 16 | 17 | In addition, the Arx Fatalis Source Code is also subject to certain additional terms. You should have received a copy of these 18 | additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Arx 19 | Fatalis Source Code. If not, please request a copy in writing from Arkane Studios at the address below. 20 | 21 | If you have questions concerning this license or the applicable additional terms, you may contact in writing Arkane Studios, c/o 22 | ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 23 | =========================================================================== 24 | */ 25 | ////////////////////////////////////////////////////////////////////////////////////// 26 | // @@ @@@ @@@ @@ @@@@@ // 27 | // @@@ @@@@@@ @@@ @@ @@@@ @@@ @@@ // 28 | // @@@ @@@@@@@ @@@ @@@@ @@@@ @@ @@@@ // 29 | // @@@ @@ @@@@ @@@ @@@@@ @@@@@@ @@@ @@@ // 30 | // @@@@@ @@ @@@@ @@@ @@@@@ @@@@@@@ @@@ @ @@@ // 31 | // @@@@@ @@ @@@@ @@@@@@@@ @@@@ @@@ @@@@@ @@ @@@@@@@ // 32 | // @@ @@@ @@ @@@@ @@@@@@@ @@@ @@@ @@@@@@ @@ @@@@ // 33 | // @@@ @@@ @@@ @@@@ @@@@@ @@@@@@@@@ @@@@@@@ @@@ @@@@ // 34 | // @@@ @@@@ @@@@@@@ @@@@@@ @@@ @@@@ @@@ @@@ @@@ @@@@ // 35 | // @@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@ // 36 | // @@@ @@@@ @@@@ @@@ @@@@@@@ @@@ @@@ @@@@ @@@ @@@@ @@@@@ // 37 | //@@@ @@@@ @@@@@ @@@ @@@@@@ @@ @@@ @@@@ @@@@@@@ @@@@@ @@@@@ // 38 | //@@@ @@@@@ @@@@@ @@@@ @@@ @@ @@ @@@@ @@@@@@@ @@@@@@@@@ // 39 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@@@@ // 40 | //@@@ @@@@ @@@@@@@ @@@@ @@ @@ @@@@ @@@@@ @@ // 41 | //@@@ @@@ @@@ @@@@@ @@ @@@ // 42 | // @@@ @@@ @@ @@ STUDIOS // 43 | ////////////////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef EERIE_MESH_TWEAK_H 46 | #define EERIE_MESH_TWEAK_H 47 | 48 | #include "EERIETypes.h" 49 | #include "EERIEPoly.h" 50 | 51 | #define TWEAK_ERROR 0 52 | #define TWEAK_HEAD 2 53 | #define TWEAK_TORSO 4 54 | #define TWEAK_LEGS 8 55 | #define TWEAK_ALL TWEAK_HEAD | TWEAK_TORSO | TWEAK_LEGS 56 | #define TWEAK_UPPER TWEAK_HEAD | TWEAK_TORSO 57 | #define TWEAK_LOWER TWEAK_TORSO | TWEAK_LEGS 58 | #define TWEAK_UP_LO TWEAK_HEAD | TWEAK_LEGS 59 | #define TWEAK_REMOVE 1 60 | #define TWEAK_TYPE_SKIN 16 61 | #define TWEAK_TYPE_ICON 32 62 | #define TWEAK_TYPE_MESH 64 63 | 64 | void EERIE_MESH_TWEAK_Do(INTERACTIVE_OBJ * io, long tw, char * path); 65 | void TweakMesh(INTERACTIVE_OBJ * io, long tw, char * temp); 66 | long IsInSelection(EERIE_3DOBJ * obj, long vert, long tw); 67 | void AddVertexIdxToGroup(EERIE_3DOBJ * obj, long group, long val); 68 | void EERIE_MESH_TWEAK_Skin(EERIE_3DOBJ * obj, char * skintochange, char * skinname); 69 | void MESH_CACHE_Init(); 70 | long ObjectAddMap(EERIE_3DOBJ * obj, TextureContainer * tc); 71 | long GetEquivalentVertex(EERIE_3DOBJ * obj, EERIE_VERTEX * vert); 72 | void EERIE_MESH_ReleaseTransPolys(EERIE_3DOBJ * obj); 73 | 74 | #endif 75 | --------------------------------------------------------------------------------