Louai Al-Khanji
ef13bf2b87
Fix for win32 compilation
2008-12-06 09:37:09 +00:00
Louai Al-Khanji
50d695ee04
Fix compilation error. Apparently gtk uses "protected" as a variable name somewhere in its headers, grumble grumble.
2008-12-05 03:09:36 +00:00
Louai Al-Khanji
e57d158f16
Missed this yesterday
2008-11-30 14:52:23 +00:00
Louai Al-Khanji
7f0c0634a6
Fix the ifdef to kick in on X11 only
2008-11-29 19:54:11 +00:00
Richard Goedeken
45bda08231
bugfix: crash in rev 1154 when ~/.mupen64plus not present
2008-11-29 14:27:22 +00:00
Louai Al-Khanji
b1bc93fd22
Use QCoreApplication::translate instead of QObject::tr. Fixes core
...
translations
2008-11-23 04:46:27 +00:00
Louai Al-Khanji
cc64200f58
Add support for translations to the Qt4 gui. I gave up on finding a good generic approach that's easy to implement and punted to Qt. Translators need to translate mupen64plus.ts. update_qt4_translations.sh should be run whenever a user-visible string changes.
2008-11-22 14:40:11 +00:00
Louai Al-Khanji
b43e00aeb6
Better plugin compatibility
2008-11-22 12:53:47 +00:00
Richard Goedeken
9c16087ce3
merged rev 1160 through 1162 back into trunk
2008-11-21 13:25:21 +00:00
Richard Goedeken
48fe5adc27
reverted commits 1160-1163
2008-11-20 13:23:56 +00:00
Louai Al-Khanji
2d0b8b4c37
Beginnings of gui managed render window. This makes SDL paint into a window provided by the GUI. Currently breaks SDL input processing and full screen mode. It does make the GUI handle all input however; this means that all shortcuts (like load/save state etc.) are now handled in one place. It also opens the door to embedding the render window inside the GUI.
2008-11-20 04:42:26 +00:00
Louai Al-Khanji
cf0369f553
Add missing break statement
2008-11-19 12:15:22 +00:00
Louai Al-Khanji
f322d9f5b4
Start working on a solution to plugins needing to query users for input. Qt4 does not allow the plugin thread to interact with the user directly, so I'm looking into how to best handle it with events and locks. This already works; glide64 does not crash the emulator anymore when playing lylat wars for instance. It's quite ugly though, especially the QWaitCondition pointer.
2008-11-19 08:29:59 +00:00
Richard Goedeken
2bb620d351
fixed spelling error
2008-11-14 13:41:07 +00:00
Richard Goedeken
ec4dd04541
refactored the end of the main() function to be easier to read, not have duplicate copies of the cleanup code, and save the config files in the NO_GUI build also
2008-11-14 05:15:08 +00:00
Richard Goedeken
0ecd3bf5cf
refactored the SDL event loop to use configurable key commands with defaults set to the current hard-coded keys. This is derived from the first patch given in issue 41
2008-11-14 04:53:47 +00:00
Richard Goedeken
ea427f0108
modified the config object so that missing values in the config file will be filled in automatically by their default values
2008-11-14 04:50:29 +00:00
Richard Goedeken
2718fe0963
cheat dialog GTK visual improvement from ZZT32
2008-11-14 04:00:35 +00:00
Scott Knauert
5863b40a76
Fixed minor gtk GUI button issue.
2008-11-02 23:27:50 +00:00
Scott Knauert
c244aa8c44
Silly gtk enum fix.
2008-11-02 21:58:03 +00:00
Scott Knauert
412d0431cb
Minor header fix.
2008-11-02 21:54:21 +00:00
Scott Knauert
9d0940c64a
Comments for my commenting out of Slougi's plugin config calling change. Originally this was added while working on the win32 build. It interfere's with Rice's awareness that the emulator is running, and Slougi was unsure of why exactly he added it for win32. When more work is done towards win32 compatibility, this may either be ifdefed or a better solution found.
2008-11-02 08:48:32 +00:00
Scott Knauert
8049d55592
Fix race conditions and gdk threading issues that cause crashes with Rice.
...
- Only update the GUI's state after fully initializing the core in the emulation thread. This stops a race condition when plugin loading takes a long time (mostly noticable with hi-res textures on Rice).
- Exit gdk when calling core functions (core start / stop / pause - likely others will need this) since they may turn around and call GUI functions. This prevents a double locked gdk which causes a freeze.
2008-11-02 08:43:15 +00:00
Scott Knauert
bc96409829
Extra header includes and minor fixes (mainly type issues like "lX" (int)) to remove -Wall warnings from the debugger.
2008-10-31 16:58:29 +00:00
Scott Knauert
1f6142fa39
Fixed license header issue with gtk debugger by switching to our standard template. Moved licenses to /doc. Removed only demo roms and replaced with marshall's Mupen64Plus Demo rom. Need to contact him for source and to finalized licensing, planning for the rom to be GPLed.
2008-10-29 21:50:34 +00:00
Scott Knauert
eaea016270
Added stop rumble to load savestate, fixes issue 165.
2008-10-29 16:18:56 +00:00
Scott Knauert
cf11a8e6aa
No infinite error dialogs. Just a single one and sometimes crash on seg fault.
2008-10-28 02:06:12 +00:00
Scott Knauert
2ebe098c20
Implemented minor Gdk threading change. Appears to fix debugger crash on close bug.
2008-10-26 09:44:54 +00:00
Scott Knauert
eeefaacffb
Commit Richard's crc fix.
2008-10-13 01:46:57 +00:00
Scott Knauert
1d7a568b4b
Add Remove All rombrowser settings tab in Gtk GUI. Fixed minor callback bug.
2008-10-13 01:23:45 +00:00
Louai Al-Khanji
11b8ef45be
Make data function have a single exit point again.
2008-10-12 23:09:08 +00:00
Louai Al-Khanji
72b498d391
Some trivial code style changes.
2008-10-12 23:02:11 +00:00
Scott Knauert
37c8e5c42b
Fixes issue 154 (Qt4 GUI crashes if all ROMs removed).
2008-10-12 22:49:23 +00:00
Scott Knauert
1ba65b8a4d
Add status support to rom loading function for .zipped roms. Should Fix issue 163.
2008-10-12 07:53:51 +00:00
Scott Knauert
eb24074f76
Fixes issue 162. Windows snprintf requires the NULL despite ANSI spec. Added general comment to issue 109.
2008-10-12 04:42:50 +00:00
Scott Knauert
596205c94f
Fix issues 161.
2008-10-11 22:49:54 +00:00
Scott Knauert
5699d47fb4
Minor fixes for util.c. Possible fix for issue 162.
2008-10-11 22:29:47 +00:00
Scott Knauert
a8dfd0e785
License header changes for Debian inclusion (wrong FSF address).
2008-10-11 05:48:50 +00:00
Scott Knauert
347e32c7fc
Should fix inability to detect zipped roms. Bug introduced when fixing -Wall warnings in unzip library.
2008-10-11 02:30:50 +00:00
Scott Knauert
777c6f9c1f
Fix __LINE__ macro is of type %d no %c in fprintf error. Also implemented Qt4-like start / pause / stop button behavior in Gtk2 GUI.
2008-10-05 23:00:45 +00:00
Scott Knauert
ce19873672
More gui_message cleanup.
2008-10-05 22:44:51 +00:00
Scott Knauert
9c0cdf8b8e
Going back to the older Gtk2 gui_message with a minor bug fix.
2008-10-05 22:37:39 +00:00
Louai Al-Khanji
573754f057
Fix up gui_message calls. Clean up gtk implementation.
2008-10-05 20:48:15 +00:00
Louai Al-Khanji
98d3f99fe0
Rework the gui state api a bit. Don't pass the enum through an unsigned
...
char. Changed the way the Qt4 ui handles things internally a bit.
Changed the gui_message to not use an unsigned char as well while I was
at it.
2008-10-05 15:18:59 +00:00
Scott Knauert
c53030d143
Minor Gtk toolbar tooltip fix.
2008-10-05 05:43:08 +00:00
Scott Knauert
663c3f2c13
Change how plugin combos are toggled in the Gtk GUI to update on state change.
2008-10-05 05:41:00 +00:00
Scott Knauert
008a65eaeb
Primarily implementation of new GUI state API and associated Gtk2 and Qt4 implementations. Fixed one minor Gtk bug (unable to select large toolbar icons). Fixed a could of NO_GUI warnings. Changed romcache.h to not define RCS structures in NO_GUI mode (more optimized NO_GUI binary). Fixed some non-ANSI static code analysis "bugs" mainly function() -> function(void) in C declarations. Also some GPL header updates to the newest template. Sorry for the large commit.
2008-10-05 03:33:52 +00:00
Scott Knauert
acfef370c1
Fixed accidental rcs bug. Some new comments for rom.h and fixed Fullscreen crashing on the Qt4 GUI.
2008-10-02 21:15:17 +00:00
Richard Goedeken
0a1b86cf64
added ctype.h include for toupper()/tolower() functions
2008-09-29 20:04:18 +00:00
Richard Goedeken
210f946cae
added newlines to the end of every source file which was missing one
2008-09-27 15:22:21 +00:00