mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Bugfix: Lua shutdown (possible NULL reference)
Russian, French and Polish texts update Fonts update (for future Italian version) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2463 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
{
|
||||
#if defined( ENGLISH ) || defined( TAIWANESE ) || defined( FRENCH ) || defined (CHINESE)
|
||||
#if defined( ENGLISH ) || defined( TAIWANESE ) || defined (CHINESE)
|
||||
switch( usMLGGraphicID )
|
||||
{
|
||||
case MLG_AIMSYMBOL:
|
||||
@@ -119,6 +119,13 @@ BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
case MLG_IMPSYMBOL:
|
||||
sprintf( filename, "LAPTOP\\IMPSymbol.sti" );
|
||||
return TRUE;
|
||||
//inshy: translation needed for russian version
|
||||
case MLG_BOBBYRAYTITLE:
|
||||
sprintf( filename, "LAPTOP\\BOBBYRAYTITLE.STI" );
|
||||
return TRUE;
|
||||
case MLG_BR:
|
||||
sprintf( filename, "LAPTOP\\BR.STI" );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#elif defined( GERMAN )
|
||||
@@ -231,6 +238,13 @@ BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
case MLG_SPLASH:
|
||||
sprintf( filename, "German\\splash_german.sti" );
|
||||
return TRUE;
|
||||
//inshy: Same graphic (no translation needed)
|
||||
case MLG_BOBBYRAYTITLE:
|
||||
sprintf( filename, "LAPTOP\\BOBBYRAYTITLE.STI" );
|
||||
return TRUE;
|
||||
case MLG_BR:
|
||||
sprintf( filename, "LAPTOP\\BR.STI" );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#else
|
||||
@@ -377,6 +391,13 @@ BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
case MLG_IMPSYMBOL:
|
||||
sprintf( filename, "%s\\IMPSymbol_%s.sti", zLanguage, zLanguage );
|
||||
break;
|
||||
//inshy: translation needed for russian version
|
||||
case MLG_BOBBYRAYTITLE:
|
||||
sprintf( filename, "%s\\BOBBYRAYTITLE_%s.STI", zLanguage, zLanguage );
|
||||
break;
|
||||
case MLG_BR:
|
||||
sprintf( filename, "%s\\BR_%s.STI", zLanguage, zLanguage );
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
@@ -488,6 +509,13 @@ BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID )
|
||||
case MLG_IMPSYMBOL:
|
||||
sprintf( filename, "LAPTOP\\IMPSymbol.sti" );
|
||||
return TRUE;
|
||||
//inshy: translation needed for russian version
|
||||
case MLG_BOBBYRAYTITLE:
|
||||
sprintf( filename, "LAPTOP\\BOBBYRAYTITLE.STI" );
|
||||
return TRUE;
|
||||
case MLG_BR:
|
||||
sprintf( filename, "LAPTOP\\BR.STI" );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user