aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-27 00:25:36 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-27 00:25:36 +0100
commit26d090e4ae6153d1f7b49f8776c2923345dd810f (patch)
treec1abdb12fe6b891819597c8bbf376d76b12fed86 /NorthstarDedicatedTest/gameutils.h
parentda212ca9b7d2ab97f8baa531d31a91fd40d9c085 (diff)
downloadNorthstarLauncher-26d090e4ae6153d1f7b49f8776c2923345dd810f.tar.gz
NorthstarLauncher-26d090e4ae6153d1f7b49f8776c2923345dd810f.zip
read cmdline args from file, disable origin on dedi
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.h')
-rw-r--r--NorthstarDedicatedTest/gameutils.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/gameutils.h b/NorthstarDedicatedTest/gameutils.h
index 786c5e99..f63d4c81 100644
--- a/NorthstarDedicatedTest/gameutils.h
+++ b/NorthstarDedicatedTest/gameutils.h
@@ -144,10 +144,16 @@ enum EngineState_t
DLL_PAUSED, // engine is paused, can become active from this state
};
-struct CEngine
+class CEngine
{
public:
- void* vtable;
+ virtual bool Load(bool dedicated, const char* baseDir) {}
+ virtual void Unload() {}
+ virtual void SetNextState(EngineState_t iNextState) {}
+ virtual EngineState_t GetState() {}
+ virtual void Frame() {}
+ virtual float GetFrameTime() {}
+ virtual float GetCurTime() {}
EngineQuitState m_nQuitting;
EngineState_t m_nDllState;