mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Remove write-only variable (#42)
git-svn-id: svn://tron.homeunix.org/ja2/trunk@30 5e31c081-6ce3-0310-bb30-f584a8092234 - https://github.com/ja2-stracciatella/ja2-stracciatella/commit/d1d7fe722a68b07bc8bdc3c90ba9149746eec24e Co-authored-by: tron <tron@5e31c081-6ce3-0310-bb30-f584a8092234>
This commit is contained in:
@@ -191,7 +191,6 @@ RECT rcWindow;
|
||||
POINT ptWindowSize;
|
||||
|
||||
// moved from header file: 24mar98:HJH
|
||||
UINT32 giStartMem;
|
||||
//UINT8 gbPixelDepth; // redefintion... look down a few lines (jonathanl)
|
||||
// GLOBAL RUN-TIME SETTINGS
|
||||
|
||||
@@ -200,7 +199,6 @@ UINT32 guiMouseWheelMsg; // For mouse wheel messages
|
||||
BOOLEAN gfApplicationActive;
|
||||
BOOLEAN gfProgramIsRunning;
|
||||
BOOLEAN gfGameInitialized = FALSE;
|
||||
//UINT32 giStartMem; // redefintion... look up a few lines (jonathanl)
|
||||
BOOLEAN gfDontUseDDBlits = FALSE;
|
||||
|
||||
// There were TWO of them??!?! -- DB
|
||||
@@ -1189,10 +1187,6 @@ int PASCAL HandledWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pC
|
||||
ProcessCommandLine(pCommandLine);
|
||||
#endif
|
||||
|
||||
// Mem Usage
|
||||
giStartMem = MemGetFree( ) / 1024;
|
||||
|
||||
|
||||
#ifdef JA2
|
||||
// Handle Check for CD
|
||||
if ( !HandleJA2CDCheck( ) )
|
||||
|
||||
@@ -34,7 +34,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
extern BOOLEAN gfProgramIsRunning; // Turn this to FALSE to exit program
|
||||
extern UINT32 giStartMem;
|
||||
extern CHAR8 gzCommandLine[100]; // Command line given
|
||||
extern UINT8 gbPixelDepth; // GLOBAL RUN-TIME SETTINGS
|
||||
extern BOOLEAN gfDontUseDDBlits; // GLOBAL FOR USE OF DD BLITTING
|
||||
|
||||
Reference in New Issue
Block a user