mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user