* spdlog from package managers
* move deps to files
* missed a spot
* need to checkout first for this to work
* there too
* hmm...
* explicitly include
* we really were relying on that huh?
* why can't it figure out what std min is?
* windows..........................
* none of this makes sense
* windows headers are terrible
* why would windows do that?
* don't use the windows max macro
* try putting it with the other ones
* clang format
* add a fetch content
* include fetchcontent at the top of the deps files
* bump ios spdlog version
* does this work?
* try sccache
* try some other things
* try the symlink
* worth a shot
* dir name
* more windows speedup
* maybe this?
* a
* see if that speeds windows up
* this might break things but it's worth a shot
* a
* this'll probably just break
* start refactoring, legacy load still working
* account for path in meta file
* meta
* clang format
* zip stuff
* clang format
* remove a space
* libzip
* zipcmp
* zipmerge
* ziptool
* do it in tidyformat too
* merge?
* call it
* open/close as names
* error thing
* auto
* fix build
* indexfile
* Moves some files around. (#262)
* misc -> utils and moves BinaryTools to utils.
* Adds Window directory and moves Window and Gui to it.
* Fixes mac build and removes unused LUSMacros.h
* Further Mac fixes.
* Moves files out of core.
* Mercury -> Config
* Runs clang-format
* Addresses clang-tidy
* Removes all lingering references to SoH from LUS
* Adds mShortName to Window which stores a shorter version for file paths.
* Runs clang-format
* Fixes mac errors.
* Fixes Linux build errors
* Exclude custom spdlog syncs from clang-tidy.
* GitHub build validation only does push checks on the main branch now.
* Fixes forward declaration in Archive.h for OtrFile.
* Moves libultraship headers to the 'libultraship' directory.
* Removes unused extern definition for __osMaxControllers in SDLController.cpp
* Moves libultraship functions to their own files.
* Headers are now moved to include and adds bridge functions for basic LUS functionality.
* Updates PulseAudioPlayer to have our naming convenstions and runs clang-format.
* Updates clang-tidy headers.
* Moves GameOverlay to menu directory.
* Fixing naming conventions in PulseAudioPlayer.
* Fixes clang-tidy errors in ResourceMgr.
* Fixes include of GameOverlay.h
* GameOverlay screen dimensions are now protected access.
* Fixes gbi.h includes.
* AudioPlayer.doInit -> AudioPlayer.DoInit
* Excluding os.h from clang-tidy
* Include stddef.h in libultraship.h for size_t
* Includes studded.h in AudioPlayer.h for size_t
* Includes stddef.h in audioplayerbridge.h for size_t
* Removes unnecessary includes in LUS.h
* Libultra types now includes stddef which brings a long size_t for all platforms.
* changes needed to run `ExtractAssets`
* soh build stuff
* Make some things public
* dcvz changes
* More fixes
* fix pulseaudio
* windows static lib stuff
* fix soh build on windows
* Don’t require Threads for Wii U
* Wii U specific changes to upstream StormLib
* Fix up storm linking
* Add Wii U additions to spdlog
* More Wii U updates to libultraship
* Wii U specific import fixes
* LUS Wii U fixes
* STBI_NO_THREAD_LOCALS for Wii U
* Disable threads for Wii U
* Fixes OTR loading (tested in SoH)
Previously it was failing with a file not found error on SFileOpenArchive,
for some reason removing `UNICODE` and `_UNICODE` from the compile definitions
of libultraship fixes it. It also fixes the issue of OTRExporter outputting
an OTR with only the first character of the filename present. (Said OTR was
still valid though, despite the odd name. Fixed by this regardless).
* Re-adds missing Debug/Release cmake config and fixes Typos
This re-enables debugging libultraship files on Windows. Also fixes some
typos that previously weren't being compiled due to the missing
Debug/Release configuration.
* Consolidates compiler and linker flags in cmake.
Several compiler options were duplicated across different systems
unnecessarily. For example Windows "x64" and "Win32" were very nearly
identical already, and the couple of differences didn't make much sense.
We were passing /std:c++latest, but only to x64 Release. I just removed
that one altogether since we already set `PROPERTY CXX_STANDARD 20`
at the top of the file. We were also passing `/W3` regardless of configuration
on "x64", but on "Win32" we were passing `/W2` to Debug and `/W3` to Release.
If there's a reason for that let me know and it can be re-introduced.
* Embed STB into LUS
* Fixes Switch builds. (#4)
* Restricts the stormlib compile definition change to switch (#5)
* make tidy happy?
* actually make tidy happy
* checkout v3?
* remove commented out lines from cmakelists
* fontData not font_data
* suppress error
* add a space
Co-authored-by: briaguya <briaguya@alice>
Co-authored-by: David Chavez <david@dcvz.io>
Co-authored-by: Christopher Leggett <chris@leggett.dev>
Co-authored-by: David Chavez <davi@dcvz.io>
Co-authored-by: briaguya <briaguya>
* Organizes libultraship files into directories.
* Adds StormLib, ZAPDUTILS, and tidies up /lib/
* Moves include up a directory and moves abi.h to include.
* Fixes gitignore to only ignore build folders, and commits forgotten files.
* update CMakeLists and `#include`s to match directory structure
* Windows CMake now builds project files.
* Restructure CMake project
* feat: sdl via vcpkg (#1)
Co-authored-by: briaguya <briaguya@alice>
* Build via VS generator
* Use ccache for faster building
* Error CI workflow on no lib generated
* Remove unused lib (mINI)
* Update embedded lib (nlohmann-json)
* Cleanup main CMakeLists.txt
* Remove unecessary header
* Use Ninja for MSVC
* Update embedded lib (spdlog)
* Update embedded lib (StormLib)
* Improve CMake structure
* define NOMINMAX for certain windows files
* Add and run clang-format
* Add and run clang-tidy
* Add CI workflow for clang-format/tidy
* Split CI workflows
* Use new format validation
* Fixes typos preventing patch OTRs from working on Switch (#8)
* Removes third party BinaryTools and re-implements and reloacates ZAPDUtils Binary Tools. (#7)
* Removes third party BinaryTools and implements ZAPDUtils' into LUS.
* Attempts to make the Linter happy.
* Another run of linter fixing improvements.
* Should be last linting-related change.
* Fixes tidy-format-validation to only check src and include directories in the git diff
Co-authored-by: briaguya <briaguya@alice>
Co-authored-by: David Chavez <david@dcvz.io>
Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
Co-authored-by: Christopher Leggett <chris@leggett.dev>