aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/convar.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-18 17:02:39 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-18 17:02:39 +0100
commita71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1 (patch)
treed3cc5fcde9df08ff131a2216a44c73dee65fdc1f /NorthstarDedicatedTest/convar.h
parentca5db71e8215a6c5660fe03088a6d7349f55f817 (diff)
downloadNorthstarLauncher-a71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1.tar.gz
NorthstarLauncher-a71d52ffd1531a4a03cb4c87dc56ace4f5cb33c1.zip
add rapidjson, move all logging to spdlog
Diffstat (limited to 'NorthstarDedicatedTest/convar.h')
-rw-r--r--NorthstarDedicatedTest/convar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/convar.h b/NorthstarDedicatedTest/convar.h
index ed2f268b..e189e594 100644
--- a/NorthstarDedicatedTest/convar.h
+++ b/NorthstarDedicatedTest/convar.h
@@ -1,5 +1,4 @@
#pragma once
-
// taken directly from iconvar.h
// The default, no flags at all
@@ -58,6 +57,8 @@
// #define FCVAR_AVAILABLE (1<<27)
// #define FCVAR_AVAILABLE (1<<31)
+class ConCommand;
+
// still need to map out functions and that for this, would be nice to be able to get actual values out of these in native
// also i sure do hope this size is right because there's a fairly decent chance it isn't
class ConVar
@@ -72,8 +73,8 @@ public:
virtual void AddFlags(int flags) {}
virtual void RemoveFlags(int flags) {}
virtual int GetFlags() const { return 0; }
- virtual const char* GetName(void) const { return nullptr; }
- virtual const char* GetHelpText(void) const { return nullptr; }
+ virtual const char* GetName(void) const { return nullptr; }
+ virtual const char* GetHelpText(void) const { return nullptr; }
virtual bool IsRegistered(void) const { return false; }
};