Initial commit, includes Lua with broken Luabind as a backup for branching purposes
[terrastrategy.git] / src / client / static.cpp
blob6ba658a292f7d564ebbc1328f660eede93a53f03
1 //
2 // Copyright (C) 2007-2008 by Martin Moracek
3 //
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /**
20 * @file static.cpp
22 * Ensures that all static objects are initialized in the right order.
24 * @warning All static objects must be defined in this file for the support
25 * routines to work correctly. Instances of static classes not
26 * defined in this file may get initialized sooner and thus cause
27 * errors and exceptions on program's termination.
30 #include "vfs/init_logger.cpp"
32 #include "memory/init_mmgr.cpp"
34 #include "vfs/init_io.cpp"
36 // register dynamic factories
37 #include "gui/init_basic.cpp"
39 // init SDL
40 #include "core/init_sdl.cpp"