mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +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:
@@ -1,11 +1,7 @@
|
||||
#include "DirectDraw Calls.h"
|
||||
#include <stdio.h>
|
||||
#include "debug.h"
|
||||
#if defined( JA2 ) || defined( UTIL )
|
||||
#include "video.h"
|
||||
#else
|
||||
#include "video2.h"
|
||||
#endif
|
||||
#include "himage.h"
|
||||
#include "vobject.h"
|
||||
#include "vobject_blitters.h"
|
||||
@@ -281,7 +277,6 @@ void SetShadeTablePercent( FLOAT uiShadePercent )
|
||||
}
|
||||
|
||||
|
||||
#ifdef JA2 // Jul. 23 '97 - ALEX - because Wizardry isn't using it & no longer has a version of Set8BPPPalette() available
|
||||
void Init8BitTables(void)
|
||||
{
|
||||
SGPPaletteEntry Pal[256];
|
||||
@@ -308,4 +303,4 @@ BOOLEAN Set8BitModePalette(SGPPaletteEntry *pPal)
|
||||
Set8BPPPalette(pPal);
|
||||
return(TRUE);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user