aboutsummaryrefslogtreecommitdiff
path: root/primedev/core
AgeCommit message (Collapse)Author
2024-09-08Set thread names for game threads (#666)v1.28.1-rc1v1.28.1v1.28.0-rc5v1.28.0-rc4v1.28.0p0358
Adds nice thread names that can be visible in crash dumps, non-attachable debuggers and generally in all places where old method of throwing exceptions to attached debugger on game start wouldn't work
2024-09-07Big rpak loading refactor (#766)v1.28.0-rc3v1.28.0-rc2Jack
This reworks how rpaks are loaded, unloaded and tracked. It allows for rpak reloading between map loads, meaning that skins and map overhauls could be enabled and disabled on the fly. Previous methods of loading rpaks still work.
2024-09-05core: Remove use of `SourceInterface` for `IFileSystem` (#805)F1F7Y
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
2024-09-02core: Remove use of `SourceInterface` for `CCvar` (#804)F1F7Y
`SourceInteface` class goes back to icepick and is not good. We have a replacement, let's use it.
2024-08-31core: Remove uses of Autohook from `sourceinterface.cpp` (#798)Jack
Replaces the AUTOHOOK macro in `sourceinterface.cpp` with HookAttach.
2024-08-31core: Remove uses of Autohook from `hooks.cpp` (#796)Jack
Removes AUTOHOOK macro from `hooks.cpp`.
2024-08-31core: Remove uses of Autohook from `filesystem.cpp` (#795)Jack
Replace cases of autohook macro with manual hook calls
2024-08-27core: Remove unused `CModule` variable (#785)v1.27.4-rc1F1F7Y
Removes unused `CModule` var. CModule crashes when you give it a dll tha's been loaded as one of these: `LOAD_LIBRARY_AS_DATAFILE`, `LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE`, `LOAD_LIBRARY_AS_IMAGE_RESOURCE`. We have guards for this in libsys but not here.
2024-08-26Format projectNorthstar
2024-08-25Fix manual hooks storing their name badly (#774)v1.27.3-rc4v1.27.3-rc3Jack
Fix manual hooks storing their name wrong and move to just using std::string since it's much more convenient and this isn't C
2024-08-23Format projectNorthstar
2024-08-18Refactor DLL callbacks (#665)Jack
Cherry-picked from primedev and slightly modified Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2024-07-10Define `fs` alias in source file where used (#747)v1.26.4-rc2v1.26.4-rc1v1.26.3-rc3v1.26.3-rc2v1.26.3GeckoEidechse
for filesystem namespace instead of relying on implicit include Co-authored-by: Jan <sentrycraft123@gmail.com>
2024-06-22Fix memalloc problems (#728)v1.25.3-rc2Jan
alloc declarations to work with CRT implement missing _recalloc_base and _msize
2024-06-16Check if hook target is non `null` before calling MinHook (#711)Jan
2024-03-04Address C4100 compiler warnings (unused var) (#648)v1.24.4-rc1v1.24.3-rc3v1.24.3-rc2v1.24.3Jack
Adds and uses a macro to avoid the warning
2024-03-04Update silver-bun to `72c74b4` (#664)Jack
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>
2024-02-05Port navmesh debug renderer from primedev (#626)Jack
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>
2024-02-04Plugin interfaces (plugins v4) (#615)v1.23.1-rc2v1.23.1-rc1v1.23.1v1.23.0-rc2v1.23.0-rc1v1.23.0uniboi
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.
2024-01-21Address C4267 compiler warnings (#647)v1.22.2-rc1Jack
Implicit conversion from `size_t` to a smaller type
2024-01-20Remove `structs.h` in favor of manual padding (#613)Jan
- 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`
2024-01-04 Add ban/kick concommand completion (#604)v1.22.0-rc1v1.22.0cat_or_not
Adds completion to ban and kick commands when typing them in in-game console.
2023-12-27Folder restructuring from primedev (#624)v1.21.2-rc3v1.21.2Jack
Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y <filip.bartos07@proton.me>