* Improve Widescreen/Ultrawide Collection/File Select Menus
Re-scale (unstretch) and center elements of the Collection Screen/File Select details screen for Widescreen/Ultrawide
* Fix oversight
Fix default behavior
* Support ultrawide on Collection menu, target PC
support ultrawide instead of reverting to default behavior
wrap logic in target PC ifdefs (both changed functions themselves are still behind them as a whole as well) and use old function behavior otherwise
* Fix icon overshift at ultrawide
Icon shifted too much at ultrawide
Move redundant duplicate line
* Finished Collection/File Select screen changes
Added settings for the scaling mode (GameCube, Wii, Dusklight)
Depending on the setting in the Interface menu (Dusklight preset automatically sets scaling to Dusklight option, Classic preset sets to Gamecube, Wii/all old behavior available as well) Collection and File Select screens get scaled differently
Fixed backdrop behind slots on File Select with Dusklight setting (the Magic Armor background slot seeming too low on all aspects is vanilla behavior)
Fixed Fused Shadow/Mirror size and position with Dusklight setting
All logic is behind TARGET_PC gates (not the logic specifically, but the functions themselves have always been)
Changes dSelect_cursor_c::refreshAspectScale to take a parameter so the scale of the selection cursor can be reset to default (only ever called in TARGET_PC functions or wrapped in gates)
* Ultrawide oversight
* Update d_file_select.cpp
copy paste oopsie
* Update d_file_select.cpp
im tired, never tested msvc
* Menu Scaling Mode
changed definitions to be more open ended
header additions now in TARGET_PC ifdefs
fixed/added scaling for Save/Option buttons in Collection menu with Dusklight setting, stopped scaling just the text
* Update settings.cpp
* Scale Memory Card screen, fix GC name screen
Scales the Memory Card screen (text only) on Wii and Dusklight scaling settings, GC already keeps default scaling
Fixes oversight on Name selection screen on GC settings (all textboxes/letters were getting scaled down)
* deleted line oopsie
* cleaning
* fix stupid
Moved cachedPanes to each 'wide' function because they're static and only being used there anyway
* 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
* Basic PAL ISO & language support
Probably still needs much more work
* Add language selector to pre-launch
* Store DVDDiskID in a global
Can use this later for things
* More version system API improvements
* d_name mostly region switching fully
JPN doesn't work yet cuz it'll be a nightmare, probably.
* More version switching support
* Mark GCN PAL as supported ROM
* Fix remaining REL assets to have PAL offsets
* d_a_mg_fish PAL
* d_a_mg_fshop PAL
* isRegionUsa helper
* d_menu_fishing PAL
* d_msg_class PAL
* m_Do_MemCardRWmng PAL
* Update CARDInit call & remove DUSK_TP_VERSION
* Fix Ganon cape
Missed this one.
* Remove tp_version from Sentry
---------
Co-authored-by: Luke Street <luke@street.dev>
* cleanup SSystem files
* MSL_C fully matched
* fix build
* remove asm
* reorganize MSL_C/Runtime libs into more accurate setup
* little more cleanup
* cleanup some MSL headers
* obj_rgate OK
* remove asm
* some rgate documentation
* add "global.h" to files that use it
* add MSL_C includes to files that use them
* remove dolphin includes from headers that don't need them
* remove JSupport includes from headers that don't need them
* remove JKernel includes from headers that don't need them
* remove JUtility includes from headers that don't need them
* remove J3D includes from headers that don't need them
* remove J2D includes from headers that don't need them
* remove JAudio2 includes from headers that don't need them
* remove Z2AudioLib includes from headers that don't need them
* remove JMessage includes from headers that don't need them
* remove JParticle includes from headers that don't need them
* remove SComponent includes from headers that don't need them
* remove dol includes from headers that don't need them
* sort includes