Generate Symbols From menu added

This commit is contained in:
Sepalani
2017-03-25 00:52:17 +00:00
parent c5cc781205
commit 5b88782e30
4 changed files with 16 additions and 5 deletions

View File

@ -416,9 +416,14 @@ wxMenu* MainMenuBar::CreateSymbolsMenu() const
auto* const symbols_menu = new wxMenu;
symbols_menu->Append(IDM_CLEAR_SYMBOLS, _("&Clear Symbols"),
_("Remove names from all functions and variables."));
symbols_menu->Append(IDM_SCAN_FUNCTIONS, _("&Generate Symbol Map"),
_("Recognise standard functions from Sys/totaldb.dsy, and use generic zz_ "
"names for other functions."));
auto* const generate_symbols_menu = new wxMenu;
generate_symbols_menu->Append(IDM_SCAN_FUNCTIONS, _("&Address"),
_("Use generic zz_ names for functions."));
generate_symbols_menu->Append(
IDM_SCAN_SIGNATURES, _("&Signature Database"),
_("Recognise standard functions from Sys/totaldb.dsy, and use generic zz_ "
"names for other functions."));
symbols_menu->AppendSubMenu(generate_symbols_menu, _("&Generate Symbols From"));
symbols_menu->AppendSeparator();
symbols_menu->Append(IDM_LOAD_MAP_FILE, _("&Load Symbol Map"),
_("Try to load this game's function names automatically - but doesn't check "
@ -457,7 +462,7 @@ wxMenu* MainMenuBar::CreateSymbolsMenu() const
"two existing files. The first input file has priority."));
symbols_menu->Append(
IDM_USE_SIGNATURE_FILE, _("Apply Signat&ure File..."),
_("Must use Generate Symbol Map first! Recognise names of any standard library functions "
_("Must use Generate Symbols first! Recognise names of any standard library functions "
"used in multiple games, by loading them from a .dsy file."));
symbols_menu->AppendSeparator();
symbols_menu->Append(IDM_PATCH_HLE_FUNCTIONS, _("&Patch HLE Functions"));