aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/squirrel/squirrel.cpp
AgeCommit message (Collapse)Author
2023-04-23Fix initscript issue (#457)v1.13.2-rc2v1.13.2-rc1v1.13.2v1.13.1-rc1v1.13.1cat_or_not
Fix initscript issue that prevented Northstar from being run without any mods enabled/installed.
2023-04-11Plugin system v2 (#343)Emma Miler
* Some work * Rewrite gamestate presence * Add plugin system logger * Format changes * Format chjange * Fix gamestate stuff * some callback stuff * move around invite stuff * move invite to funcs * fix presence server data * Actually call InformSQVMCreated * bruh * Fix TODO's * Formatting * Fix filters * Add InformDLLLoads * Fix plugin handle always being 0 * Formatting * Fix merge issues * Formatting * Mods can add files compiled at SQVM init * Some Small Fixes * Add changes from review * Fix load failure * Add new squirrel functions * actually call InformSQVMDestroyed * add CreateObject function * answers to complaints * remove snake cases from GameStatePresence --------- Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-03-31Bring back sq_getobject and sq_getthisentity for the client and ui vm (#428)cat_or_not
bring sq funcs back
2023-02-14Force-include `pch.h` to all files, remove explicit includes (#393)p0358
* force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files
2023-02-09Add Destroy callback for squirrel scripts. (#383)v1.12.3-rc2v1.12.3-rc1v1.12.3Erlite
* Add Destroy callback for squirrel scripts. * Switch _call() to Call()
2023-01-04Improve response to UI VM compile errors (#388)Jack
* log reaction to script compile errors * move log line to make a bit more sense * change log message and show console on non-fatal ui compile error * improve SQSharedState struct and CSquirrelVM struct Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com> * Improve IsUIVM Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com> * Remove now-unnecessary showing of console * remove extra logging Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com>
2022-12-26Add missing breaks to AsyncCall_External() (#382)Erlite
2022-12-26Process all squirrel messages in the buffer instead of one per frame. (#381)Erlite
* Process all squirrel messages in the buffer instead of one per frame. * Move on to the next message if no function is found,.
2022-12-22Add NSGetModName (#366)Emma Miler
* Stackinfos * Formatting * Add option for depth * Revert "Merge branch 'main' into stackinfos" This reverts commit e9e8948d2ae9ab72095eb2162de40383b7211276, reversing changes made to d1cf18f7165a9d4fbe7f8ae2f1dfacbba36e4852. * Move macros header * Add macro header to filters * Fix merge conflict mistake * Fix stuff * I hate git * create `NSGetCurrentModName` * Fix merge issues
2022-12-22Add script concommands (#373)Emma Miler
* Add script concommands * Fix indent * Formatting * Formatting stuff * Changes for review * Fix typo * Forgot to remove the return statement * Formatting
2022-12-22Fix UI VM Destruction (again again) (#380)Emma Miler
2022-12-19Restructuring (#365)Emma Miler
* Remove launcher proxy * Restructuring * More restructuring * Fix include dirs * Fix merge * Remove clang thing * Filters * Oops