- Cleaned up Gtk GUI emulation menu.
- Added accelerator group for non-meta accelerators so the don't
interfere with entries (like the filter)
- Added savestate_get_filename() helper function.
- Changing the savestate in the Gtk GUI is relayed to the user via the
statusbar.
-Renamed menu to "Current save slot"
-When save slot menu is opened, gui checks the current save slot and makes sure the selected slot in the menu matches it.
-Removed "Default" slot option and replaced with slot 0. Slot 0 is the default on mupen64plus startup.
For example, before this fix, if you enabled the "Mario flies without wingcap" cheat during gameplay, it would work, but if you then disabled it during gameplay, Mario would still be able to fly. Now it correctly restores the old memory values so Mario can't fly anymore after you disable the cheat. Note, because cheats are basically writing to a random area of memory, this function may not always restore the previous state depending on the way that area of memory is used by the game.
-Removed Cheat menu and replaced it with "Cheats..." menu item in the Options menu.
-Modified alert_message and confirm_message so they handle line wrap of the message internally, so now it's no longer necessary to insert newline chars into strings passed to alert_message and confirm_message.
-added list_find_node utility function to util.c.
-added utility functions to create/delete cheat structures for use by the gui.
stub: void lowercase(char string[]);
modified the screenshot function to use the roms header (without spaces, and converted to lowercase) name:
example: supermario64_001.png
as it caused two Gtk resize handles to be drawn on the
main window. Left in framework for multiple status bars
in case we actually want to use this in the future.
the ROM browser is updated. Minor changes to the sorting and
refresh functions as I had incorrectly renamed the sorting
function when I rewrote it in commit 242. Also set the default
sort elsewhere to refresh to be general and not effect sorting.
with the change of the default sort category being the Filename
istead of the GoodName. This is easily changed if after the GoodName
update we want to put it back.
Also changed the column sizing policy to be more sane, allowing
the user to resize and reorder columns and for columns which normally
contain large strings (FileName, GoodName, Comments) to expand on
resize.
-Also removed gui code that tries to change the name of the pause toolbar item to either "Pause" or "Resume". I think most users understand that the pause key will also unpause. Plus the name can get out of sync due to the many alternative ways to pause/continue emulation (lirc, keyboard shortcut, mapped controller button).