mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Initialized many variables
Fix for enemy invasions and reinforcements git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -115,7 +115,7 @@ void WriteSTIFile( INT8 *pData, SGPPaletteEntry *pPalette, INT16 sWidth, INT16 s
|
||||
SGPPaletteEntry * pSGPPaletteEntry;
|
||||
STCIPaletteElement STCIPaletteEntry;
|
||||
|
||||
STCISubImage * pSubImageBuffer;
|
||||
STCISubImage * pSubImageBuffer = NULL;
|
||||
UINT16 usNumberOfSubImages;
|
||||
UINT32 uiSubImageBufferSize=0;
|
||||
|
||||
|
||||
@@ -46,8 +46,9 @@
|
||||
RuntimeLibrary="1"
|
||||
RuntimeTypeInfo="false"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
WarningLevel="4"
|
||||
DebugInformationFormat="4"
|
||||
DisableSpecificWarnings="4100"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
|
||||
+1
-1
@@ -446,7 +446,7 @@ UINT16 DeleteWrappedString(WRAPPED_STRING *pWrappedString)
|
||||
|
||||
BOOLEAN DrawTextToScreen(STR16 pStr, UINT16 usLocX, UINT16 usLocY, UINT16 usWidth, UINT32 ulFont, UINT8 ubColor, UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 ulFlags)
|
||||
{
|
||||
UINT16 usPosX, usPosY;
|
||||
UINT16 usPosX = 0, usPosY = 0;
|
||||
UINT16 usFontHeight=0;
|
||||
UINT16 usStringWidth=0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user