aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceconsole.cpp
blob: c862356e050f89591c39404fa63a21c27de8f039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "pch.h"
#include "sourceconsole.h"
#include "sourceinterface.h"

SourceInterface<CGameConsole>* g_SourceGameConsole;

void InitialiseSourceConsole(HMODULE baseAddress)
{
	SourceInterface<CGameConsole> console = SourceInterface<CGameConsole>("client.dll", "CGameConsole");
	console->Initialize();
	console->Activate();

	g_SourceGameConsole = &console;
}