mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- Improved compatibility with different russian JA2 distribs' resources
- International/russian *.npc file format unified, performed conversion on-the-fly - New 1.13 messages' text moved to Text.h/_*Text.cpp - Russian translation fixed/refined git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1610 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+8
-2
@@ -376,9 +376,11 @@ UINT32 InitScreenHandle(void)
|
||||
strcpy( vs_desc.ImageFile, "ja2_logo.STI" );
|
||||
|
||||
hVSurface = CreateVideoSurface( &vs_desc );
|
||||
//SB: JA2 Gold Rus doesn't contain such file!
|
||||
#ifndef RUSSIAN
|
||||
if( !hVSurface )
|
||||
AssertMsg( 0, "Failed to load ja2_logo.sti!" );
|
||||
|
||||
#endif
|
||||
//BltVideoSurfaceToVideoSurface( ghFrameBuffer, hVSurface, 0, 0, 0, VS_BLT_FAST, NULL );
|
||||
ubCurrentScreen = 1;
|
||||
|
||||
@@ -423,7 +425,11 @@ UINT32 InitScreenHandle(void)
|
||||
InvalidateScreen( );
|
||||
|
||||
// Delete video Surface
|
||||
DeleteVideoSurface( hVSurface );
|
||||
//SB: JA2 Gold Rus doesn't contain such file!
|
||||
#ifdef RUSSIAN
|
||||
if( hVSurface )
|
||||
#endif
|
||||
DeleteVideoSurface( hVSurface );
|
||||
//ATE: Set to true to reset before going into main screen!
|
||||
|
||||
SetCurrentCursorFromDatabase( VIDEO_NO_CURSOR );
|
||||
|
||||
Reference in New Issue
Block a user