mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
#include "BuildDefines.h"
|
||||
|
||||
#ifdef JA2EDITOR
|
||||
#ifndef __EDITOR_TASKBAR_UTILS_H
|
||||
#define __EDITOR_TASKBAR_UTILS_H
|
||||
|
||||
//These are utilities that are used within the editor. This function absorbs the expensive
|
||||
//compile time of the SGP dependencies, while allowing the other editor files to hook into it
|
||||
//without paying, so to speak.
|
||||
|
||||
|
||||
enum
|
||||
{
|
||||
GUI_CLEAR_EVENT,
|
||||
GUI_LCLICK_EVENT,
|
||||
GUI_RCLICK_EVENT,
|
||||
GUI_MOVE_EVENT
|
||||
};
|
||||
|
||||
//Taskbar manipulation functions
|
||||
void DoTaskbar(void);
|
||||
void ProcessEditorRendering();
|
||||
void EnableEditorTaskbar();
|
||||
void DisableEditorTaskbar();
|
||||
void CreateEditorTaskbar();
|
||||
void DeleteEditorTaskbar();
|
||||
|
||||
//Button manipulation functions
|
||||
void ClickEditorButton( INT32 iEditorButtonID );
|
||||
void UnclickEditorButton( INT32 iEditorButtonID );
|
||||
void HideEditorButton( INT32 iEditorButtonID );
|
||||
void ShowEditorButton( INT32 iEditorButtonID );
|
||||
void DisableEditorButton( INT32 iEditorButtonID );
|
||||
void EnableEditorButton( INT32 iEditorButtonID );
|
||||
|
||||
void ClickEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
void UnclickEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
void HideEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
void ShowEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
void DisableEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
void EnableEditorButtons( INT32 iFirstEditorButtonID, INT32 iLastEditorButtonID );
|
||||
|
||||
//Region Utils
|
||||
#define NUM_TERRAIN_TILE_REGIONS 9
|
||||
enum{
|
||||
BASE_TERRAIN_TILE_REGION_ID,
|
||||
ITEM_REGION_ID = NUM_TERRAIN_TILE_REGIONS,
|
||||
MERC_REGION_ID,
|
||||
};
|
||||
|
||||
void EnableEditorRegion( INT8 bRegionID );
|
||||
void DisableEditorRegion( INT8 bRegionID );
|
||||
|
||||
|
||||
//Rendering Utils
|
||||
void mprintfEditor(INT16 x, INT16 y, UINT16 *pFontString, ...);
|
||||
void ClearTaskbarRegion( INT16 sLeft, INT16 sTop, INT16 sRight, INT16 sBottom );
|
||||
void DrawEditorInfoBox( UINT16 *str, UINT32 uiFont, UINT16 x, UINT16 y, UINT16 w, UINT16 h );
|
||||
|
||||
extern INT32 giEditMercDirectionIcons[2];
|
||||
extern UINT32 guiMercInventoryPanel;
|
||||
extern UINT32 guiOmertaMap;
|
||||
extern UINT32 guiExclamation;
|
||||
extern UINT32 guiKeyImage;
|
||||
extern UINT32 guiMercInvPanelBuffers[9];
|
||||
extern UINT32 guiMercTempBuffer;
|
||||
extern INT32 giEditMercImage[2];
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user