mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -48,7 +48,7 @@ struct
|
||||
{
|
||||
PARSE_STAGE curElement;
|
||||
|
||||
INT8 szCharData[MAX_CHAR_DATA_LENGTH+1];
|
||||
CHAR8 szCharData[MAX_CHAR_DATA_LENGTH+1];
|
||||
|
||||
UINT32 maxArraySize;
|
||||
UINT32 curIndex;
|
||||
@@ -58,7 +58,7 @@ struct
|
||||
typedef soundParseData;
|
||||
|
||||
static void XMLCALL
|
||||
soundStartElementHandle(void *userData, const char *name, const char **atts)
|
||||
soundStartElementHandle(void *userData, const XML_Char *name, const XML_Char **atts)
|
||||
{
|
||||
soundParseData * pData = (soundParseData *)userData;
|
||||
|
||||
@@ -86,7 +86,7 @@ soundStartElementHandle(void *userData, const char *name, const char **atts)
|
||||
}
|
||||
|
||||
static void XMLCALL
|
||||
soundCharacterDataHandle(void *userData, const char *str, int len)
|
||||
soundCharacterDataHandle(void *userData, const XML_Char *str, int len)
|
||||
{
|
||||
soundParseData * pData = (soundParseData *)userData;
|
||||
|
||||
@@ -99,7 +99,7 @@ soundCharacterDataHandle(void *userData, const char *str, int len)
|
||||
|
||||
|
||||
static void XMLCALL
|
||||
soundEndElementHandle(void *userData, const char *name)
|
||||
soundEndElementHandle(void *userData, const XML_Char *name)
|
||||
{
|
||||
soundParseData * pData = (soundParseData *)userData;
|
||||
|
||||
@@ -212,7 +212,7 @@ BOOLEAN WriteSoundArray()
|
||||
{
|
||||
FilePrintf(hFile,"\t<SOUND>");
|
||||
|
||||
char * szRemainder = szSoundEffects[cnt]; //the remaining string to be output (for making valid XML)
|
||||
STR8 szRemainder = szSoundEffects[cnt]; //the remaining string to be output (for making valid XML)
|
||||
|
||||
while(szRemainder[0] != '\0')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user