mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Fix for Map Sector Inv keyboard shortcut (by Buggler)
o Map Screen Interface Map Inventory.cpp was not updated in 4647 revision resulting in no popup - Heli ETA Box (by Buggler) o Partial Graphical Fix on the Heli ETA Box for 1024x768 by correcting e coordinates due to larger font used o Updated ETA_POP_UP.STI and POS2.sti for 1024x768 resolution (by Wanne) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4668 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -542,6 +542,9 @@ void CreateDestroyMapInventoryPoolButtons( BOOLEAN fExitFromMapScreen )
|
||||
// destroy buttons for map border
|
||||
DeleteMapBorderButtons( );
|
||||
|
||||
// delete map level markers regions
|
||||
DeleteMouseRegionsForLevelMarkers( );
|
||||
|
||||
fCreated = TRUE;
|
||||
|
||||
// also create the inventory slot
|
||||
@@ -568,6 +571,9 @@ void CreateDestroyMapInventoryPoolButtons( BOOLEAN fExitFromMapScreen )
|
||||
{
|
||||
// recreate mapborder buttons
|
||||
CreateButtonsForMapBorder( );
|
||||
|
||||
// recreate map level markers regions
|
||||
CreateMouseRegionsForLevelMarkers( );
|
||||
}
|
||||
fCreated = FALSE;
|
||||
|
||||
@@ -1111,6 +1117,9 @@ void CreateMapInventoryButtons( void )
|
||||
BUTTON_TOGGLE, MSYS_PRIORITY_HIGHEST,
|
||||
(GUI_CALLBACK)BtnGenericMouseMoveButtonCallback, (GUI_CALLBACK)MapInventoryPoolPrevBtn );
|
||||
|
||||
// set up fast help text
|
||||
SetButtonFastHelpText( guiMapInvenButton[ 0 ], pMapScreenInvenButtonHelpText[ 0 ] );
|
||||
SetButtonFastHelpText( guiMapInvenButton[ 1 ], pMapScreenInvenButtonHelpText[ 1 ] );
|
||||
|
||||
//reset the current inventory page to be the first page
|
||||
iCurrentInventoryPoolPage = 0;
|
||||
@@ -1811,6 +1820,9 @@ void CreateMapInventoryPoolDoneButton( void )
|
||||
BUTTON_TOGGLE, MSYS_PRIORITY_HIGHEST,
|
||||
(GUI_CALLBACK)BtnGenericMouseMoveButtonCallback, (GUI_CALLBACK)MapInventoryPoolDoneBtn );
|
||||
|
||||
// set up fast help text
|
||||
SetButtonFastHelpText( guiMapInvenButton[ 2 ], pMapScreenInvenButtonHelpText[ 2 ] );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user