aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/plugins
AgeCommit message (Collapse)Author
2023-07-29Validate package pattern before checking for plugins (#525)v1.17.3-rc1v1.17.31.17.XJan
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern. (cherry picked from commit 0af8c500aecb2eca77996e9ef750589fceb7245b)
2023-07-28Remove `pch.cpp` and all `#include "pch.h"` occurrences (#519)v1.17.2-rc1v1.17.2F1F7Y
With the move to cmake there is no need for the `pch.cpp` files as it generates them automatically. Also removes leftover `#include "pch.h"` occurrences (cherry picked from commit 82bff57d166ece1173ca7df33940171548015a71)
2023-07-28Make sure `packages` dir exists when loading plugins (#523)F1F7Y
Create packages directory in `PluginManager::LoadPlugins()` to avoid crashing when trying to read non-existent directory (cherry picked from commit 24400184f35e64957f2c7544122557077b257886)
2023-07-28Fix plugins not loading (#522)v1.17.1-rc5v1.17.1F1F7Y
Fixes a regression introduced in #513 (cherry picked from commit e742eb35ccc4dab4c0b4cff65b5e72a62346aa74)
2023-07-27Add support for loading plugins from Thunderstore packages (#513)v1.17.1-rc4Jan
Adds support for loading plugins from `packages` directory which was missing from the original PR that introduced the `packages` directory. (cherry picked from commit a65cbeacfbaed17f0526fb513f49338f1151d247)
2023-06-28Code cleanup (#478)v1.16.0-rc1v1.15.1-rc1v1.15.11.15.XJan
* turn implicit type casts into standard compliant explicit type casts * correct includes and library names * correct implicit use of std-namespaced functions * turn incomplete virtual implementations into pure virtuals (this also follows what the Source SDK tier0 header does) * define SqRecurseArgs ahead of implementation to fix templating problems * switch out removed getentity with getthisentity * fix calls to curl_easy_escape with wrong types * replace winapi-specific function with std starts_with function * format squirrel header
2023-06-07Restore `-noplugins` argument (#459)v1.14.3-rc1v1.14.31.14.Xcat_or_not
2023-05-05Support loading plugins from subdirs (#460)cat_or_not
Support loading plugins from subdirs to allow for better organising plugins and easier mod-manager installation
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-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
2022-12-19Restructuring (#365)Emma Miler
* Remove launcher proxy * Restructuring * More restructuring * Fix include dirs * Fix merge * Remove clang thing * Filters * Oops