Added F12 shortcut in editor
This commit is contained in:
parent
b072df4d2d
commit
83e3ba69e6
3 changed files with 7 additions and 1 deletions
|
@ -1217,6 +1217,11 @@ local void EditorCallbackKeyDown(unsigned key, unsigned keychar)
|
|||
InterfaceState = IfaceStateNormal;
|
||||
break;
|
||||
|
||||
case KeyCodeF12:
|
||||
EditorLoadMenu();
|
||||
InterfaceState = IfaceStateNormal;
|
||||
break;
|
||||
|
||||
case 'v': // 'v' Viewport
|
||||
if (KeyModifiers & ModifierControl) {
|
||||
CycleViewportMode(-1);
|
||||
|
|
|
@ -343,6 +343,8 @@ extern void EditorEditAiProperties(void);
|
|||
|
||||
/// Save map from the editor
|
||||
extern int EditorSaveMenu(void);
|
||||
/// Load map from the editor
|
||||
extern void EditorLoadMenu(void);
|
||||
|
||||
/// Error menu
|
||||
extern void ErrorMenu(char *);
|
||||
|
|
|
@ -300,7 +300,6 @@ local void EditorLoadOk(void);
|
|||
local void EditorLoadCancel(void);
|
||||
|
||||
// Editor menu
|
||||
local void EditorLoadMenu(void);
|
||||
local void EditorMapPropertiesMenu(void);
|
||||
local void EditorPlayerPropertiesMenu(void);
|
||||
local void EditorQuitToMenu(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue