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:
+5
-5
@@ -326,7 +326,7 @@ UINT32 AniEditScreenHandle(void)
|
||||
}
|
||||
|
||||
|
||||
UINT16 GetAnimStateFromName( INT8 *zName )
|
||||
UINT16 GetAnimStateFromName( STR8 zName )
|
||||
{
|
||||
INT32 cnt;
|
||||
|
||||
@@ -346,11 +346,11 @@ UINT16 GetAnimStateFromName( INT8 *zName )
|
||||
void BuildListFile( )
|
||||
{
|
||||
FILE *infoFile;
|
||||
char currFilename[128];
|
||||
CHAR8 currFilename[128];
|
||||
int numEntries = 0;
|
||||
int cnt;
|
||||
UINT16 usState;
|
||||
wchar_t zError[128];
|
||||
CHAR16 zError[128];
|
||||
|
||||
|
||||
//Verify the existance of the header text file.
|
||||
@@ -383,7 +383,7 @@ void BuildListFile( )
|
||||
currFilename[ strlen( currFilename ) -1 ] = '\0';
|
||||
currFilename[ strlen( currFilename ) -1 ] = '\0';
|
||||
|
||||
usState = GetAnimStateFromName( (INT8 *)currFilename );
|
||||
usState = GetAnimStateFromName( currFilename );
|
||||
|
||||
if ( usState != 5555 )
|
||||
{
|
||||
@@ -393,7 +393,7 @@ void BuildListFile( )
|
||||
}
|
||||
else
|
||||
{
|
||||
swprintf( (wchar_t *)zError, (wchar_t *)L"Animation str %S is not known: ", currFilename );
|
||||
swprintf( zError, L"Animation str %S is not known: ", currFilename );
|
||||
DoMessageBox( MSG_BOX_BASIC_STYLE, zError, ANIEDIT_SCREEN, ( UINT8 )MSG_BOX_FLAG_YESNO, NULL, NULL );
|
||||
fclose( infoFile );
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user