aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicated.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-21 16:40:01 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-21 16:40:01 +0100
commit8564c36b49f5f0451be5036371e421a44425b02e (patch)
treefcd1fbe100e7c8fb9ba7eee8e5923abd5ad0ba27 /NorthstarDedicatedTest/dedicated.cpp
parent8650a7520baec35765bc837d9313325e0c7631d3 (diff)
downloadNorthstarLauncher-8564c36b49f5f0451be5036371e421a44425b02e.tar.gz
NorthstarLauncher-8564c36b49f5f0451be5036371e421a44425b02e.zip
add some basic filesystem stuff and client/ui script callbacks
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicated.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp
index b3f66d59..d526fb1b 100644
--- a/NorthstarDedicatedTest/dedicated.cpp
+++ b/NorthstarDedicatedTest/dedicated.cpp
@@ -11,6 +11,15 @@ bool IsDedicated()
return false;
}
+enum EngineState_t
+{
+ DLL_INACTIVE = 0, // no dll
+ DLL_ACTIVE, // engine is focused
+ DLL_CLOSE, // closing down dll
+ DLL_RESTART, // engine is shutting down but will restart right away
+ DLL_PAUSED, // engine is paused, can become active from this state
+};
+
void InitialiseDedicated(HMODULE engineAddress)
{
std::cout << "InitialiseDedicated()" << std::endl;