Commit Graph

110 Commits

Author SHA1 Message Date
Mr-Wiseguy
b281740fb7 Update RT64 to disable its own config file mechanism 2024-01-27 16:22:33 -05:00
Mr-Wiseguy
8a919252d2 Modify gyro aim implementation to add aim reset and low pass filter, copy RT64 DLL dependencies to output folder 2024-01-27 16:06:36 -05:00
Mr-Wiseguy
dbfda5332e Update SDL2 and change CMakeLists to use FetchContent with a github release for SDL2 instead of using RT64's 2024-01-23 01:01:12 -05:00
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
c7bfc15caa Update RT64 2024-01-20 01:52:51 -05:00
Mr-Wiseguy
b8c15db6a1 Merge remote-tracking branch 'origin/ui' into ui-scaling 2024-01-20 01:49:00 -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
thecozies
4de0693328 fixed various ui positioning issues + scrollbar 2024-01-19 13:06:06 -06:00
Mr-Wiseguy
0a4ae48d24 WIP scaling UI RmlUi vertex resolution 2024-01-19 14:02:05 -05:00
thecozies
340b838001 styled control options 2024-01-18 14:49:29 -06:00
thecozies
3759688e72 add ability to disable mouse input with body attr 2024-01-17 10:21:26 -06: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
thecozies
23f0235996 auto 4:3 aspect for cont conf visual 2024-01-16 14:26:57 -06: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
8f3acd3623 Removed obsolete mask.svg 2024-01-13 01:42:16 -05:00
Mr-Wiseguy
ecfe2381b0 Prototype quicksave functionality, disabled for now 2024-01-13 01:39:41 -05:00
thecozies
a25f967094 set svg img color with menu item 2024-01-10 10:03:46 -06:00
thecozies
a06f98ab09 added clipped mm to intro bg 2024-01-10 10:03:10 -06: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
6e771ba1bf adjust modal transparency for contrast 2024-01-08 10:06:59 -06: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
0609c82417 Fixed navigation in config menu 2024-01-08 03:34:06 -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
098431d3e2 button sizing handles border 2024-01-07 18:26:40 -06:00
thecozies
66adb00e53 updated button component and colors 2024-01-07 18:23:05 -06:00
thecozies
1d16efc3f0 fixed typography sizing and related spacing 2024-01-07 16:11:17 -06:00
thecozies
34b325b8ae adjust font size for the people 2024-01-07 15:51:27 -06:00
thecozies
43340b9422 set default res to 1080 and dont hide cur doc before reload 2024-01-07 15:38:38 -06:00
thecozies
ccc240d255 new launcher and overall ui updates 2024-01-07 15:33:22 -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
thecozies
7a27d6555c updated conf menu styling 2024-01-06 18:04:28 -06: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
thecozies
8e3c163594 added _old.scss and consolidate sass to recomp.rcss 2024-01-06 12:48:51 -06: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
62e70ab0a1
Merge pull request #2 from Mr-Wiseguy/sass-rework
Sass rework
2024-01-02 11:06:39 -06:00
thecozies
8bb45dbacd remove outline and fix unknown box-sizing value 2024-01-02 10:56:19 -06:00
thecozies
697604dcf6 remove sass source map 2024-01-02 10:07:37 -06: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