diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 22:33:00 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 22:33:00 +0100 |
commit | ca5db71e8215a6c5660fe03088a6d7349f55f817 (patch) | |
tree | 534b79d2599475b1da3edb4f232223d9e32d3174 /NorthstarDedicatedTest/sourceinterface.h | |
parent | 51d3d4a40c8579e29571bc80d35bbb62fa50661b (diff) | |
download | NorthstarLauncher-ca5db71e8215a6c5660fe03088a6d7349f55f817.tar.gz NorthstarLauncher-ca5db71e8215a6c5660fe03088a6d7349f55f817.zip |
add support for custom convars and concommands
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.h')
-rw-r--r-- | NorthstarDedicatedTest/sourceinterface.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/sourceinterface.h b/NorthstarDedicatedTest/sourceinterface.h index b6e9b92a..3629b9d1 100644 --- a/NorthstarDedicatedTest/sourceinterface.h +++ b/NorthstarDedicatedTest/sourceinterface.h @@ -3,7 +3,7 @@ #include "tier0.h" // literally just copied from ttf2sdk definition -typedef void* (*CreateInterfaceFn)(const char* pName, int* pReturnCode); +typedef void*(*CreateInterfaceFn)(const char* pName, int* pReturnCode); template<typename T> class SourceInterface { @@ -29,4 +29,7 @@ public: { return m_interface; } -};
\ No newline at end of file +}; + +// functions for interface creation callbacks +void InitialiseInterfaceCreationHooks();
\ No newline at end of file |