Commit Graph

140 Commits

Author SHA1 Message Date
punkrockguy318 7fcfed38bd gtk: use accelerator functions instead of direct access for future gtk3 compilation 2011-04-09 03:12:46 +00:00
plombo 602b7e82fe sdl: make previous commit compatible with SDL 1.3 2011-03-30 03:11:34 +00:00
plombo 1b5b6ee38d sdl: change the way that the Shift and Alt keys are detected
Fixes an issue that would occur after switching from SDL fullscreen to GTK+ windowed, where pressing Enter after releasing Alt in windowed mode would trigger a switch back to fullscreen.
2011-03-30 02:56:44 +00:00
plombo eb0c8e6175 gtk: make the 'Change State' menu items (0-9) look normal, and update its selection when the state slot is changed with a hotkey 2011-03-29 23:42:43 +00:00
plombo c76d4bf20d gtk: fix some minor issues
Only allow the emulator to handle key events when the main window has the input focus

Don't write anything to stdout when configuring a button using the GTK+ control config dialog.
2011-03-22 23:36:16 +00:00
plombo bd87146cca sdl: don't needlessly kill the video and input subsystems before control configuration 2011-03-22 22:53:45 +00:00
punkrockguy318 4f1bae8c58 sdl: removed GTK_LITE build option in favor of --nogui runtime option
you can still disbale compiling in gtk with GTK=0
2011-03-19 02:28:01 +00:00
plombo d8f4c3636c gtk: replaced Pause checkbox with Pause menu item that changes to Resume when pausing and vice versa when unpausing, and fixed the bug where FCEUX would stop responding after unpausing 2011-03-19 01:16:09 +00:00
plombo fe73d11f9b gtk: Replaced the control config dialog with a newer, more usable one.
For a detailed changelog, see https://github.com/Plombo/fceux/tree/control-config2
2011-03-04 23:38:11 +00:00
ugetab 046617c693 Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
punkrockguy318 2f0651c7cc sdl: fixed a bug introduced in r1744; i think qeed committed changes to an older version of the file or something; all is well now
the bug slowed the emulation speed down to 2%
2010-05-05 08:29:37 +00:00
qeed 5308b98264 p2mic thing 2010-05-01 21:17:42 +00:00
punkrockguy318 7189095a37 GTK: fixed segfault when exiting GetFilename dialog 2010-03-07 08:07:49 +00:00
punkrockguy318 3507285489 sdl: major code cleanup
sdl: usage info updated
2010-03-04 06:53:15 +00:00
punkrockguy318 13439c0ee8 sdl: vs unisystem keys now mappable 2010-03-03 22:55:42 +00:00
punkrockguy318 70fed68de4 SDL: changed default keybindings to match w32 defaults 2010-03-03 09:28:23 +00:00
punkrockguy318 c15c8e5025 SDL: new default select is / 2010-02-28 07:50:10 +00:00
punkrockguy318 c32e80286f SDL: hotkey config system revamped. shouldn't be too difficult to write a GUI for defining hotkeys in the near future 2010-02-27 20:05:42 +00:00
punkrockguy318 1481f6491f GTK: removed dependency on zenity
SDL: added GTK_LITE option which enables GTK for dialog boxes but sticks to a command-line interface
GTK: changed the name of some macros; enable with GTK instead of GTK2
2010-02-25 06:22:07 +00:00
punkrockguy318 14312c7526 sdl: don't test for fds keys when fds rom isn't loaded 2010-02-24 07:55:12 +00:00
punkrockguy318 0547ec7af7 SDL: fds eject/insert now mappable; default f6 and f8
GTK: addded insert/eject menu options
NOTE: fds files are still broken in SDL (error loading auxillary fds file?)
2010-02-24 07:52:37 +00:00
punkrockguy318 44c7b1ad17 SDL: fixed alt/shift bug i comitted a revision ago
SDL: set sane defaults for sound; enable newPPU by default
2010-02-23 02:49:39 +00:00
punkrockguy318 c6dca72ba9 SDL: fixed alt/shift modifiers for sdl 1.2 and 1.3 2010-02-23 02:02:59 +00:00
punkrockguy318 f31989c8fa SDL: accidently comitted something stupid
TODO: shift/alt mods in 1.3
2010-02-23 01:54:09 +00:00
punkrockguy318 6a45cd05e9 SDL: fceuX ported to SDL 1.3; full compatibility maintained with 1.2
SDL: compile-time SDL version printed with "--help"
2010-02-23 01:31:54 +00:00
punkrockguy318 d503388437 SDL: Throttling key is now mappale (default: TAB) 2010-02-20 04:04:38 +00:00
punkrockguy318 82c55b16e4 GTK: added GUI for --inputcfg; only works with gamepad 1 currently 2010-02-19 00:40:16 +00:00
punkrockguy318 11298ff1a5 improved boundary checking for previous bugfix 2010-02-17 06:00:41 +00:00
punkrockguy318 1bb4c8f53e SDL: bugfix - no longer crashes with invalid keys in fceux.cfg 2010-02-17 05:51:32 +00:00
punkrockguy318 491311db44 added lua script loading to gtk2 gui 2009-12-21 20:03:24 +00:00
punkrockguy318 b62bdede3b gtk2 bugfix: no longer crashes when escape hotkey is used
note to SDL: use CloseGame in the SDL code, not FCEUI_CloseGame.
2009-12-21 11:41:58 +00:00
zeromus b8a4067542 sdl: dont allow --inputcfg gamepad0 and gamepad5 etc. as there arent actually that many gamepads 2009-12-07 01:19:52 +00:00
shinydoofy c7a24fe74f SDL: fixed Four Score movie playback 2009-05-10 18:26:45 +00:00
shinydoofy b4f4f62553 SDL: implemented FCEUD_SaveStateAs and FCEUD_LoadStateFrom 2009-04-12 16:38:59 +00:00
shinydoofy 447383efd2 SDL: implemented FCEUD_MovieRecordTo 2009-04-11 20:30:22 +00:00
shinydoofy c18c460e8d SDL: some groundwork for implementation of now-dummy functions 2009-04-11 15:51:13 +00:00
shinydoofy 67c9ed20fd SDL - hotkey Q for toggling read-only/read+write 2009-04-11 03:26:36 +00:00
shinydoofy ae53895a13 SDL: fixed compilation error without -DCREATE_AVI introduced in r1239 2009-03-29 13:20:10 +00:00
shinydoofy 48a9428abc SDL: hotkey Del to toggle --mute for avi capturing 2009-03-28 22:15:53 +00:00
shinydoofy dc244cddee SDL: added --inputdisplay 2009-03-22 19:26:28 +00:00
shinydoofy 7099dcfeea SDL - fixed compilation error introduced in r1160 and mouse pointer not showing up for zapper games 2009-03-12 15:18:15 +00:00
adelikat e7a6f54356 This should fix the SDL build 2009-03-12 01:12:26 +00:00
shinydoofy 3ee98c538f added toggle for movie auot-backup for SDL 2008-12-23 01:25:30 +00:00
shinydoofy 60fe20142e movie subtitle toggle for SDL 2008-11-23 22:29:02 +00:00
punkrockguy318 08ba562b06 test commit to fix sdl frame advance 2008-11-13 18:45:13 +00:00
punkrockguy318 ef335b1321 small change to last rev 2008-11-13 18:25:25 +00:00
punkrockguy318 a29c8f25a4 hotkey overhaul; should increase sdl performance 2008-11-13 18:23:17 +00:00
punkrockguy318 465ad101d1 savestates mappable in sdl 2008-11-11 18:51:06 +00:00
shinydoofy d9ea2a263a added SDL avi creation support and changed speed throttling to use it 2008-10-25 12:36:03 +00:00
shinydoofy d0992f7ff5 toggle skipping of lag frames for SDL build 2008-10-19 17:48:06 +00:00
shinydoofy a0d5740d7c skip lag when frame advancing toggled for SDL build 2008-10-19 17:01:37 +00:00
shinydoofy cb68bc0631 added toggle to bind savestates to movie for SDL 2008-10-19 16:01:55 +00:00
punkrockguy318 44e3212310 made input cnofig window more usable 2008-09-24 08:55:43 +00:00
punkrockguy318 407f0f8663 optional lua in sdl 2008-09-24 06:06:31 +00:00
punkrockguy318 b71c4c3b5e frameskipping fixed in sdl? 2008-08-14 17:06:19 +00:00
punkrockguy318 aa0923a3a8 frame advance improvements in sdl 2008-08-14 16:49:18 +00:00
punkrockguy318 5e44ec6f4a fixed segfault when opening fcm files; will now warn user to open fm2 files 2008-08-12 08:24:39 +00:00
punkrockguy318 d852574c62 Gfceux bugfixes and sdl fceux bugfixes
[[Split portion of a mixed commit.]]
2008-08-11 03:16:46 +00:00
punkrockguy318 60147db30f added file open dialog to movie playback and other bugfixes 2008-08-10 15:24:30 +00:00
punkrockguy318 88b1fffe9d extensive sdl cleanup
see the changelog.txt for details
2008-08-10 13:38:39 +00:00
punkrockguy318 01a095c7a4 Numerious bugfixes and improvements, see changelogs for details
[[Split portion of a mixed commit.]]
2008-08-10 10:56:55 +00:00
punkrockguy318 36d4f31a61 Fixed sdl build to reflect movie.h changes 2008-08-10 09:50:20 +00:00
punkrockguy318 5b6db7c429 Added a win32 file chooser to the sdl build for lua loading.. Could someone please test this? 2008-08-10 08:39:08 +00:00
punkrockguy318 16617596df Lua script loading can now be done on the fly in the SDL build. F3 is the default hotkey. The file chooser however requires the zenity application to work. 2008-08-10 08:24:42 +00:00
punkrockguy318 1e7bd198df Code cleanup and some movie playback fixes 2008-08-02 17:40:17 +00:00
punkrockguy318 fd1b6cf482 oops 2008-08-02 17:24:41 +00:00
punkrockguy318 a482fdce5d Fixed some issues with movie recording in sdl; however it's still sketchy 2008-08-02 17:22:28 +00:00
punkrockguy318 9c784d3496 cleanup to sdl movie recording; still segfaults on record 2008-08-02 16:57:05 +00:00
punkrockguy318 15acec182a movies are fm2 not fc2, doh 2008-07-03 18:59:32 +00:00
punkrockguy318 1256d0dd4c now saves to ~/.fceultra/movie/#.fc2 2008-07-03 06:50:46 +00:00
punkrockguy318 7429008e25 fixed saving/loading movies in sdl port 2008-07-03 06:35:37 +00:00
punkrockguy318 9c99722fa1 fixed bug that was introduced with config for hotkeys; increase and decrease speed now work properly and hotkey functions are made sure to only be executed once per keypress 2008-06-29 21:54:10 +00:00
punkrockguy318 832f346fc8 most of the SDL hotkeys can now be mapped in the config file under SDL.Hotkeys.* 2008-06-28 15:49:37 +00:00
punkrockguy318 851ef0d7fb fixed build errors on sdl 2008-06-22 22:06:14 +00:00
punkrockguy318 6733a2f8a3 fixed more compile issues with gcc 2008-06-17 16:59:16 +00:00
jeblanchard 84e7d10f38 Kill many warnings. Note: may waste bytes of memory! 2008-06-10 16:06:14 +00:00
jeblanchard 81d1a6c7eb Fix SDL after r425 -- checkin comments from r425 still apply to both input.cpp files 2008-06-09 11:56:10 +00:00
punkrockguy318 db4fbe165f fixed build errors in sdl version 2008-06-07 21:51:04 +00:00
jeblanchard 8e546b1bed More silly warning elimination 2008-06-07 01:21:38 +00:00
jeblanchard 3fa4624317 Update to reflect zero's movie.h and driver.h changes 2008-06-06 01:15:49 +00:00
jeblanchard 9b7f730b43 Changes that allow a Linux machine to build, targeting either a Linux or Win32 host. (Maybe a newline at the end of a few header files for my sanity's sake too.) 2008-05-27 05:29:00 +00:00
jeblanchard 03ad29922f Minor Linux compilation fixes 2008-05-26 00:33:27 +00:00
gimmedonutnow 091d0b225d - SDL now uses the new configuration system 2006-08-30 15:27:05 +00:00
radsaq e7d5aa6d29 Consolidate use of FCEUGI* globals GI, CurGame, and FCEUGameInfo into a single
GameInfo var. Still not very pretty, but at least there's only one of them and
the code compiles on Linux now.
2006-08-20 19:40:15 +00:00
gimmedonutnow d1b99bf834 - cleaned up a few variable and function names for readability
- static'd more variables
- added TODO about video resolution
2006-08-04 05:44:13 +00:00
gimmedonutnow 01c05ec26f - trying to reduce the number of non-static globals
- moved a bunch of functions around to accomidate this reduction
2006-08-03 19:51:28 +00:00
gimmedonutnow c08f71181e - got rid of that annoying "Not implemented" message in SDL coming from the movie stuff
- static'd several global variables in input.cpp
2006-08-03 05:49:37 +00:00
gimmedonutnow c39de3f8a8 - pretty much done commenting... might have a chance to start cleanup tonight
- had to change the name of the 'brk' variable name again... please don't change it back... brk is a reserved word in *nix.
2006-08-03 00:31:31 +00:00
gimmedonutnow 4025828176 - got rid of the EXTGUI define and associated code
- commented sdl-video.cpp
2006-08-01 06:47:01 +00:00
punkrockguy318 9c6cbb0563 renamed pc to SDL for clarity 2006-07-31 17:42:18 +00:00