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
-25
View File
@@ -6,26 +6,8 @@
#include "timer.h"
#include "debug.h"
#if defined( JA2 ) || defined( UTIL )
#include "video.h"
#else
#include "video2.h"
#endif
#ifndef JA2
#include "input.h"
#include "memman.h"
#include "fileman.h"
#include "soundman.h"
#include "pcx.h"
#include "line.h"
#include "gameloop.h"
#include "font.h"
#include "english.h"
#include "vobject.h"
#include "Random.h"
#include "shading.h"
#endif
#ifdef __cplusplus
extern "C" {
@@ -36,13 +18,6 @@ extern CHAR8 gzCommandLine[100]; // Command line given
extern UINT8 gbPixelDepth; // GLOBAL RUN-TIME SETTINGS
extern BOOLEAN gfDontUseDDBlits; // GLOBAL FOR USE OF DD BLITTING
#if !defined(JA2) && !defined(UTILS)
extern BOOLEAN gfLoadAtStartup;
extern CHAR8 *gzStringDataOverride;
extern BOOLEAN gfUsingBoundsChecker;
extern BOOLEAN gfCapturingVideo;
#endif
// function prototypes
void SGPExit(void);