* Untie existing mouse logic from gyro
* A bit more mouse cleanup before I start building off it
* Rebase and last bit of cleanup
* Fix rebase mistake, don't apply invertFirstPerson to gyro or mouse input
* Remove the deprecated ImGui toast system
* Add Mouse Camera option in preparation for its use
* WIP, add mouse controls for the third-person camera
* Various helpText revisions
* Enable free camera on horseback
* Untie mouse camera and free camera options
Either being enabled now allows the underlying freecam logic to run
* Allow simultaneous C-stick and mouse input
* Combine mouse sensitivities for both aim and camera
* Add option for inverting mouse Y
* Refactor cursor visibility handling
* Tighten aim capture condition and constrain cursor to window region
* Tidying my trash
* Last bit of housekeeping so I'm satisfied
* Don't write code while sleep deprived
* Fix my sloppy merge and a few helpText updates
* Disable control stick aim when mouse aim is active
* Use same conditions for cursor grabbing as for capture
* Array size UB fixes
* Fix ShieldD
* Remove (almost) all unsafe strcpy calls
Bunch of macros. C arrays are easy enough and just need a different call. For various cases where a char* is passed around bare, I've made a TEXT_SPAN macro that can store a length too for bounds checking.
* Move crash handling in safe string operations to separate TU
* strcat safe version
* sprintf made safe too
* Fix compile
Mods can now replace DVD files with contents of their "overlay" folder
(I'll update the docs later when I do a full pass and make non-code mods
more of a first-class citizen)
Fixes https://github.com/TwilitRealm/dusklight/issues/1306
* custom action framework and first person custom action
* add bind for midna call
* custom binding for opening dusklight menu
* turbo speed button action
* text descriptions
* fix not stopping default GC controller menu combo
* more explanation text
* block bind actions when in the dusklight menu
* Initial Draft
- Add draft crash report window on startup
If you want to disable them before/during startup, there is a command line option to force it
* Fixes
- Update language to be more precise, consistent with settings menu
- Actually shut down reporting properly if you disable it
- Fix my silly syntax errors
* Update text & use Sentry consent
---------
Co-authored-by: Luke Street <luke@street.dev>
* Start game execution as soon as a disk image is available
* Do not update dDemo_c if prelaunch document is visible
* Prevent intro music until prelaunch has popped
* Replace "Start Game" references with "Play"
* Make prelaunch layout respect mirror mode
* Add drop shadow to prelaunch disk-status and version-info
* Remove ImGui prelaunch
* Add "Change Disk Image" button to prelaunch options
* Actually validate discs and make prelaunch very betterer :)
* Check your build before pushing dumbass, and go to sleep
* "Disc" consistency, adjust restart notice logic
* Better LanguageSelect logic
* Add restart notice to SaveTypeSelect
* Added wind sounds to the pre-launch menu
* Add Modal document, use it for disc verification
* Consolidate Modal and PresetWindow
* Squash various bugs, rearrange document flow
* Allow Window inheritors to opt-out of being toggleable
* Tweak focus behavior/syntax
* Implement "Restart Now" option
* Tweaks
* Remove a bunch of dynamic_cast
* Update README.md
---------
Co-authored-by: Luke Street <luke@street.dev>
* rmlui audio
* fix menu select sound
* Fixes#662
* fix reset logic and fix popup getting stuck closed
* fix X button on menu popup
* rmlui achievements, and fix open/close bug
* presets, achievements css, and menu sounds toggle
* forgor
* fix b button causing audio when menu not visible
This makes a new implementation in the dusk src folder, and makes the existing file containing these functions not compiled anymore.
A ton of dead code is now gone.