Commit Graph

65 Commits

Author SHA1 Message Date
Mr-Wiseguy
e04865c715 Initial implementation of gyro aim with GamepadMotionHelpers for sensor fusion 2024-01-22 23:08:59 -05:00
Mr-Wiseguy
992bdb67e9 Save controls and graphics configs to files after editing and load them on startup 2024-01-21 19:21:58 -05:00
Mr-Wiseguy
8e4e4b1cae Split recomp config handling into separate file, changed "inputs" RmlUi variable to be a struct with an "array" member and named fields for each input 2024-01-21 14:04:56 -05:00
Mr-Wiseguy
802c9bd5a8 Added modified version of RmlUi's ElementSVG that reduces the image dimensions to avoid unnecessarily large baked SVG textures 2024-01-20 01:48:27 -05:00
Mr-Wiseguy
b4bb64e688 Fixed resizing causing incorrect RmlUi context size sometimes and fixed some crashes on exit 2024-01-19 18:44:43 -05:00
Mr-Wiseguy
d6e4e98c8b Added custom font interface that scales font glyphs down to avoid downsampling 2024-01-19 18:14:42 -05:00
Mr-Wiseguy
3456b03b4d Scaled mouse coordinates before passing them to RmlUi 2024-01-19 14:14:47 -05:00
Mr-Wiseguy
0a4ae48d24 WIP scaling UI RmlUi vertex resolution 2024-01-19 14:02:05 -05:00
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