Editor Feature (by Buggler)

- Hotkey 'Ctrl+/' & '/' to place item under mouse cursor when in item mode

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5953 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-03-24 19:27:43 +00:00
parent 90be8171ec
commit 95e93c225d
13 changed files with 135 additions and 25 deletions
+3 -2
View File
@@ -979,6 +979,7 @@ void RenderEditorInfo( )
//taskbar render, we need to draw the buttons without hilites, hence this flag. This flag is
//always true in ButtonSystem.c, so it won't effect anything else.
extern BOOLEAN gfGotoGridNoUI;
extern BOOLEAN gfKeyboardItemCreationUI;
void ProcessEditorRendering()
{
@@ -1016,7 +1017,7 @@ void ProcessEditorRendering()
if( gfSummaryWindowActive )
RenderSummaryWindow();
else if( !gfGotoGridNoUI && !InOverheadMap() )
else if( !gfGotoGridNoUI && !gfKeyboardItemCreationUI && !InOverheadMap() )
RenderMercStrings();
if( gfEditingDoor )
@@ -1026,7 +1027,7 @@ void ProcessEditorRendering()
RenderAllTextFields();
RenderEditorInfo();
if( !gfSummaryWindowActive && !gfGotoGridNoUI && !InOverheadMap() )
if( !gfSummaryWindowActive && !gfGotoGridNoUI && !gfKeyboardItemCreationUI && !InOverheadMap() )
{
if( gpItem && gsItemGridNo != -1 )
RenderSelectedItemBlownUp();