aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceconsole.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-30 03:04:25 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-30 03:04:25 +0000
commita589bb0082cbae6d326644292179c9427e76e795 (patch)
tree1a40c5cb171af28a7bcd5c6ec75bcbc855bb0ef4 /NorthstarDedicatedTest/sourceconsole.cpp
parentcd1631d782b1a1e4f6840e3964617bac95814dec (diff)
downloadNorthstarLauncher-a589bb0082cbae6d326644292179c9427e76e795.tar.gz
NorthstarLauncher-a589bb0082cbae6d326644292179c9427e76e795.zip
add FindConVar and FindConCommand
Diffstat (limited to 'NorthstarDedicatedTest/sourceconsole.cpp')
-rw-r--r--NorthstarDedicatedTest/sourceconsole.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/NorthstarDedicatedTest/sourceconsole.cpp b/NorthstarDedicatedTest/sourceconsole.cpp
index 64c6565c..98901737 100644
--- a/NorthstarDedicatedTest/sourceconsole.cpp
+++ b/NorthstarDedicatedTest/sourceconsole.cpp
@@ -15,14 +15,6 @@ void ConCommand_toggleconsole(const CCommand& arg)
(*g_SourceGameConsole)->Activate();
}
-void ConCommand_help(const CCommand& arg)
-{
- if (arg.ArgC() < 2)
- return;
-
- // todo: this should basically just call FindConVar once we have that working, then just print convar.GetHelpString
-}
-
typedef void(*OnCommandSubmittedType)(CConsoleDialog* consoleDialog, const char* pCommand);
OnCommandSubmittedType onCommandSubmittedOriginal;
void OnCommandSubmittedHook(CConsoleDialog* consoleDialog, const char* pCommand)