From b571fa091900d165ef848b26c819d5f88a415ec7 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 10 Jan 2021 20:26:21 -0800 Subject: [PATCH] Add F9 "reload resources" hotkey to list of hotkeys in Shift menu 2.3's per-level assets feature also added a hotkey to reload the custom assets of the level you're currently editing in the editor, so you wouldn't have to re-load the level yourself. This hotkey is F9, but however, it hasn't been documented in the hotkey list brought up by pressing Shift, until now. --- desktop_version/src/editor.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index 61ca5f1b..bd2bd264 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -3463,14 +3463,15 @@ void editorrender() if(ed.shiftmenu) { - fillboxabs(0, 127,161+8,140,graphics.getRGB(64,64,64)); - FillRect(graphics.backBuffer, 0,128,160+8,140, graphics.getRGB(0,0,0)); - graphics.Print(4, 130, "F1: Change Tileset",164,164,164,false); - graphics.Print(4, 140, "F2: Change Colour",164,164,164,false); - graphics.Print(4, 150, "F3: Change Enemies",164,164,164,false); - graphics.Print(4, 160, "F4: Enemy Bounds",164,164,164,false); - graphics.Print(4, 170, "F5: Platform Bounds",164,164,164,false); + fillboxabs(0, 117,171+8,140,graphics.getRGB(64,64,64)); + FillRect(graphics.backBuffer, 0,118,170+8,140, graphics.getRGB(0,0,0)); + graphics.Print(4, 120, "F1: Change Tileset",164,164,164,false); + graphics.Print(4, 130, "F2: Change Colour",164,164,164,false); + graphics.Print(4, 140, "F3: Change Enemies",164,164,164,false); + graphics.Print(4, 150, "F4: Enemy Bounds",164,164,164,false); + graphics.Print(4, 160, "F5: Platform Bounds",164,164,164,false); + graphics.Print(4, 180, "F9: Reload Resources",164,164,164,false); graphics.Print(4, 190, "F10: Direct Mode",164,164,164,false); graphics.Print(4, 210, "W: Change Warp Dir",164,164,164,false);