diff options
author | 2016-07-05 11:16:05 +1000 | |
---|---|---|
committer | 2016-07-05 11:16:05 +1000 | |
commit | 2c9dfd77ba8de267a204849fc258356c9172cdbc (patch) | |
tree | cb45bc747ec5c1bbb0db927a3113d336623926ed /src/frontend/mame/ui/mainmenu.cpp | |
parent | 09b6b311ff10e0c463420340da82172662c3e988 (diff) |
Revert "C++ comments for some parts."
This reverts commit 19c4764090d1c5131945d11737de8a3bb421b9aa.
Diffstat (limited to 'src/frontend/mame/ui/mainmenu.cpp')
-rw-r--r-- | src/frontend/mame/ui/mainmenu.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/frontend/mame/ui/mainmenu.cpp b/src/frontend/mame/ui/mainmenu.cpp index 8f51dd12f5c..7fa50f9f8ea 100644 --- a/src/frontend/mame/ui/mainmenu.cpp +++ b/src/frontend/mame/ui/mainmenu.cpp @@ -50,12 +50,12 @@ menu_main::menu_main(mame_ui_manager &mui, render_container *container) : menu(m void menu_main::populate() { - // add input menu items + /* add input menu items */ item_append(_("Input (general)"), "", 0, (void *)INPUT_GROUPS); item_append(_("Input (this Machine)"), "", 0, (void *)INPUT_SPECIFIC); - // add optional input-related menus + /* add optional input-related menus */ if (machine().ioport().has_analog()) item_append(_("Analog Controls"), "", 0, (void *)ANALOG); if (machine().ioport().has_dips()) @@ -65,27 +65,27 @@ void menu_main::populate() item_append(_("Machine Configuration"), "", 0, (void *)SETTINGS_DRIVER_CONFIG); } - // add bookkeeping menu + /* add bookkeeping menu */ item_append(_("Bookkeeping Info"), "", 0, (void *)BOOKKEEPING); - // add game info menu + /* add game info menu */ item_append(_("Machine Information"), "", 0, (void *)GAME_INFO); for (device_image_interface &image : image_interface_iterator(machine().root_device())) { if (image.user_loadable()) { - // add image info menu + /* add image info menu */ item_append(_("Image Information"), "", 0, (void *)IMAGE_MENU_IMAGE_INFO); - // add file manager menu + /* add file manager menu */ item_append(_("File Manager"), "", 0, (void *)IMAGE_MENU_FILE_MANAGER); break; } } - // add tape control menu + /* add tape control menu */ if (cassette_device_iterator(machine().root_device()).first() != nullptr) item_append(_("Tape Control"), "", 0, (void *)TAPE_CONTROL); @@ -95,33 +95,33 @@ void menu_main::populate() if (machine().ioport().has_bioses()) item_append(_("Bios Selection"), "", 0, (void *)BIOS_SELECTION); - // add slot info menu + /* add slot info menu */ if (slot_interface_iterator(machine().root_device()).first() != nullptr) item_append(_("Slot Devices"), "", 0, (void *)SLOT_DEVICES); - // add Barcode reader menu + /* add Barcode reader menu */ if (barcode_reader_device_iterator(machine().root_device()).first() != nullptr) item_append(_("Barcode Reader"), "", 0, (void *)BARCODE_READ); - // add network info menu + /* add network info menu */ if (network_interface_iterator(machine().root_device()).first() != nullptr) item_append(_("Network Devices"), "", 0, (void*)NETWORK_DEVICES); - // add keyboard mode menu + /* add keyboard mode menu */ if (machine().ioport().has_keyboard() && machine().ioport().natkeyboard().can_post()) item_append(_("Keyboard Mode"), "", 0, (void *)KEYBOARD_MODE); - // add sliders menu + /* add sliders menu */ item_append(_("Slider Controls"), "", 0, (void *)SLIDERS); - // add video options menu + /* add video options menu */ item_append(_("Video Options"), "", 0, (machine().render().target_by_index(1) != nullptr) ? (void *)VIDEO_TARGETS : (void *)VIDEO_OPTIONS); - // add crosshair options menu + /* add crosshair options menu */ if (machine().crosshair().get_usage()) item_append(_("Crosshair Options"), "", 0, (void *)CROSSHAIR); - // add cheat menu + /* add cheat menu */ if (machine().options().cheat()) item_append(_("Cheat"), "", 0, (void *)CHEAT); @@ -134,7 +134,7 @@ void menu_main::populate() item_append(menu_item_type::SEPARATOR); - // add favorite menu + /* add favorite menu */ if (!mame_machine_manager::instance()->favorite().isgame_favorite()) item_append(_("Add To Favorites"), "", 0, (void *)ADD_FAVORITE); else @@ -144,7 +144,7 @@ void menu_main::populate() // item_append(_("Quit from Machine"), nullptr, 0, (void *)QUIT_GAME); - // add reset and exit menus + /* add reset and exit menus */ item_append(_("Select New Machine"), "", 0, (void *)SELECT_GAME); } @@ -158,7 +158,7 @@ menu_main::~menu_main() void menu_main::handle() { - // process the menu + /* process the menu */ const event *menu_event = process(0); if (menu_event != nullptr && menu_event->iptkey == IPT_UI_SELECT) { switch((long long)(menu_event->itemref)) { |