Commit Graph

188 Commits

Author SHA1 Message Date
Mr-Wiseguy a6f94f9e2e Added special defaults for steam deck and embedded linux icon png into binary 2024-04-26 22:41:41 -04:00
Mr-Wiseguy b28614b128 Implemented mouse aiming 2024-04-26 01:48:26 -04:00
Reonu c4b89613ab Fix Linux build and locale 2024-04-25 15:51:04 +01:00
Reonu dd1315e6eb Add Linux fullscreen support (#8)
Temporary workaround for RT64 not supporting full screen in Linux
2024-04-25 03:06:12 -04:00
Reonu 25a3837b37 Add Linux taskbar icon (#6) 2024-04-25 03:04:18 -04:00
Mr-Wiseguy a6e34bb49b Changes to fix compilation on linux 2024-04-25 03:04:14 -04:00
Mr-Wiseguy 68ee43f5ac Implemented new thread scheduling logic that doesn't need a central scheduler thread, removed all uses of atomic waits 2024-04-25 02:57:06 -04:00
thecozies 4fef9d9203 show display refresh rate in description 2024-04-22 08:11:13 -05:00
thecozies 8fbb7b6025 option to enable/disable background input 2024-04-21 17:33:09 -05:00
thecozies c06889c3bb added quit button and confirmation prompt 2024-04-21 15:55:45 -05:00
thecozies 17aa09506b 'Reset to Defaults' button implemented 2024-04-21 13:02:47 -05:00
thecozies 6613c9967d bugfix: load 'low_health_beeps' key from config 2024-04-21 12:38:35 -05:00
thecozies 26117389aa gyro sensitivity option + update range inputs styling 2024-04-21 12:14:41 -05:00
thecozies 9a23d00a36 use node modules sass + sass lint + allow color preset 'whitesmoke' 2024-04-21 10:55:51 -05:00
thecozies 12f52eab2f Implemented prompt component and utilize for gfx change confirmation 2024-04-20 15:37:01 -05:00
thecozies bf167f31c7 Updated rmlui to master 2024-04-20 15:36:34 -05:00
thecozies 95ab0074ea fix and improve kb/cont config tab > panel navigation
prompt component - wip
2024-04-20 15:36:05 -05:00
thecozies 2b96bb8be9 allow sdl background controller input 2024-04-16 10:58:43 -04:00
thecozies 0fd4f8b859 added cur_controllers mutex for rumble safety 2024-04-16 10:58:43 -04:00
thecozies af3c4f4df7 update rumble on vi thread 2024-04-16 10:58:43 -04:00
thecozies 51759611e1 control rumble intensity to mimic n64 rumble pak & separate rumble from input 2024-04-16 10:58:43 -04:00
Mr-Wiseguy 38f813ae04 Added option in graphics config file to override graphics API selection 2024-04-14 16:57:11 -04:00
Mr-Wiseguy b334c677b9 Update RT64 and refactor RT64 handling 2024-04-14 15:59:42 -04:00
Mr-Wiseguy c9f5786eec Bump version to v0.9.1 2024-04-06 21:43:37 -04:00
Mr-Wiseguy 76ec1f379b Transform tagging for moon/giants chamber/lost woods particles, fixed missing nfd init 2024-04-06 18:04:55 -04:00
Mr-Wiseguy bd537728e3 Switch system_clock to high_resolution_clock, work around win32 sleep_for/sleep_until bug when clocks go backwards 2024-04-06 00:33:07 -04:00
thecozies 65ced0c594 added set time debug ui 2024-04-05 11:25:45 -05:00
Mr-Wiseguy 636f312823 Add debug set time hook 2024-04-04 17:24:45 -04:00
thecozies 56504a71b4 global description handler and impl 2024-04-04 08:33:08 -05:00
thecozies 9e1dd0500d default to 16:9 2024-04-01 12:34:31 -05:00
thecozies ad32fcbe78 update extAspectRatio for RT64 change + option rename 2024-04-01 12:32:47 -05:00
thecozies bb11e81850 hud aspect ratio in gfx config 2024-04-01 12:23:09 -05:00
Mr-Wiseguy 4c5f48a2c3 Add check for programmable sample positions for MSAA settings, fixed fullscreen option going out of sync with alt+enter shortcut 2024-04-01 03:19:16 -04:00
Mr-Wiseguy 62dfd7ffbe Merge remote-tracking branch 'origin/ui' into dev 2024-03-31 23:13:25 -04:00
Mr-Wiseguy 1651298a2c Fixed crash caused by input latency reduction patch 2024-03-30 20:00:02 -04:00
thecozies b01bdf5b12 graphics descriptions and reconfigure ordering 2024-03-30 13:53:03 -05:00
thecozies 7648753fe7 disable ds options conditionally 2024-03-30 10:36:23 -05:00
thecozies 7342d1db6e downsampling info 2024-03-28 17:18:10 -05:00
thecozies 5f74dfa2ba added downsampling option 2024-03-27 17:43:15 -05:00
thecozies 8853fc0d7b swap nav icons between kb and cont 2024-03-27 15:02:03 -05:00
thecozies 3d10ae6d74 allow clicks from unfocused 2024-03-27 12:07:03 -05:00
Mr-Wiseguy 976bfa1969 Reduced input latency and improved gyro by moving input polling to main game thread and moving frame wait to after DL submission, fixed bluetooth dualsense gyro 2024-03-21 02:46:08 -04:00
Mr-Wiseguy 8db2c655c3 Modified how patch elf is linked to prevent address conflicts with vanilla symbols, update RT64 2024-03-20 22:16:51 -04:00
Mr-Wiseguy 40d0b20939 Changed default controller mapping to have alternate inputs for items and fairy 2024-03-15 20:26:33 -04:00
Mr-Wiseguy 3520fdfbc5 Added icons and version number, disabled 8x MSAA and set default to 2x 2024-03-15 19:47:29 -04:00
Mr-Wiseguy 0775299aae Reorganized config menu tabs, hide debug menu behind manual config file edit, added missing recompiler config file 2024-03-15 12:13:39 -04:00
Mr-Wiseguy de35dfc8a8 Rename cmake project, embed data for custom code directly into executable instead of a separate file 2024-03-15 01:15:33 -04:00
Mr-Wiseguy bc6b112992 Patched lens/telescope effect to not stretch in widescreen, fixed incorrect trigger icons in UI. 2024-03-14 00:44:47 -04:00
thecozies 0784db4988 cancel scanning input with back/escape 2024-03-12 08:35:58 -05:00
thecozies 299293ca99 map cont back button to kb escape 2024-03-12 08:13:27 -05:00
Mr-Wiseguy 0192cac272 Fixed cursor hiding lag, moved save file location to config folder 2024-03-12 00:27:20 -04:00
thecozies 7fd55dae5c mouse dist threshold + update mouse vis during gameplay 2024-03-11 10:08:33 -05:00
Mr-Wiseguy 38680d7171 Transform tagging for snow weather effect 2024-03-11 00:13:32 -04:00
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
Mr-Wiseguy f6e11ed723 Improved motion blur at higher framerates, reorganized some patch code 2024-03-03 02:36:14 -05:00
Mr-Wiseguy 569d86d901 Added heuristics to determine when to skip camera interpolation, added ability to enable developer mode in RT64 2024-03-02 23:28:48 -05: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 e97242af2e Fixed DPI awareness mode, fixed crash caused by patch that fixed drawing null skyboxes 2024-02-22 23:52:04 -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 958808acb0 Enable relevant RT64 enhancements, fix pause background corruption if song of soaring was played before ever pausing 2024-02-04 22:55:15 -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 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