Jesse Dean
4a0ae5000f
Resubmitting fixes to debugger.
2008-04-30 23:34:47 +00:00
James Hood
1496911600
gui_parseArgs was changed to gui_init in r213. Updated kde4 gui code.
2008-04-28 06:44:55 +00:00
James Hood
53b40c8cd5
-cleaned up save state autoincrement feature.
...
-added joystick mapping support for incrementing the save state slot.
2008-04-26 00:57:37 +00:00
James Hood
a6199536e4
Made the following changes to gtk gui menu for save slots (see issue 35 for details):
...
-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.
2008-04-25 21:38:36 +00:00
James Hood
2ead0b2a03
converted emulator playback speed printf's to info_message calls so they don't clutter up the console
2008-04-24 19:53:31 +00:00
James Hood
666a1a2ae9
Removed code that resets selected tab of config dialog everytime it's shown. This change was made due to user request.
2008-04-24 15:20:17 +00:00
James Hood
ef14c2cabd
Added cheat system support such that if a cheat is disabled during gameplay, the original memory values before the cheat was applied will be written back to memory to attempt to reverse the cheat.
...
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.
2008-04-24 07:40:31 +00:00
James Hood
d223e7530d
Made cheat dialog prettier, i.e., used table layout widget to line up form widgets more neatly.
2008-04-24 05:50:20 +00:00
James Hood
ed946013f6
-Removed install of doc/readme.pdf from install.sh since it no longer exists.
...
-Updated keyboard key for pause emulation from 'P' to "Pause" in the controller hotkey mapping dialog.
2008-04-24 05:18:33 +00:00
Richard Goedeken
eea1e01066
renamed static variables in main.c to replace the incorrect g_ (global) prefix with l_ for local
2008-04-24 04:38:13 +00:00
Richard Goedeken
7cc1373c60
Added 2 small features to support regression test. One is to count frame numbers and print current frame for each screenshot taken. Second is to accept new parameter --testshots with comma-separated list of frames at which to take screenshots. Tested with all 3 video plugins and PNG md5sums match between manual and automatic screenshots
2008-04-24 04:15:44 +00:00
Richard Goedeken
7be0f6a771
simplified screenshot naming code. change spaces to underscores instead of removing. fixed bug
2008-04-23 13:30:58 +00:00
Richard Goedeken
47623cc7e6
reverted changes in 287 because debugger has a branch
2008-04-23 12:29:16 +00:00
Jesse Dean
e2fb5b7dd2
Initial cleanup of debugger & gtk gui code to allow use of DBG=1 flag. Code now compiles, and debugger shows up,
...
although at this time it does little else, and does prevent emulation from running properly. --Jes
2008-04-23 11:25:24 +00:00
Scott Knauert
51047378fb
Added USA/Japan flag. Icon was included with mupen, but
...
not used. 1080 Snowboarding is an example of this ROM
type.
2008-04-23 10:28:25 +00:00
Scott Gorman
f653d8fb47
Whitespacing issues.
2008-04-23 07:07:20 +00:00
James Hood
16a274adb6
-Rewrote cheat dialog to handle add/edit and enable of cheats all in one dialog.
...
-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.
2008-04-23 06:46:47 +00:00
Scott Gorman
a0b5b1b830
added a lowercase function. changes a string to lowercase.
...
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
2008-04-23 06:05:55 +00:00
Richard Goedeken
578f272278
Reworked screenshot mechanism. Now screenshots are retrieved from video plugins with ReadScreen instead of CaptureScreen, and compressed/saved from main core instead of plugins. Fixed 64-bit bug in Glide64.
2008-04-23 03:59:09 +00:00
Richard Goedeken
e90c151f1e
Moved Zilmar spec plugin API files from main directory to doc. They are only for reference and are not included anywhere
2008-04-23 02:14:42 +00:00
Scott Knauert
1e1e2d7265
Fixed the pointer bug which caused the Gtk GUI flag error.
2008-04-22 22:19:14 +00:00
James Hood
605a4a02b1
Changed pause/continue keyboard shortcut to Pause/Break key because the previous shortcut 'p' was conflicting with the new rom filter.
2008-04-22 20:49:45 +00:00
James Hood
658b341eb6
Changed rom browser filter so it filters as the user types instead of requiring them to press enter. I think this is a more modern approach, but I don't have a lot of roms, so someone who does should probably try it out to make sure it doesn't cause performance issues.
2008-04-22 15:01:12 +00:00
Scott Knauert
c456b9bfc1
Fixed a collision from variable rename.
2008-04-22 13:57:05 +00:00
Scott Knauert
cd92cf9f9a
Gtk GUI filter and improved sorting functions.
2008-04-22 13:10:42 +00:00
Richard Goedeken
6adfa80ecf
reverted commits 262-267 in trunk
2008-04-22 11:59:50 +00:00
John Chadwick
d54963521e
Needs more work, because it doesn't work, but this is the outline of status message support.
2008-04-22 05:58:11 +00:00
John Chadwick
8e58d6c774
Fixes compile errors since last revision
2008-04-22 04:49:24 +00:00
Scott Gorman
d029a9054a
added functions for maintaining a list of TXT_OBJECTS
...
#define TXTOBJECTSIZE 12
2008-04-22 04:27:26 +00:00
Scott Gorman
4568b9011a
Added support for the functions UpdateText and NewMessage in plugin.h, plugin.c, and fixed a typo Gfx_#1.3.h
2008-04-22 03:51:30 +00:00
John Chadwick
5a856e10d2
Adds font display functions.
2008-04-22 03:34:21 +00:00
Scott Gorman
ff48e7ad62
Graphics plugin extension - TXT_OBJECT. Used for displaying text on the screen..
2008-04-22 02:13:29 +00:00
Richard Goedeken
5df1959b04
KDE4 GUI merge: give default visibility attribute with dllexport declspec
2008-04-21 00:15:04 +00:00
Richard Goedeken
0d214a07bb
KDE4 GUI merge: error logging when plugin fails to load
2008-04-21 00:13:50 +00:00
Richard Goedeken
a53dcfa683
KDE4 GUI merge: added main/gui_kde4 directory
2008-04-20 23:57:12 +00:00
Scott Knauert
e984cab71a
Removed second status bar which was not used (even in 0.5)
...
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.
2008-04-20 22:51:23 +00:00
Scott Knauert
4f87fa787f
Minor update to the ROM Properties dialogue. Minor
...
GUI style corrections. Made hitting enter in the comments
dialogue apply the changes. Partially fixes Issue 66.
2008-04-20 20:33:20 +00:00
James Hood
d37739f761
Fixed segfault introduced by r244. Segfault would happen if you start mupen64plus, press the play button without selecting any roms in the rombrowser. When the dialog pops up asking if you want to load a rom, select yes and select a rom via the file chooser and click open.
2008-04-20 15:24:54 +00:00
Scott Knauert
f272302d26
Fixed Issue 6, if a ROM is selected in the ROM browser and
...
the 'play' is pressed, emulation will start if mupen can
load the ROM.
2008-04-20 09:28:49 +00:00
Scott Knauert
b2c0dafa81
After the Comment is altered in the ROM Properties dialogue,
...
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.
2008-04-20 08:59:39 +00:00
Scott Knauert
48846dd477
Fixed Issue 62, restored ROM browser column sorting as in 0.5
...
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.
2008-04-20 08:10:28 +00:00
James Hood
64fcb851fe
-Moved ability for start emulation to also continue emulation (committed in r237) to startEmulation function of main/main.c, so other gui's don't have to re-implement it.
...
-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).
2008-04-19 23:32:34 +00:00
Scott Knauert
f3a922e71f
Adds the ability for GUI start to also continue emulation. This minor GUI fix
...
makes our Play/Pause/Stop follow convention.
2008-04-19 22:02:23 +00:00
James Hood
175cbb86a3
whitespace changes
2008-04-18 16:47:11 +00:00
Richard Goedeken
22b3a8bf97
removed unnecessary if statement. forced rompause=0 instead of calling pauseContinueEmulation to avoid getting messages when stepping frames
2008-04-18 00:19:10 +00:00
Scott Gorman
e5bb344109
Added frame advanced feature, press '/' or '?' to advance a frame and pause the game (great for recording TAS videos).
2008-04-17 18:29:08 +00:00
Richard Goedeken
cbc32cb208
Removed unused LimitFPS option
2008-04-17 15:27:04 +00:00
Richard Goedeken
2d8be8299c
Merged r0177-speed-change branch into trunk
2008-04-17 15:15:41 +00:00
James Hood
49aad76ff0
Implemented accelerator keys in the gtk gui. These are keyboard shortcuts that cause certain menu items to be activated, e.g., Alt+Return activates the fullscreen menu item. This also adds the accelerator keys to the menu items so the user can see the shortcut for that function.
2008-04-17 06:38:26 +00:00
James Hood
5a27989463
-Fixed menu "accelerator" problem. The correct term to use for the underlined letter in the file menu items is "mnemonic". Anyway, they work now.
...
-Minor change to man page.
2008-04-17 06:00:23 +00:00