Age | Commit message (Collapse) | Author |
|
instead of putting build dir inside main source tree
|
|
Adds support for rendering navmeshes in-game using debug overlay
Cherry-picked from primedev, originally written by F1F7Y
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com>
|
|
Replaces the current plugin api with source interfaces.
- backwards compatible
- no more json in binaries (wtf)
- does not rely on structs from third party libraries (wtf)
- actually initializes variables
- no more basically unused classes
The launcher exposes almost everything required by plugins in interfaces that allow for backwards compatibility.
The only thing that's passed to a plugin directly is the northstar dll HWND and a struct of data that's different for each plugin.
|
|
`std::function` introduced a layer of indirection that can be removed through templating the class.
|
|
Remove unused variable that was also leaking memory
|
|
Fixes builds failing due to https://github.com/madler/zlib/commit/2e3d86c4e12c4c23db4229eea7d0c1cd4571273e
|
|
Implicit conversion from `size_t` to a smaller type
|
|
* fix C5054 (cherry-pick change from https://github.com/Tencent/rapidjson/pull/1817)
* fix C4099 in Rapidjson. Cherry-picks the following:
https://github.com/Tencent/rapidjson/commit/d87b698d0fcc10a5f632ecbc80a9cb2a8fa094a5
https://github.com/Tencent/rapidjson/pull/1568
|
|
Abort request if network connection is dropped or too slow.
|
|
Always print masterserver response request id to logs
|
|
Use a scope guard instead of `GOTO` statements for curl cleanup
|
|
- delete `structs.h`
- completely remove VPKFileEntry (its completely unused)
- convert all other instances of `OFFSET_STRUCT` to normal structs (this was automated and may be wrong)
- Update `m_bZooming` type from `uint32_t` to `bool`
|
|
Call our version of the function instead of native
|
|
Adds completion to ban and kick commands when typing them in in-game console.
|
|
Cherry-picked from primedev
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
|
|
|
|
|
|
|
|
for testing
|
|
|
|
Since we can get stack info from the sqvm, we don't need to give the function name in the template and stuff.
Cherry picked from primedev
|
|
Copies of over the primedev folder structure for easier cherry-picking of further changes
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
|
|
|
|
Default appears to be -2, which causes clang-format to mix tabs and spaces
|
|
Cherry-picks the removal of unnecessary namespaces from `primedev`
https://github.com/F1F7Y/NorthstarPrime/
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
|
|
UI integration for the mod downloading feature. Feature activation locked behind a convar.
|
|
Adds dependency constants for plugins so mods can rely on plugins without always producing script errors when the plugin is missing
|
|
Old `-vanilla` behaviour is now handled by `-nonorthstardll`.
New squirrel constant called `VANILLA`. Set to true when in vanilla compatibility mode.
Differences when in vanilla compatibility mode:
- Doesn't restrict server commands (same as `-norestrictservercommands`)
- Doesn't block FairFight screenshot functions
- Doesn't do Atlas-related stuff (except for mainmenupromos)
|
|
Only use the absolute necessary compression methods in order to still allow compilation under Wine.
|
|
|
|
The setting will set each initializer in a new line if all of them don't fit in one line
|
|
Current is 0.13 which was released October 2021. This bumps it latest at the time of writing, i.e. 0.16.2
|
|
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended.
|
|
Adds safeguard to the `map` command that prevents it from executing if the requested map is invalid or no map argument is given.
Retry of #529
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
Disables recursive search for plugins in plugin folders and if it exists adds lib folder within plugin folder to DLL load dirs
|
|
Takes the previous audio event code, which relied on reading out a register using masm, and replaces it with a new hook.
Adapted from NorthstarPrime https://github.com/F1F7Y/NorthstarPrime
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
|
|
Fixes bots crashing servers when they are the first to connect to it. Also moves player auth to `CServer::ConnectClient`. This allows the removal of `iNextPlayerUid` and `pNextPlayerToken` which were the cause of issues previously since they were not initialized by bots.
|
|
The previous logic incorrectly loaded compared the whole argument, which may be a path, to the string literal.
This fix checks if the argument ends with the string literal instead.
|
|
Prints the version of the mod when loaded succesfully
|
|
The main purpose of this PR is to not flood the console with errors that aren't really errors, thus preventing various tickets or misleading users.
|
|
File was moved with https://github.com/R2Northstar/VerifiedMods/pull/8
|
|
- nuked presence logic ( moved to the discord rpc plugin )
- more exposed sq functions
- exposed dll addresses
- `g_pCVar` is exposed
- added "userdata" to plugin's async call
- added runframe to plugins
|
|
The related line expected 3 args but only 2 args are passed.
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
Adds various concommands such as
- `convar_findByFlags`
- `convar_list`
- `convar_differences`
- `convar_find`
The first 3 listed above are already registered as concommands natively but didn't seem to do anything when tested.
`convar_findByFlags` and `convar_find` were already implemented by Bob under the names `findflags` and `find` respectively but the names have been changed to reflect already existing convars.
|
|
Exposes the version number in the form of individual digits to script.
|
|
Allows client to download a mod archive from the Thunderstore API, and extract included mods in the remote mods folder of the current game profile.
Not all mods can be automatically downloaded, as it would cause some security issues, and Thunderstore mod name cannot be deduced from actual mod name: to be eligible to auto-downloading, a mod must appear in the list of verified mods.
Said list and complete mod verification procedure are described here: https://github.com/R2Northstar/VerifiedMods
Exposes two commands to test the feature:
- `fetch_verified_mods` retrieves verified mods list from the GitHub organization, and stores it locally;
- `download_mod` does the actual mod downloading/extraction job.
|
|
Refactors `debugoverlay.cpp` based on primedev and fixes smart pistol lines in the process.
Co-authored-by: F1F7Y <64418963+F1F7Y@users.noreply.github.com>
|