2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-03-15 15:00:22 +03:00
metamod-r/metamod/src/engine_t.h

14 lines
332 B
C
Raw Normal View History

2016-07-26 23:31:47 +07:00
#pragma once
2016-07-26 07:22:47 +07:00
// Our structure for storing engine references.
2016-07-26 23:31:47 +07:00
struct engine_t
{
engine_t() : funcs(nullptr), globals(nullptr), pl_funcs(nullptr) {}
2016-07-26 07:22:47 +07:00
2016-07-26 23:31:47 +07:00
enginefuncs_t *funcs; // engine funcs
globalvars_t *globals; // engine globals
enginefuncs_t *pl_funcs; // "modified" eng funcs we give to plugins
2016-07-26 07:22:47 +07:00
};
extern engine_t g_engine;