Commit Graph

49 Commits

Author SHA1 Message Date
Mr-Wiseguy
eeeabba64d Added background music volume and low health beep settings, imported warp names 2024-03-10 16:40:41 -04:00
thecozies
e19e72ea62 controller input in ui 2024-03-04 11:50:11 -06:00
thecozies
fbe8ef8571 initialize before hiding mouse, allow mouse movement for mouse mode initially 2024-03-04 09:25:14 -06:00
thecozies
a84258c3f6 only change to mouse after click 2024-03-04 09:25:14 -06:00
Mr-Wiseguy
57475d058b Implemented rumble, added control options menu with rumble strength and targeting mode 2024-03-04 02:13:12 -05:00
Mr-Wiseguy
ca66fdddbb Implemented proper ROM selection menu 2024-03-03 21:17:59 -05:00
thecozies
302d88fd84 cleanup 2024-03-03 18:03:50 -06:00
thecozies
03af2919e9 mouse-active/inactive ui modes + focus handling 2024-03-03 18:01:33 -06:00
thecozies
c370f9011e reduce font scale to 1 2024-03-03 15:07:59 -06:00
thecozies
e13a46ec6b partially fix menu fade in 2024-03-02 11:52:58 -06:00
thecozies
3b962c5b7c recursively focus labels 2024-03-02 11:12:06 -06:00
Mr-Wiseguy
beec29217c Implemented warp debug menu feature 2024-03-01 18:42:05 -05:00
Mr-Wiseguy
8faa532e53 Fixed UI events happening while the menu is closed, fixed crash on exit caused by destruction order of UI 2024-02-25 18:24:51 -05:00
thecozies
24693c32c4 dpad visual + kb/cont toggle + general style updates 2024-02-24 21:57:51 -05:00
thecozies
f6a9a3c520 close config modal on backdrop or x button click 2024-02-24 21:57:51 -05:00
Mr-Wiseguy
99c14fde04 Added mechanism for getting aspect ratio from recompiled code, fixed wipe3 transition in widescreen 2024-02-17 22:12:23 -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
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
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
fc55b53655 Update RT64 for new barriers 2023-12-23 15:38:00 -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
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