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