17 Commits

Author SHA1 Message Date
aMannus
cb3237c645 Persistent Owl Saves & Autosaves (#458)
* Persistent Owl Saves & Autosaves

* Better entrance handling

* clang format happy now pls?
2024-05-24 13:01:48 -05:00
inspectredc
ad478cfc59 DPad Items (#228)
* Initial Dpad

* remove old hud stuff

* and comment

* s..

* add dpad equip macro back in

* fix inputs

* fix equipping (hopefully all)

* finish some todos

* add 2s2h asset header

* check dpad macro

* remove 2s2h_assets

* re-add empty texture

* use correct struct for default dpad equips

* dpad save stuff

* fix item offering, use correct equip offset values

* finally figure out unk_154 and fix mask equipping

* avoid ugly code

* add necessary condition

* correct save names for dpad items/slots

* remove todos and sort out suggestions and rename cvar

* func standardise renaming

* Add dpad to hud presets

* dpad save migration
2024-05-22 09:05:04 -05:00
inspectredc
292acc5ecd Remove BenPort.h from functions.h (#309)
* Remove BenPort.h from functions.h

* use specific z64 includes

* this -> thisx
2024-05-22 09:05:04 -05:00
Garrett Cox
16e4ccf9af Add Event Log and more hooks (#247) 2024-05-22 09:05:02 -05:00
Archez
25864d1a92 Add volume slider support (#201)
* Add volume slider support

* extern fix?
2024-05-22 09:05:01 -05:00
Kenix3
912d46761b Audio Works (#180)
* initial audio work

* Implements caching and fixes a ton of issues with audio

* Uses correct memory sizes in mixer.c

* Resets mixer values

* Actually correct dmem buff values in mixer.c

* Remove breakpoints

* Fix sequences not playing

* The forbidden type.

* Forbidden TYPES?!

* Thanks Louis

* Thanks Louis Part 2

* Fix garbled audio

* Fixed ADSR bugs

* Fixes ASAN crash in loading samples.

This code is causing the game to attempt to read sample data beyond the actual sample data.

* Comments out the sample clamping since we aren't affecting the rest of the calculations in the function.

* Fixes crashing while loading audio samples.

Additionally, lowers the log level for audio commands.

* Textbox SFX UB Fix

* Decreases priority of more debug messages

* Fixed a couple uintptr_t issues

* Adds context to Jack's hack of shortcutting later loading sequences.

* Audio corruption fix

* Few uintptr_t fixes

* Fix build on linux

* Fix build on mac

* call audio exit

* fix sfx in dialog

* unstub more audio funcs

---------

Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Co-authored-by: louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: Adam Bird <archez39@me.com>
2024-05-22 09:05:01 -05:00
louist103
27b70f03c1 Track LUS changes for LUS refactor. (#163)
* Track LUS changes. So far implemented:
- Moving the big switch into unordered maps.
- Dynamically switching between different ucodes. So far tested switching between f3dex2 and s2dex.

* track LUS changes

* LUS Bump
2024-05-22 09:05:00 -05:00
Garrett Cox
9da273a8ea Add fast text enhancement (#150)
Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com>
2024-05-22 09:05:00 -05:00
Archez
82cf1a4885 Add cvar methods to global functions header and cleanup includes (#152)
* add cvar methods to global functions header and cleanup includes

* fix z_lib.c

* tweak includes
2024-05-22 09:05:00 -05:00
Archez
48f197c049 Better GFX debugging control and fix accidental opcode overwrites (#132)
* implement better gfx command debugging

* revert xlu crash fix back to source
2024-05-22 09:04:59 -05:00
Archez
32caecabfc read proper depth values from the renderer (#124) 2024-05-22 09:04:59 -05:00
Revo
d75e5c07f7 update c_keyframe (#52) 2024-05-22 09:04:58 -05:00
louist103
ff8ba2cc10 Use libc functions for bcmp, bcpy, bzero, LibMemset, LibMemCmp. 2024-05-22 09:04:58 -05:00
Garrett Cox
1ad3317705 Add reg editor tab (#31) 2024-05-22 09:04:58 -05:00
Garrett Cox
1f69d643fc Changes to build on mac (#4) 2024-05-22 09:04:57 -05:00
Garrett Cox
2332f63f5a Initial commit for 2S2H
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
2024-05-22 09:04:51 -05:00
Garrett Cox
9be74e0026 Move source into subdirectory 2024-01-05 18:00:59 -05:00