* improve flake
- make clang-format work (I think)
- remove some clutter
- fix version in derivation
- fix clangd
* address nix ci taking 10 minutes to build
uni was rigth about the purge feature, it worked for other stuff tho :(
* fix up comments
* add an option for quad versions and remove msitools from deps
* add cmake fmt to tree fmt
* update build instructions
* note about compat flag
* remove run frame hook
* formatting
* fix bad slab buffers in rpaks from crashing the game
* format
* Add on weapon attack callback
* format
* fix owner
* fix owner
* format
* changes requested
* cmake format
* oops
* Add flakes
* version patching, better artifact name and some comments
* try to get clangd working + some documentation
* remove useless custom scripts from the devshell and update the build readme
* it works?
* does it work? who knows
* some cleanup
* format cmake
* update for new filesystem stuff
---------
Co-authored-by: Rémy Raes <contact@remyraes.com>
* Add files via upload
* Update Northstar.cmake
* Update Northstar.cmake
* Update nscustomdxbuffer.cpp
update dx context and device to static
error out if guid is malformed
fix random if true
---------
Co-authored-by: Rémy Raes <contact@remyraes.com>
* Untemplate g_pSquirrel so intellisense and stuff actually works with it
* Remove unnecessary bitwise operations
* Don't use ScriptContext_COUNT and treat INVALID as a valid flag
* move compiled files to their own storage
* clear compiled files on mod reload
* allow functions to specify the sources that they wish to look for files in
* formatting
* fix: FetchModsListFromAPI sets mod state as done when... done
Previously, the state was set to DOWNLOADING, which conveniently
allowed DownloadMod to run; however, the DOWNLOADING state was
not assigned by DownloadMod, leading to nasty issues when calling
DownloadMod several times in a row.
* Make async call does not cause a crash if the script vm gets deleted before call finishes.
* also fix in call since it still tries to call even if sqvm is invalid.
* Update log string to account for not crashing anymore
* small formatting things
* fix formatting
* Replace sprintf usage with sprintf_s in version.cpp
* Actually check for size of version.
* fix format
* Add model reloading
* fix formatting
* fix cmake format
* update the help string
* Update location in cmake file
* add changes from review
* small update
* Use "Version" field to determine manifesto format version
* Remove old manifesto file if needed
* Export manifesto version to enabledmods.json on reload
* Make async call does not cause a crash if the script vm gets deleted before call finishes.
* also fix in call since it still tries to call even if sqvm is invalid.
* Update log string to account for not crashing anymore
* extract logic into functions
* dont stop loading all mods???
* refactor dependency constant logic
* some generic cleanup
* guard clauses
* stuff
* early out of mod load stuff
* github is being weird
* formatting
* Update primedev/mods/modmanager.cpp
* If a mod is installed several times, all mod versions are disabled to prevent crashing
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
* feat: NSSetModEnabled now takes mod version as argument
* feat: move enabledmods.json to enabledmods.json.old if old manifesto format is used
* feat: add manifest version field to JSON file