aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/r2server.h
blob: 816adc82fa08f52959c50e75ef15b524e532792f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

// use the R2 namespace for game funcs
namespace R2
{
	enum server_state_t
	{
		ss_dead = 0, // Dead
		ss_loading, // Spawning
		ss_active, // Running
		ss_paused, // Running, but paused
	};

	extern server_state_t* g_pServerState;

	// server entity stuff
	typedef void* (*Server_GetEntityByIndexType)(int index);
	extern Server_GetEntityByIndexType Server_GetEntityByIndex;
} // namespace R2