aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/hooks.cpp
AgeCommit message (Collapse)Author
2024-08-31core: Remove uses of Autohook from `hooks.cpp` (#796)Jack
Removes AUTOHOOK macro from `hooks.cpp`.
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-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-16Check if hook target is non `null` before calling MinHook (#711)Jan
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
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>