Commit Graph

57 Commits

Author SHA1 Message Date
thecozies 6460ae1bf9 removed registering useless events 2024-01-17 10:03:18 -06:00
thecozies b3dbb9e9be track and share focused/hovered input rows 2024-01-17 09:54:13 -06:00
Mr-Wiseguy d0e01cdec1 Add active_binding_input and active_binding_slot bindings in controls UI 2024-01-17 02:22:36 -05:00
Mr-Wiseguy 6ebc7256eb Implemented rebinding inputs from UI (controller only so far) and built minimal UI for doing so 2024-01-15 21:06:52 -05:00
Mr-Wiseguy 457bc878e9 Refactored input mapping state 2024-01-14 22:49:04 -05:00
Mr-Wiseguy ecfe2381b0 Prototype quicksave functionality, disabled for now 2024-01-13 01:39:41 -05:00
Mr-Wiseguy d6e9d2e94d Add lunasvg and enable SVG support in RmlUi, fix color endianness for RmlUi generated images 2024-01-09 19:55:44 -05:00
thecozies f2ea206d15 fade-in window transition + faded bg overlay 2024-01-08 09:42:21 -06:00
Mr-Wiseguy 5ee7eaed1f Split default input mappings by device, disabled input while menu is open, made config menu open with escape/select, made config menu close with escape 2024-01-08 03:38:05 -05:00
Mr-Wiseguy 0fcc366a35 Hooked up controls and settings buttons in launcher 2024-01-08 01:28:50 -05:00
Mr-Wiseguy 15ce3b194d Hooked up exit button in launcher and updated RT64 to fix issue with the launcher not closing 2024-01-07 23:46:44 -05:00
thecozies 43340b9422 set default res to 1080 and dont hide cur doc before reload 2024-01-07 15:38:38 -06:00
Mr-Wiseguy c26151cd6b Modified recomp UI event handling to allow event parameters using ":" as a delimiter 2024-01-07 02:03:54 -05:00
Mr-Wiseguy 8510bb9109 Implemented RmlUi hack to replace color parsing so it uses 0-1 alpha instead of 0-255 2024-01-06 16:08:15 -05:00
Mr-Wiseguy def9a39968 Fix cursors being created before SDL2 initialization 2024-01-06 13:02:58 -05:00
Mr-Wiseguy 65fc7f9924 Fixed compilation errors on some machines 2024-01-02 14:56:32 -05:00
thecozies 6af312470a init sass rework 2024-01-02 10:07:37 -06:00
Mr-Wiseguy 31e9d729c2 Fixed missing function in input.cpp 2024-01-02 11:06:07 -05:00
Mr-Wiseguy e9e42322f0 Refactored menu logic into MenuController interface, updated RT64 2024-01-01 22:36:06 -05:00
Mr-Wiseguy 09bacbe82c Hooked up graphics option menu to RT64, updated RT64 2024-01-01 00:09:14 -05:00
Mr-Wiseguy ac131c7835 More work on graphics config menu, improved focus handling in UI, fixed scissor bug in UI rendering 2023-12-30 19:03:57 -05:00
Mr-Wiseguy 525092fd60 Cleaned up assets folder, added promptfont, started config menu UI 2023-12-29 16:49:26 -05:00
Mr-Wiseguy c0abf1a203 Patch options button in file select to be a quit button instead, update RT64 and RmlUi 2023-12-27 17:56:26 -05:00
Mr-Wiseguy 86e701440c Patch light glow to use extended gbi, add right trigger to default bindings for R, update RT64 to fix lens of truth 2023-12-25 16:05:24 -05:00
Mr-Wiseguy 1a6af79048 Fix some outdated comments about audio 2023-12-24 00:10:23 -05:00
Mr-Wiseguy bce34bfe0f Simplify logic for audio resampling, fixes it on less ideal input/output sample rate ratios 2023-12-23 23:57:22 -05:00
Mr-Wiseguy f2eeb00e09 Switched to manual resampling to avoid reopening SDL2 audio device which was causing stutters 2023-12-23 20:23:35 -05:00
Mr-Wiseguy fc55b53655 Update RT64 for new barriers 2023-12-23 15:38:00 -05:00
Mr-Wiseguy 0a6b8d0da3 Add fullscreen shortcut 2023-12-17 16:32:13 -05:00
Mr-Wiseguy 971d728169 Input refactor to allow arbitrary bindings 2023-12-13 02:06:56 -05:00
Mr-Wiseguy d71b86c1da Added WIP dual analog camera and widescreen UI patches 2023-12-01 10:56:20 -05:00
Mr-Wiseguy e0ac016936 Update RT64, split UI immutable sampler into its own descriptor set 2023-11-24 18:12:58 -05:00
Mr-Wiseguy ec23ef02fd Added some more patch functionality, added recomp namespace 2023-11-24 17:10:21 -05:00
Mr-Wiseguy 3b06ad52f0 Check RT64 initialization return status 2023-11-24 14:49:23 -05:00
Mr-Wiseguy f324253052 Reorganized loose files in src into src/recomp folder 2023-11-12 20:09:29 -05:00
Mr-Wiseguy 244d37e3c8 Renamed everything ultra related to "ultramodern" 2023-11-12 19:40:02 -05:00
Mr-Wiseguy 8188aee2c1 Removed use of std::exit and changed recomp runtime to exit normally, added helpers for getting recompiled args and returning values, added example of patch code calling native code 2023-11-12 14:47:38 -05:00
Mr-Wiseguy 398988a961 Added function patching, began reorganizing UI code, added native file dialog library 2023-11-11 17:42:07 -05:00
Mr-Wiseguy 91611c9c33 Delayed game start, made UI hot reload include all files, passed input
events to UI
2023-11-05 14:34:27 -05:00
Mr-Wiseguy 346e298eb1 Moved window event handling out of gfx thread so resizing doesn't freeze gameplay, added full document hot reloading for UI 2023-11-04 12:45:22 -04:00
Mr-Wiseguy 458ccd81fc Merged everything into one heap for the UI because copy descriptors isn't implemented yet 2023-11-02 01:57:50 -04:00
Mr-Wiseguy 6fdf66b296 Integrated RmlUi, fully moved over to cmake 2023-11-02 01:20:12 -04:00
Mr-Wiseguy dd30250623 Hooked up RT64 draw callbacks, fixed incorrect iobuf for reading ROM 2023-10-30 22:41:05 -04:00
Mr-Wiseguy 352b28b1fd Added cmake build system 2023-10-29 12:13:41 -04:00
Mr-Wiseguy 878b25a1f5 Removed use of basic_ifstream<uint8_t> to fix linux 2023-10-24 11:17:23 -04:00
Mr-Wiseguy cdd397fe8f Restored old thread scheduler code 2023-10-23 18:01:29 -04:00
Mr-Wiseguy 1037bb5206 Windows build fixes 2023-10-23 17:51:21 -04:00
Mr-Wiseguy f361fddd3e More WIP linux work, upgraded libultra to include changes from BT recomp 2023-10-23 15:32:30 -04:00
Mr-Wiseguy 2865ef758e Initial compile on linux 2023-10-23 15:03:16 -04:00
Mr-Wiseguy 5b594048db Rewrote scheduler to use concurrent queues instead of atomic waits, added thread priorities 2023-07-07 14:21:06 -04:00