mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Brief: //dnl ch81
- Fix several problems with summary windows and improve map loading to any map for mapeditor. Details: - Add option from CTRL+L list box to load any map from any listed profiles. - Fix incorrect loading of items option in summary window for non vanilla maps. - Fix improper popup of radio boxes for when items is selected in summary window and summary file or map not exist. - Summary items information is now show for non sector custom map files too. - Fix glitches when switching from overhead map to sector summary windows. - Fix improper opening of exit screen text box during exit from overhead map. - Change size to fixed macro of all temporary buffers for map filename. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6687 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+19
-1
@@ -88,6 +88,9 @@ INT32 iCurrFileShown;
|
||||
INT32 iLastFileClicked;
|
||||
INT32 iLastClickTime;
|
||||
|
||||
#ifdef USE_VFS
|
||||
CHAR8 gzProfileName[FILENAME_BUFLEN];//dnl ch81 021213
|
||||
#endif
|
||||
CHAR16 gzFilename[FILENAME_BUFLEN];//dnl ch39 190909
|
||||
extern INT16 gsSelSectorX;
|
||||
extern INT16 gsSelSectorY;
|
||||
@@ -167,6 +170,7 @@ void LoadSaveScreenEntry()
|
||||
|
||||
iTopFileShown = iTotalFiles = 0;
|
||||
#ifdef USE_VFS//dnl ch37 300909
|
||||
gzProfileName[0] = 0;//dnl ch81 021213
|
||||
FDLG_LIST* TempFileList = NULL;
|
||||
vfs::CProfileStack* st = getVFS()->getProfileStack();
|
||||
vfs::CProfileStack::Iterator it = st->begin();
|
||||
@@ -725,6 +729,20 @@ void SelectFileDialogYPos( UINT16 usRelativeYPos )
|
||||
}
|
||||
iLastClickTime = iCurrClickTime;
|
||||
iLastFileClicked = x;
|
||||
//dnl ch81 021213
|
||||
#ifdef USE_VFS
|
||||
gzProfileName[0] = 0;
|
||||
while(FListNode = FListNode->pPrev)
|
||||
{
|
||||
if(FListNode->FileInfo.zFileName[0] == '<')
|
||||
{
|
||||
strcpy(gzProfileName, &FListNode->FileInfo.zFileName[2]);
|
||||
gzProfileName[strlen(gzProfileName)-2] = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
FListNode = FListNode->pNext;
|
||||
}
|
||||
@@ -970,7 +988,7 @@ extern BOOLEAN ReEvaluateWorld( const STR8 puiFilename );
|
||||
UINT32 ProcessFileIO()
|
||||
{
|
||||
INT16 usStartX, usStartY;
|
||||
CHAR8 ubNewFilename[50];
|
||||
CHAR8 ubNewFilename[FILENAME_BUFLEN];//dnl ch81 021213
|
||||
BOOLEAN fAltMap;//dnl ch31 150909
|
||||
switch( gbCurrentFileIOStatus )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user