Make scenedit prefs accessible on Windows

This commit is contained in:
2025-01-11 23:08:53 -06:00
committed by Celtic Minstrel
parent 491857d0f9
commit 59de48f25e
3 changed files with 4 additions and 2 deletions

View File

@@ -71,6 +71,7 @@ BEGIN
MENUITEM "Save &As\tCtrl+Shift+S", IDM_FILE_SAVE_AS
MENUITEM "&Revert to Saved", IDM_FILE_REVERT
MENUITEM SEPARATOR
MENUITEM "Preferences", ID_FILE_PREFERENCES
MENUITEM "&Quit\tCtrl+Q", IDM_FILE_QUIT
END
POPUP "Edit"

View File

@@ -75,6 +75,7 @@
#define IDM_SCEN_LAUNCH_HERE 170
#define IDM_SCEN_LAUNCH_START 171
#define IDM_SCEN_LAUNCH_ENTRANCE 172
#define ID_FILE_PREFERENCES 173
// Next default values for new objects
//
@@ -83,6 +84,6 @@
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40014
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 173
#define _APS_NEXT_SYMED_VALUE 174
#endif
#endif

View File

@@ -69,7 +69,7 @@ void init_menubar() {
inited = true;
static const eMenu file_choices[] = {
eMenu::FILE_NEW, eMenu::FILE_OPEN, eMenu::NONE, eMenu::FILE_CLOSE, eMenu::FILE_SAVE, eMenu::FILE_SAVE_AS, eMenu::FILE_REVERT, eMenu::NONE, eMenu::QUIT,
eMenu::FILE_NEW, eMenu::FILE_OPEN, eMenu::NONE, eMenu::FILE_CLOSE, eMenu::FILE_SAVE, eMenu::FILE_SAVE_AS, eMenu::FILE_REVERT, eMenu::NONE, eMenu::PREFS, eMenu::QUIT,
};
static const eMenu edit_choices[] = {
eMenu::EDIT_UNDO, eMenu::EDIT_REDO, eMenu::NONE,