mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Provide gMapViewRegion through mapscreen.h
This commit is contained in:
@@ -1180,7 +1180,6 @@ void CreateMapInventoryPoolSlots( )
|
||||
INT16 sXA = 0, sYA = 0;
|
||||
INT16 sULX = 0, sULY = 0;
|
||||
INT16 sBRX = 0, sBRY = 0;
|
||||
extern MOUSE_REGION gMapViewRegion;
|
||||
//Moa: removed MapInventoryPoolMask, instead we disable map mouseregion and enable again when deleting stash regions
|
||||
MSYS_DisableRegion( &gMapViewRegion );
|
||||
//MSYS_DefineRegion( &MapInventoryPoolMask,
|
||||
@@ -1217,7 +1216,6 @@ void CreateMapInventoryPoolSlots( )
|
||||
void DestroyMapInventoryPoolSlots( void )
|
||||
{
|
||||
INT32 iCounter = 0;
|
||||
extern MOUSE_REGION gMapViewRegion;
|
||||
|
||||
for( iCounter = 0; iCounter < MAP_INVENTORY_POOL_SLOT_COUNT; iCounter++ )
|
||||
{
|
||||
|
||||
@@ -123,6 +123,8 @@ struct UILayout_CharList
|
||||
int widthTimeRemaining;
|
||||
};
|
||||
|
||||
extern MOUSE_REGION gMapViewRegion;
|
||||
|
||||
extern BOOLEAN fCharacterInfoPanelDirty;
|
||||
extern BOOLEAN fTeamPanelDirty;
|
||||
extern BOOLEAN fMapPanelDirty;
|
||||
|
||||
Reference in New Issue
Block a user