Commit Graph

152 Commits

Author SHA1 Message Date
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
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
Mr-Wiseguy
0fdfc5f7fe Build system & dependency refactoring
Switched to a makefile + clang build system
Now builds as a library by default
Removed SDL2 dependency
Changed RT64 integration to use zilmar spec in order to pass a window
handle
Proper unaligned loads and stores implementation
2023-06-22 18:40:39 -04:00
Mr-Wiseguy
e4dc4526f2 Fixed flash erase function implementations 2023-03-10 16:37:40 -05:00
Mr-Wiseguy
9e80499197 Dummy implementations of VI scale functions 2023-03-10 16:36:58 -05:00
Mr-Wiseguy
6ab12039ed Made non-gfx RSP tasks execute on another thread, implemented VI registers 2023-03-05 20:16:16 -05:00
Mr-Wiseguy
f024c4db84 Implemented VI register tracking 2023-03-02 23:38:52 -05:00