mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6061 3b4a5df2-a311-0410-b5c6-a8a6f20db521
46 lines
1.1 KiB
C
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 |