mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#ifdef PRECOMPILEDHEADERS
|
||||
#include "JA2 All.h"
|
||||
#else
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include "types.h"
|
||||
#include "screenids.h"
|
||||
#include "Sys Globals.h"
|
||||
#include "gameloop.h"
|
||||
#endif
|
||||
|
||||
|
||||
// External globals
|
||||
extern UINT8 gubFilename[ 200 ]; // symbol already declared globally in editscreen.cpp (jonathanl)
|
||||
BOOLEAN gfEditMode = FALSE;
|
||||
extern INT8 gDebugStr[128]; // symbol already defined in overhead.cpp (jonathanl)
|
||||
INT8 gSystemDebugStr[128];
|
||||
INT8 gbFPSDisplay = SHOW_MIN_FPS;
|
||||
BOOLEAN gfResetInputCheck = FALSE;
|
||||
BOOLEAN gfGlobalError = FALSE;
|
||||
|
||||
UINT32 guiGameCycleCounter = 0;
|
||||
UINT8 gubErrorText[ 200 ];
|
||||
|
||||
BOOLEAN SET_ERROR( const char *String, ...)
|
||||
{
|
||||
va_list ArgPtr;
|
||||
|
||||
va_start(ArgPtr, String);
|
||||
vsprintf( (char *) gubErrorText, String, ArgPtr);
|
||||
va_end(ArgPtr);
|
||||
|
||||
SetPendingNewScreen( ERROR_SCREEN );
|
||||
|
||||
gfGlobalError = TRUE;
|
||||
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user