blob: 5e7c826d31889c6e166f1de97a37849d3b11cd9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
game/game.cc
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2
*/
#include "game/game.h"
#include "base/base.h"
#include "intro/intro.h"
#include "core/core.h"
#include "sys/sys.h"
namespace game
{
/// register game modules
void register_modules(bool register_client_modules)
{
con_print << "^BRegistering game modules..." << std::endl;
core::Module::add("base", new base::Base());
if (register_client_modules) {
core::Module::add("intro", new intro::Intro());
}
}
}
|