mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
*** Merged Code from Multiplayer Branch Revision 2960 ***
- Virtual File System (VFS) by birdflu. This is needed for Multiplayer and is also used for Single Player. Very neat system :-) - Multiplayer Version 1.1 + some additional features and bugfixes * INFO: If you compile a new EXE and want to test, be sure to also use the latest SVN GameDir files in your JA2 install directory * git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2961 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -227,7 +227,7 @@ void ExtractAndUpdateMapInfo()
|
||||
gMapInformation.ubRestrictedScrollID = (UINT8)temp;
|
||||
|
||||
//set up fields for exitgrid information
|
||||
Get16BitStringFromField( 7, str );
|
||||
Get16BitStringFromField( 7, str, 10 );
|
||||
if( str[0] >= 'a' && str[0] <= 'z' )
|
||||
str[0] -= 32; //uppercase it!
|
||||
if( str[0] >= 'A' && str[0] <= 'Z' &&
|
||||
|
||||
@@ -1068,7 +1068,7 @@ void FDlgDwnCallback( GUI_BUTTON *butn, INT32 reason )
|
||||
|
||||
BOOLEAN ExtractFilenameFromFields()
|
||||
{
|
||||
Get16BitStringFromField( 0, gzFilename );
|
||||
Get16BitStringFromField( 0, gzFilename, 31 );
|
||||
return ValidFilename();
|
||||
}
|
||||
|
||||
|
||||
@@ -2787,7 +2787,7 @@ void SummaryUpdateCallback( GUI_BUTTON *btn, INT32 reason )
|
||||
void ExtractTempFilename()
|
||||
{
|
||||
CHAR16 str[40];
|
||||
Get16BitStringFromField( 1, str );
|
||||
Get16BitStringFromField( 1, str, 40 );
|
||||
if( wcscmp( gszTempFilename, str ) )
|
||||
{
|
||||
wcscpy( gszTempFilename, str );
|
||||
|
||||
Reference in New Issue
Block a user