mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user