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:
Wanne
2008-12-29 14:08:35 +00:00
parent 0e7ecd727c
commit bc7014a079
13 changed files with 363 additions and 303 deletions
+29 -1
View File
@@ -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