diff options
-rw-r--r-- | src/lang/english.txt | 1 | ||||
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt index 68a8b5e3d..f61962892 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -338,6 +338,7 @@ STR_SCENEDIT_TOOLBAR_PLACE_OBJECT :{BLACK}Place ob ############ range for SE file menu starts STR_SCENEDIT_FILE_MENU_SAVE_SCENARIO :Save scenario STR_SCENEDIT_FILE_MENU_LOAD_SCENARIO :Load scenario +STR_SCENEDIT_FILE_MENU_SAVE_HEIGHTMAP :Save heightmap STR_SCENEDIT_FILE_MENU_LOAD_HEIGHTMAP :Load heightmap STR_SCENEDIT_FILE_MENU_QUIT_EDITOR :Quit editor STR_SCENEDIT_FILE_MENU_SEPARATOR : diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 4bd5efcf6..e879114d2 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -355,9 +355,10 @@ static CallBackFunction MenuClickSettings(int index) enum SaveLoadEditorMenuEntries { SLEME_SAVE_SCENARIO = 0, SLEME_LOAD_SCENARIO, + SLEME_SAVE_HEIGHTMAP, SLEME_LOAD_HEIGHTMAP, SLEME_EXIT_TOINTRO, - SLEME_EXIT_GAME = 5, + SLEME_EXIT_GAME = 6, SLEME_MENUCOUNT, }; @@ -387,6 +388,7 @@ static CallBackFunction MenuClickSaveLoad(int index = 0) switch (index) { case SLEME_SAVE_SCENARIO: ShowSaveLoadDialog(SLD_SAVE_SCENARIO); break; case SLEME_LOAD_SCENARIO: ShowSaveLoadDialog(SLD_LOAD_SCENARIO); break; + case SLEME_SAVE_HEIGHTMAP: ShowSaveLoadDialog(SLD_SAVE_HEIGHTMAP); break; case SLEME_LOAD_HEIGHTMAP: ShowSaveLoadDialog(SLD_LOAD_HEIGHTMAP); break; case SLEME_EXIT_TOINTRO: AskExitToGameMenu(); break; case SLEME_EXIT_GAME: HandleExitGameRequest(); break; |