Files
source/Tactical/Interface Control.h
T

46 lines
1.1 KiB
C

#ifndef __INTERFACE_CONTROL_H
#define __INTERFACE_CONTROL_H
#define INTERFACE_MAPSCREEN 0x00000001
#define INTERFACE_NORENDERBUTTONS 0x00000002
#define INTERFACE_LOCKEDLEVEL1 0x00000004
#define INTERFACE_SHOPKEEP_INTERFACE 0x00000008
extern UINT32 guiTacticalInterfaceFlags;
void SetTacticalInterfaceFlags( UINT32 uiFlags );
void SetUpInterface( );
void ResetInterface( );
void RenderTopmostTacticalInterface( );
void RenderTacticalInterface( );
// Flugente: handle flashlights
void HandleFlashLights();
void StartViewportOverlays( );
void EndViewportOverlays( );
void LockTacticalInterface( );
void UnLockTacticalInterface( );
void RenderTacticalInterfaceWhileScrolling( );
void EraseInterfaceMenus( BOOLEAN fIgnoreUIUnLock );
// handle paused render of tactical panel, if flag set, OR it in with tactical render flags
// then reset
void HandlePausedTacticalRender( void );
void ResetInterfaceAndUI( );
BOOLEAN AreWeInAUIMenu( );
void HandleTacticalPanelSwitch( );
BOOLEAN InterfaceOKForMeanwhilePopup();
#endif