mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
57 lines
1.1 KiB
C
57 lines
1.1 KiB
C
#ifndef __SGP_
|
|
#define __SGP_
|
|
|
|
#include "local.h"
|
|
#include "types.h"
|
|
#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 "dbman.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" {
|
|
#endif
|
|
|
|
extern BOOLEAN gfProgramIsRunning; // Turn this to FALSE to exit program
|
|
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);
|
|
void ShutdownWithErrorBox(CHAR8 *pcMessage);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|