mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1017 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -144,7 +144,7 @@ void SetProgressBarTitle( UINT32 ubID, STR16 pString, UINT32 usFont, UINT8 ubFor
|
||||
}
|
||||
if( pString && wcslen( pString ) )
|
||||
{
|
||||
pCurr->swzTitle = (STR16) MemAlloc( sizeof( CHAR16 ) * ( wcslen( pString ) + 1 ) );
|
||||
pCurr->swzTitle = (STR16) MemAlloc( (UINT32) ( sizeof( CHAR16 ) * ( wcslen( pString ) + 1 ) ) );
|
||||
swprintf( pCurr->swzTitle, pString );
|
||||
}
|
||||
pCurr->usTitleFont = (UINT16)usFont;
|
||||
|
||||
@@ -253,7 +253,7 @@ BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
#elif defined( POLISH )
|
||||
sprintf( zLanguage, "POLISH" );
|
||||
#elif defined( RUSSIAN )
|
||||
sprintf( (char*)zLanguage, "RUSSIAN" );
|
||||
sprintf( zLanguage, "RUSSIAN" );
|
||||
#elif defined( SPANISH )
|
||||
sprintf( zLanguage, "SPANISH" );
|
||||
#elif defined( TAIWANESE )
|
||||
|
||||
@@ -0,0 +1,446 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="Utils_2005Express"
|
||||
ProjectGUID="{262A5F80-0B99-4E8E-A6C7-74CB1FD0A67C}"
|
||||
RootNamespace="Utils_2005Express"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="..\ja2_2005Express.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
RuntimeTypeInfo="false"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="4"
|
||||
InheritedPropertySheets="..\ja2_2005Express.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||
RuntimeLibrary="0"
|
||||
RuntimeTypeInfo="false"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\_Ja25EnglishText.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_Ja25GermanText.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_Ja25RussianText.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Animated ProgressBar.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Cinematics.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Cursors.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Debug Control.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dsutil.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Encrypted File.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Event Manager.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Event Pump.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Font Control.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\INIReader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\maputility.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\MercTextBox.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Multi Language Graphic Utils.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Multilingual Text Code Generator.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Music Control.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PopUpBox.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Quantize Wrap.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Quantize.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Slider.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Sound Control.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\STIConvert.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Text Input.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Text.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Timer Control.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Utilities.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Utils All.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Win Util.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\WordWrap.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\_DutchText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_EnglishText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_FrenchText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_GermanText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_ItalianText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_Ja25EnglishText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_Ja25GermanText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_Ja25RussianText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_PolishText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_RussianText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\_TaiwaneseText.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Animated ProgressBar.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Cinematics.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Cursors.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Debug Control.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dsutil.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Encrypted File.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Event Manager.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Event Pump.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Font Control.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\INIReader.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\MapUtility.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\MercTextBox.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\message.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Multi Language Graphic Utils.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Multilingual Text Code Generator.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Music Control.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PopUpBox.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Quantize Wrap.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Quantize.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Slider.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Sound Control.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\STIConvert.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Text Input.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Text Utils.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Timer Control.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Utilities.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\WordWrap.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\XML_Items.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\XML_Strings.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
+2
-1
@@ -45,7 +45,8 @@ LPDIRECTSOUNDBUFFER lpSoundEffects[NUM_SOUND_EFFECTS];
|
||||
|
||||
|
||||
|
||||
char szSoundEffects[NUM_SOUND_EFFECTS][255] =
|
||||
//char szSoundEffects[NUM_SOUND_EFFECTS][255] =
|
||||
char szSoundEffects[MAX_SAMPLES][255] =
|
||||
{
|
||||
"SHOOT1",
|
||||
"MISS1",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include "Types.h"
|
||||
|
||||
#define WEAPONSFILENAME "TABLEDATA\\Weapons.dat"
|
||||
#define MAX_CHAR_DATA_LENGTH 500
|
||||
|
||||
|
||||
Reference in New Issue
Block a user