Commit Graph

5050 Commits

Author SHA1 Message Date
mjbudd77 0768579faa Palette file pathing fixes for Qt GUI. 2021-02-14 12:02:24 -05:00
mjbudd77 df315f8e9c Added QFileDialog urls for lua load window. 2021-02-14 11:16:39 -05:00
mjbudd77 769ab81027 Setup QFileDialog side urls for various windows. 2021-02-14 10:53:21 -05:00
mjbudd77 a5a0a5edee Added a function that returns the executable file path. Added this path to the list of urls to search for palette files. 2021-02-14 09:37:04 -05:00
mjbudd77 3556c1cbfc Added sidebar urls to Qt palette open file browser. 2021-02-14 07:10:34 -05:00
mjbudd77 bf00cb62ca Added logic to also look for $USERPROFILE env var on windows systems. 2021-02-14 06:35:25 -05:00
mjbudd77 15b983fc76 Added logic to make Qt GUI search for $HOMEPATH in the event that $HOME is not defined (for Windows). 2021-02-14 06:20:16 -05:00
mjbudd77 5d0c9b2225 Added button icons to the bottom row of the Qt iNES header editor. 2021-02-14 05:55:57 -05:00
mjbudd77 b98feca574 Added standard core about text into Qt About Fceux Window. 2021-02-14 05:27:36 -05:00
mjbudd77 c3473dbf4d Made one full pass over all Qt window menus and added accelerators where it makes sense. 2021-02-14 05:09:44 -05:00
mjbudd77 58c3081176 Added ALT+F accelerator for Qt main menu. 2021-02-13 20:16:51 -05:00
mjbudd77 bff4dd4d93 Removed scroll bars from Qt game pad window as its new layout makes it unnecessary. 2021-02-13 20:10:20 -05:00
mjbudd77 5abdc4a50e Added an game pad graphic on the Qt game pad config page with buttons that change color when pressed. 2021-02-13 16:36:59 -05:00
mjbudd77 1ced2f59b9 Added logic to Qt nametable viewer to not render tiles that are not in view. Also subbanded table rendering into separate frames to increase performance. 2021-02-12 21:07:24 -05:00
mjbudd77 04bd1ffcf6 Added a function to pre-calculate pixel locations for the nametable viewer in order to save computation time during Qt paint events. 2021-02-12 18:51:04 -05:00
mjbudd77 97990b671a Merge branch 'master' of github.com:TASVideos/fceux 2021-02-11 20:48:17 -05:00
mjbudd77 f80214da90 Added code to allow for setting of thread priorities in windows for Qt GUI. 2021-02-11 20:24:10 -05:00
mjbudd77 1a622b5f30 Bug fix for Qt GUI message log in windows. 2021-02-11 18:09:48 -05:00
g0me3 56adae5e6c fixed copypaste bug in cdlogger introduced in #310 merge
(cdl auto load were broken, an error occures while attempting to save changes to cdl window settings)
2021-02-10 20:09:27 +03:00
mjbudd77 97c8c591bd Added download links for packaged Win64 Qt/SDL application built on appveyor. 2021-02-09 23:04:40 -05:00
mjbudd77 a562da6db3 Merge remote-tracking branch 'mjbudd77/Qt_WinBuild' 2021-02-09 22:32:57 -05:00
mjbudd77 6b4c5c1c1b Added logic to look for the HOMEPATH env var if HOME is undefined. 2021-02-09 22:22:19 -05:00
mjbudd77 b8a5db5580 Build fix for Qt/SDL default input settings. Use SDLK_ macros directly to ensure there is not a conflict. 2021-02-10 03:07:41 -05:00
mjbudd77 43a9d7a411 Changed windows Qt/SDL appveyor job name so that it does not contain / char. 2021-02-09 21:03:57 -05:00
mjbudd77 ea8fbbf774 Removed unnecessary headers from nes_shm.cpp. 2021-02-09 20:30:47 -05:00
mjbudd77 deea77a30b Merge remote-tracking branch 'TasVideos/master' into Qt_WinBuild 2021-02-09 19:56:49 -05:00
mjbudd77 2a66f25c7a Upgraded MSVC platform toolset to use v142. Added __WIN_DRIVER__ preprocessor definition to project to ensure that it is set for all compiled files for original non-Qt based GUI. 2021-02-09 19:50:57 -05:00
mjbudd77 cef3fe10c2 Moved CHM into a doc folder inside Qt/SDL deployed zip file. 2021-02-09 00:10:44 -05:00
mjbudd77 fdba5abb39 First successful build of Windows Qt/SDL on appveyor. 2021-02-08 23:33:21 -05:00
mjbudd77 13f0f5d5e4 Added a script to build Qt windows fceux. 2021-02-08 21:37:50 -05:00
mjbudd77 70919c9458 Added a windows batch file version of the gitGenHdr script. 2021-02-08 20:51:24 -05:00
Oleg V. Polivets 766aa1e8fd
Fixes regarding RAM Search and RAM Watch dialogs. (#323)
* FIX: invalid size of watch region after adding it from RAM Search dialog.

* FIX: endianness of 2 byte value not same for same address in RAM Search and RAM Watch dialogs.

* FIX: RAM Watch dialog not suppot 4 byte values.
2021-02-08 19:28:20 -05:00
Oleg V. Polivets 23db1b35b0
Qt: GamePadConf change buttons sequentially. (#322) 2021-02-07 12:58:34 -05:00
mjbudd77 24863422ff Lua Qt Win build fixes. 2021-02-07 12:23:31 -05:00
mjbudd77 8d9e99fd18 Build fixes for linux from changes made for Qt windows compatibility. 2021-02-06 19:15:06 -05:00
mjbudd77 5edd659949 Re-added memset statement to ensure that Qt GUI memory is zeroed at
startup.
2021-02-06 13:41:16 -05:00
mjbudd77 fd9b269a90 Merge branch 'master' into Qt_WinBuild 2021-02-06 13:31:01 -05:00
mjbudd77 cf04b90ef1 Added logic to zero nes_shm for Qt gui 2021-02-06 13:23:23 -05:00
mjbudd77 35bb4be6f6 First successful build of Qt windows fceux. 2021-02-06 12:15:28 -05:00
mjbudd77 f2c898f4c3 Bug fix for Qt nametable viewer not always updating as it should. 2021-02-05 15:39:52 -05:00
mjbudd77 1307adc115 For Qt GUI, added a custom color picker for the palette editor that allows for colors to be dynamically tweaked while a game is actively running. 2021-02-03 21:40:18 -05:00
mjbudd77 31819d246d Added initial framework for Qt palette editor window. 2021-02-02 22:37:01 -05:00
mjbudd77 df83c790d9 Changed conditional direct include of openGL logic to be if QT_OPENGL_ES
is defined. This is more correct than checking system arch.
2021-02-02 07:08:31 -05:00
jnahmias ab4cde7dbb
add missing GL include needed on arm arch's (#316)
* add missing GL include needed on arm arch's

On other arch's, including amd64, this gets pulled in via QOpenGLWidget.
However, since it uses GL functions directly and GL.h doesn't get pulled in
automatically, this is necessary on arm.

* Add preprocessor arch checks for linux arm

Co-authored-by: mjbudd77 <44712797+mjbudd77@users.noreply.github.com>
2021-02-01 21:31:20 -05:00
mjbudd77 663e357553 Syntax style preference change on NULL pointer check 2021-02-01 20:15:18 -05:00
Oleg V. Polivets 45fc222467
fix: ppuViewer crashes the app when ROM is not opened (#319) 2021-02-01 20:09:51 -05:00
owomomo 30fcc91fdc
Customizing Hex Editor and Debugger Highlight Colors (#310)
* Configurable Hex Editor text colors.
* Add a customizable color for address title.
* 1. Add some more colors to Debugger highlight
2. Sorting all the colors out for future customization.
3. Re-arranged some includes.
* Make the debugger highlight color customizable.
* Move the button to the right and make the default window size wider.
* Adding color icons and hex values to the color menu items.
* 1. Enlarge the color icon a few pixels
* Debugger and Hex Editor shares the same custom color buffer.
This function finally completed. I believe there is no more details can be developed in recent period.
* 1. Add icon to color menu in another way to prevent the odd space between icons and text.
2. Free some malloc() resources when exit, though it would be somehow eventually recycled by system, but that's not a good rabbit.
3. GetROMName and GetROMPath has malloc() and called so many times in the code, it seems there's no any free() call for their returned char*, it's OK to make them directly return a std::string which is more comfortable for use.
* I forgot hDebug is still NULL in WM_INITDIALOG.
* 1. Rewrite debugger resizing logic, now all the controls on the dialog can stretch and shrink with the window size, when you enlarge the window, the controls on the right is also stretched to fit the height.
2. Moved Syntax highlight and Default window size button to the menu bar, in the past, if the window size is too small to show the default size button on the bottom right corner, it can't be pressed to restore the window, but now you can press it anytime.
* Changed ID of color menu to prevent conflict of some existing dialog controls.
* I don't know why restore default window size cannot be done before game loaded.
* 1. Fix Debugger default width with IDA font.
2. Fix Hex Editor single byte highlight in red.
2021-02-01 20:41:02 +03:00
jnahmias dfd84dc349
replace corrupted manpages with original versions (#318) 2021-02-01 05:44:39 -05:00
jnahmias 6286ba7505
honor standard build environment variables (#317)
allow PREFIX to be overridden
use CXX for compiling C++ code, overriddable
include CXXFLAGS & LDFLAGS when compiling linking
2021-02-01 05:44:10 -05:00
jnahmias ab0a683aef
fceux.desktop: use proper Exec field code (#315)
This allows proper opening of .nes files with the proper mime-type.
For details on how this works, see:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
2021-02-01 00:16:01 -05:00