Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Add a Squirrel VM method to know if a given mod is remote or not.
|
|
Because:
- Errors are incredibly confusing when non-fatal - there is no indicator that an error is happening
- The error is unknown without a try/catch block
- Errors cannot be tracked to a line, or file, and its location has to be figured out manually
- They can throw a game into an unexpected state with no indicator, confusing both players AND developers
|
|
Properly handle invalid cvar replications without blocking netmessage entirely and restore `ns_server_name` replication
|
|
|
|
The wsock proxy is so small and self contained that it really does not benefit from a precompiled header.
|
|
as its used once and does not warrant being in the precompiled header
|
|
Check for Console Window before allocating one and remove "console already exists" from error message, we know it doesn't
|
|
`HasMember` asserts `IsObject()` internally.
In release builds this is not an issue but this does not work on Debug builds.
|
|
pulls in https://github.com/Tencent/rapidjson/pull/719
resolves https://github.com/Tencent/rapidjson/issues/2277
|
|
Move primelauncher cmake logic into its subdirectory allowing everything related to it to be self contained
|
|
alloc declarations to work with CRT
implement missing _recalloc_base and _msize
|
|
the compiler knows we want to override here, since the original `custom_sink_it_` is virtual but we should be explicit to prevent any mistakes.
|
|
The standard states that this must always be a valid pointer so these checks are optimized out anyway.
Sane compilers, such as clang, also complain about this and state that this is pointless.
|
|
Microsoft, in their infinite wisdom, decided to suffix some libraries with `.Lib` instead of `.lib`
This causes issues with cmake on Linux because it only looks for `.lib` which it won't be able to resolve because the file system is case sensitive.
Microsoft does this for backwards compatibility, in cmake this is a limitation so the best solution is to bite the bullet and lowercase all libraries which setups such as wine-msvc and xwin already do.
|
|
The use of sizeof is incorrect here since `this` is a pointer and sizeof is used on the pointer directly, instead of what the pointer points to.
It seems to work without issue due to padding but could cause issues if an instanced class like `std::string` gets nulled.
|
|
RapidJSON switch gets a new case for null, where we do nothing. Future enum values would result in a new warning.
|
|
In C++ explicit template instantiations need to be done AFTER template declarations are made.
|
|
Add default case for SquirrelContext switch and logs errors so we can catch them if they do ever happen.
|
|
Use double brackets to let compiler know that assignment inside `if` statement is intentional and not the cause of a missing second `=`.
|
|
|
|
|
|
Assign CreateInterface member instead of creating a new variable. This fixes valid Plugins failing to load.
|
|
Previous logic would always return `true`
|
|
Instance string members only after checking for null pointers to prevent UB
|
|
|
|
Adds and uses a macro to avoid the warning
|
|
Bumps the vendored silver-bun library to the newest commit in upstream
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
Co-authored-by: IcePixelx <41352111+IcePixelx@users.noreply.github.com>
|
|
`map` should only take a single arg that specifies the map to load.
|
|
Properly check string prefix to see if we should open it in browser
|
|
and remove duplicate assignment
|
|
- moves `WSockProxy` to `wsockproxy/CmakeLists`
- remove exepath stuff from dllmain
+ its still done in loader.cpp because its used when reporting failure
- Disabled any Thread Library calls
+ we don't need to know about threads at all in the proxy
- yoink `wsock32.asm` into outer space
+ turns out, we can just call the function in a void shim since that wont touch the registers
- stop copying `wsock32.dll` to the game directory
+ this should improve the state of things when using the EA App
|
|
The default branch for the VerifiedMods repo was renamed from `master` to `main`.
|
|
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>
|