Commit Graph

2675 Commits

Author SHA1 Message Date
Matthew Budd b01b1c7a4c Cursor selection update to Hex editor 2020-08-22 20:42:33 -04:00
Matthew Budd f3af7cc6c8 Added hex editor fore ground and back ground color options. 2020-08-22 20:20:18 -04:00
Matthew Budd 6a425f61d1 Added activity color options to hex editor menu. 2020-08-22 19:54:11 -04:00
Matthew Budd 6aacaa5595 Added activity color highlight logic. 2020-08-22 19:15:56 -04:00
Matthew Budd c99c729b23 Added hex editor view mode menu logic. 2020-08-22 14:16:13 -04:00
Matthew Budd ecf558c1a3 Moved pixel space to cursor position conversion into its own function. 2020-08-22 13:57:36 -04:00
Matthew Budd 1eaa3f46f9 Added logic to position cursor via left mouse clicks on hex editor. 2020-08-21 21:05:52 -04:00
mjbudd77 b37e1e03f0 Cppcheck warning fixes for Qt GUI. 2020-08-21 11:55:19 -04:00
mjbudd77 b614edee75 Added memory write logic to hex editor. 2020-08-21 11:50:36 -04:00
Matthew Budd 75b076f256 Added a couple more key bindings to hex editor cursor control. 2020-08-20 22:44:14 -04:00
Matthew Budd f6afca360f Added hex editor X,Y cursor movement via arrow keys. 2020-08-20 22:34:45 -04:00
Matthew Budd 5f57455de7 Cursor positioning logic in work. 2020-08-20 22:28:02 -04:00
Matthew Budd 65f6b06033 Added ascii output to hex editor. 2020-08-20 21:47:21 -04:00
Matthew Budd b23349e870 Added vertical slider logic. 2020-08-20 21:21:48 -04:00
Matthew Budd b6b2038c96 Added initial framework for hex editor menu. 2020-08-20 20:41:38 -04:00
Matthew Budd 12f27d2158 Moved hex text editor into its own widget QHexEdit 2020-08-20 20:22:24 -04:00
Matthew Budd 9b90d2d684 Updated Hex editor fore/back ground color schemes to use dark background and light foreground text. 2020-08-19 23:05:01 -04:00
Matthew Budd 09ec672597 Changed approach to Qt hex editor to use raw painting of text. 2020-08-19 22:27:42 -04:00
Matthew Budd 466e513778 QHexEdit did not meet performance goals. Removing to try other options. 2020-08-18 22:19:53 -04:00
Matthew Budd d4d59b0c01 Trying out different QHexEdit function as QTextEdit was too inefficient. 2020-08-17 22:35:27 -04:00
Matthew Budd 4e7e82dbcd Qt Hex Editor in work. 2020-08-16 21:24:27 -04:00
Matthew Budd 490289a6f7 Qt Hex editor in work. 2020-08-16 10:38:42 -04:00
Matthew Budd 11ccdf77b4 Added initial framework for hex editor. 2020-08-15 21:41:06 -04:00
Matthew Budd b749c0982e Changed cheat window text entry field sizing to be proportional to average font char width. 2020-08-15 21:20:58 -04:00
Matthew Budd cf9d6798b3 Added more debug output to GTK GLX window 2020-08-15 14:45:44 -04:00
Matthew Budd 9dee79bd8b Added game pad default mapping file generation logic for new controllers to Qt GUI. 2020-08-15 13:27:07 -04:00
Matthew Budd 0c4af737dd Added logic to GTK GUI to generate default mapping files for new game controllers. 2020-08-15 13:18:16 -04:00
Matthew Budd ebae060035 Cleaned up a few compiler and cppcheck warnings in code base. There are still quite a few more TODO. 2020-08-14 22:15:47 -04:00
Matthew Budd d2a00887a0 Header file relative pathing fixes for GTK SDL GUI. 2020-08-14 21:19:50 -04:00
Matthew Budd c2a322e48f Updated GTK GUI GLX window / context setup to better match glx code from snes9x GTK backend. 2020-08-14 20:42:54 -04:00
Matthew Budd 3618f30f0d Minor code cleanup in SDL game pad config. Small logic change to joystick init. 2020-08-13 21:08:02 -04:00
mjbudd77 a2aa55a69c
Merge pull request #158 from mjbudd77/master
Build Options and Documentation Updates for SDL README
2020-08-11 22:25:47 -04:00
Matthew Budd 0751904693 Added FCEUX debugger compiler flag to cmake build 2020-08-11 21:19:52 -04:00
Matthew Budd d11cea3a98 Added OpenGL preference (GLVND or LEGACY) command line options to cmake build. 2020-08-11 20:58:54 -04:00
g0me3 79d81e513c datach barcode reader input changed a little bit control code recalculating logic.
now if you input full 13 or 8 digit code the control code won't be recalculated.
only if you input partial 12- or 7-digit code without control number it will calculate it.
this is done because some game uses it's own control code calc logic and need to be input as is.
otherwise it will be recalculated and won't be accepted by the game.
2020-08-11 20:28:11 +03:00
Matthew Budd b16514fcb4 A few box spacing updates on GTK gamepad config window. 2020-08-10 21:12:40 -04:00
Matthew Budd 1c6851c3f0 Bug fix for SDL joystick not working using SDL video driver. By default SDL joystick inputs are ignored if the SDL window does not have focus. Set SDL HINT to allow for background joystick inputs to accepted (i.e. joystick inputs come through even though window not in focus). 2020-08-10 21:04:42 -04:00
Matthew Budd cd99eaecd3 Added missing files. 2020-08-09 22:20:02 -04:00
Matthew Budd 1d417a49ae Back ported SDL2 game controller improvements to GTK from QT GUI. 2020-08-09 22:19:38 -04:00
Matthew Budd 1331aeca14 input device select combo box logic in work for GTK Gui. 2020-08-09 07:11:28 -04:00
Matthew Budd 5bfbbbba7e Back ported SDL joystick/gamepad improvements from Qt to GTK gui. 2020-08-09 05:55:59 -04:00
Matthew Budd 61894c7772 Bug fix to sync video driver selection on GTK GUI at init. 2020-08-09 05:21:29 -04:00
Matthew Budd 989d39c26e Back ported SDL sound bug fixes from QT to GTK GUI. 2020-08-09 05:17:48 -04:00
Matthew Budd 33c5b328b2 Changed sdl video resize logic to ensure that it is always syncd to the size of the drawing area. 2020-08-07 21:44:12 -04:00
Matthew Budd a2fbb33d68 Added video driver select option for GTK/SDL GUI. Currently there are 3 possible video drivers: OpenGL GLX, SDL2, and Cairo. 2020-08-07 21:22:07 -04:00
Matthew Budd 5e2ac49da7 Bug fix for LSB_FIRST definition in GTK build in cmake environment. 2020-08-07 17:09:12 -04:00
Matthew Budd 1b0888e146 Added git url/revision info to the GTK/SDL GUI about window. Added git url/revision information to command line help print out for both GTK and QT versions. 2020-08-07 16:59:27 -04:00
Matthew Budd bb4adb36b4 Merge branch 'master' of ../TasVideo/fceux 2020-08-07 16:34:39 -04:00
zeromus 6f4bbacca0 fix height of win32 inputbox. fixes #145 2020-08-07 13:55:50 -04:00
mjbudd77 d416ceb0c4 Added GTK3/SDL2 based fceux build capability into cmake build file. It is configurable from the command line which GUI to build GTK or QT (default). 2020-08-07 13:23:43 -04:00
Matthew Budd 27875aac17 Changed GTK GUI shutdown order of execution so that the main window cannot be deleted until the event loop has fully exited. 2020-08-06 21:36:50 -04:00
Matthew Budd 46d02fc61a Modified GTK GUI quit logic to just set a flag in the quit callback function to allow the gui exit its main loop under normal conditions and then proceed with an orderly cleanup/shutdown outside of the GTK event loop. 2020-08-05 20:33:19 -04:00
Matthew Budd b7067cc1da Removed debug print statement. 2020-08-03 21:12:54 -04:00
Matthew Budd bbd0fe4470 Added cheat save file logic to cheat window export button. 2020-08-03 21:04:58 -04:00
Matthew Budd 4a494f8dc1 Added code to center text inside numerical entry fields on the cheat window. 2020-08-03 20:30:45 -04:00
mjbudd77 0fdf8cec14 Changed character used for width to be an X instead of 0 2020-08-03 20:20:48 -04:00
Matthew Budd b0529d564a Added pause while cheat window is active checkbox logic. 2020-08-02 21:19:32 -04:00
Matthew Budd 7c84e7b383 Added global cheat enable and auto load/save checkboxes 2020-08-02 20:58:59 -04:00
Matthew Budd e99cc1d64d Added logic to lock emulation when modifying cheats. 2020-08-02 20:31:21 -04:00
Matthew Budd 7d6f1fdacc Added logic to lock emulation when adding or deleting cheats. 2020-08-02 20:29:24 -04:00
Matthew Budd 53c96c9fbd Added button sensitivity logic for cheat search window. 2020-08-02 20:23:12 -04:00
Matthew Budd 2905c105bf Added cheat add/delete button logic. 2020-08-02 20:04:59 -04:00
Matthew Budd 34279fd5ac Added logic for modify active cheat parameter update button. 2020-08-01 21:33:43 -04:00
Matthew Budd 2d57b88e64 Added code to populate active cheat list. 2020-07-31 22:03:14 -04:00
Matthew Budd 3e1cfb3a94 More cheat search updates. 2020-07-31 20:18:39 -04:00
Matthew Budd b6871bc36d Added callbacks for cheat search buttons. 2020-07-31 20:14:17 -04:00
Matthew Budd cf54c8d225 Cheat window widget layout in work. 2020-07-30 23:06:02 -04:00
Matthew Budd bec89112e2 More updates to cheat window. 2020-07-28 22:54:52 -04:00
Matthew Budd 5088991a8d Added more widgets to the cheat window. 2020-07-28 21:37:28 -04:00
Matthew Budd c76d70582a Adding GUI framework for cheat window. 2020-07-27 22:26:41 -04:00
Matthew Budd 3c2a93d7c4 Added a protection in the audio output loop to break out of the loop if the audio sink is not draining. This will prevent lockups in the event that the audio output device has failed. 2020-07-27 21:20:25 -04:00
Matthew Budd 3528adea30 Changed error message window to use QMessageBox instead of QErrorMessage to have more control over display image. 2020-07-26 22:04:31 -04:00
Matthew Budd e918f8562a Added an error message window to the GUI. Added About Qt window to GUI. 2020-07-26 21:31:32 -04:00
Matthew Budd 0112782eab Added logic to change color of changed button mapping to red until they are save to a profile. Also, added a warning message to inform user of unsaved mappings. 2020-07-26 14:07:28 -04:00
g0me3 f2eb89c629 Merge branch 'master' of https://github.com/TASVideos/fceux 2020-07-25 21:22:13 +03:00
g0me3 6145fe22ab bandai and sunsoft barcode readers support GUI restore for WIN build
157 mapper (barcode battler) support for main unit's and cart's eeproms. all datach games are able to save properly now.
2020-07-25 21:21:37 +03:00
Matthew Budd b48b81c938 Commented out command line INOP inputCfg functionality. With new GUI gamepad config, this should not be required anymore. 2020-07-24 23:04:56 -04:00
Matthew Budd 976266547c Bug fix for shutdown of joystick system. 2020-07-24 22:41:19 -04:00
Matthew Budd 4175ca6052 Added logic to skip unassigned buttons in the config. 2020-07-24 22:26:09 -04:00
Matthew Budd 3db85cd1d2 Game pad code cleanup. 2020-07-24 22:12:45 -04:00
Matthew Budd da04bbdfc5 Added logic to init game pad mappings at startup 2020-07-24 21:47:57 -04:00
Matthew Budd 67e87787e3 Added logic to load default keyboard mapping. 2020-07-24 18:44:18 -04:00
mjbudd77 8afeb43759 Added code to allow for deletion of game pad profiles. 2020-07-24 17:14:03 -04:00
mjbudd77 b71630379a Added game pad button mapping profile logic. 2020-07-24 16:56:48 -04:00
mjbudd77 675b73cbed Added mapping profile widgets. Still TODO, write code behind them. 2020-07-24 11:05:20 -04:00
mjbudd77 b815fbfe47 Added logic to show state of mapped buttons on game pad config page. 2020-07-24 09:50:03 -04:00
Matthew Budd e50d6e22ed Added logic to load default game pad button bindings from SDL database. 2020-07-24 00:11:11 -04:00
Matthew Budd e018b4b945 Removed unused button config arrays in preparation for implementing SDL2 game controller setup. 2020-07-23 18:43:45 -04:00
Matthew Budd 10b84fa47c Added SDL game controller logic to sdl-joystick. Preparing to re-vamp the input module. 2020-07-22 22:17:53 -04:00
Matthew Budd 02c3012215 Added a checkbox option to the gui config page to allow for the gui to use the native OS menu bar for mac os and certain linux distros. 2020-07-21 20:06:25 -04:00
Matthew Budd 3fc99f7d30 Added logic to allow the use to optionally select either the Qt/OpenGL or SDL as the video driver. 2020-07-20 22:45:33 -04:00
Matthew Budd f59bf15d30 Created a console utilities file to hold misc functions used by the Qt/SDL port. 2020-07-20 21:06:49 -04:00
Matthew Budd 982ed7689d Added Lua window hooks to old sdl port that are now needed by core library. These functions do not do much on the old port and really only exist to resolve linker issues. 2020-07-20 19:36:22 -04:00
Matthew Budd 4e9601a241 Added logic for the lua output display console. 2020-07-19 21:33:20 -04:00
Matthew Budd 122473b575 Added Lua control window. 2020-07-19 21:15:56 -04:00
Matthew Budd 188320147a Bug fix for file name patterns used with QFileDialog 2020-07-19 20:04:42 -04:00
Matthew Budd 397e17ba99 Added a GUI config window to for misc GUI options. Added an option to use the native OS file browser when looking for files. 2020-07-19 18:43:42 -04:00
Matthew Budd b846ed31db Merge branch 'master' of ../TasVideo/fceux 2020-07-19 10:12:20 -04:00
Matthew Budd c0febe1d3e Added a hook in the core palette emulation to allow for the gui to determine if a custom user palette is available and in use. 2020-07-18 21:58:38 -04:00
owomomo 96a116e096
Shortcuts of bookmarks in Hex Editor can be customized. (#129) 2020-07-18 18:43:23 -04:00