mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user