remove UTIL and JA2 preprocessor definitions (#66)

UTIL is never used, and JA2 is always used. assumption being we'll never make 1.13 for Wizardry 8.

video2.h doesn't exist, which prevented me from deleting it.
This commit is contained in:
majcosta
2023-01-05 20:40:36 +02:00
committed by GitHub
parent 24425a82b1
commit aaa8b094c9
30 changed files with 1 additions and 702 deletions
@@ -7,22 +7,11 @@
#include "WCheck.h"
#include "Debug.h"
#if defined(JA2) || defined( UTIL )
#include "video.h"
#else
#include "video2.h"
#endif
//NUMBER_OF_LIBRARIES
#ifdef JA2
#include "Ja2 Libs.h"
#include "GameSettings.h"
#elif defined(UTIL)
LibraryInitHeader gGameLibaries[ ] = { 0 };
#else
// We link it as an .obj file
// #include "WizLibs.c"
#endif
@@ -59,11 +48,7 @@ BOOLEAN InitializeFileDatabase( )
UINT32 uiSize;
BOOLEAN fLibraryInited = FALSE;
#ifdef JA2
GetCDLocation( );
#else
gzCdDirectory[ 0 ] = '.';
#endif
//if all the libraries exist, set them up
gFileDataBase.usNumberOfLibraries = NUMBER_OF_LIBRARIES;