comparison engine/core/modules.h @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children 90005975cdbb
comparison
equal deleted inserted replaced
-1:000000000000 0:4a0efb7baf70
1 /***************************************************************************
2 * Copyright (C) 2005-2008 by the FIFE team *
3 * http://www.fifengine.de *
4 * This file is part of FIFE. *
5 * *
6 * FIFE is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21
22 #ifndef FIFE_MODULES_H
23 #define FIFE_MODULES_H
24
25 // Standard C++ library includes
26
27 // 3rd party library includes
28
29 // FIFE includes
30 // These includes are split up in two parts, separated by one empty line
31 // First block: files included from the FIFE root src directory
32 // Second block: files included from the same folder
33
34 /** Modules available for logging
35 */
36 enum logmodule_t {
37 LM_CORE = -1,
38 LM_AUDIO,
39 LM_CONTROLLER,
40 LM_EVTCHANNEL,
41 LM_TRIGGER,
42 LM_GUI,
43 LM_CONSOLE,
44 LM_LOADERS,
45 LM_NATIVE_LOADERS,
46 LM_FO_LOADERS,
47 LM_MODEL,
48 LM_STRUCTURES,
49 LM_INSTANCE,
50 LM_LOCATION,
51 LM_METAMODEL,
52 LM_CELLGRID,
53 LM_SQUAREGRID,
54 LM_HEXGRID,
55 LM_PATHFINDER,
56 LM_UTIL,
57 LM_POOL,
58 LM_VFS,
59 LM_VIDEO,
60 LM_VIEW,
61 LM_CAMERA,
62 LM_VIEWVIEW,
63 LM_XML,
64 LM_EXCEPTION,
65 LM_MODULE_MAX // sentinel
66 };
67
68 /** Module hierarchy definition + display strings
69 * format = module, module parent, module display name
70 */
71 #define MODULE_INFO_RELATIONSHIPS \
72 ModuleInfo moduleInfos[] = { \
73 {LM_AUDIO, LM_CORE, "Audio"}, \
74 {LM_CONTROLLER, LM_CORE, "Controller"}, \
75 {LM_EVTCHANNEL, LM_CORE, "Event Channel"}, \
76 {LM_TRIGGER, LM_EVTCHANNEL, "Trigger System"}, \
77 {LM_GUI, LM_CORE, "GUI"}, \
78 {LM_CONSOLE, LM_GUI, "Console"}, \
79 {LM_LOADERS, LM_CORE, "Loaders"}, \
80 {LM_NATIVE_LOADERS, LM_LOADERS, "Native loaders"}, \
81 {LM_FO_LOADERS, LM_LOADERS, "Fallout loaders"}, \
82 {LM_MODEL, LM_CORE, "Model"}, \
83 {LM_STRUCTURES, LM_MODEL, "Structures"}, \
84 {LM_INSTANCE, LM_STRUCTURES, "Instance"}, \
85 {LM_LOCATION, LM_STRUCTURES, "Location"}, \
86 {LM_METAMODEL, LM_MODEL, "Metamodel"}, \
87 {LM_CELLGRID, LM_METAMODEL, "Cellgrid"}, \
88 {LM_SQUAREGRID, LM_METAMODEL, "Squaregrid"}, \
89 {LM_HEXGRID, LM_METAMODEL, "Hexgrid"}, \
90 {LM_PATHFINDER, LM_CORE, "Pathfinder"}, \
91 {LM_UTIL, LM_CORE, "Util"}, \
92 {LM_POOL, LM_UTIL, "Pool"}, \
93 {LM_VFS, LM_CORE, "VFS"}, \
94 {LM_VIDEO, LM_CORE, "Video" }, \
95 {LM_VIEW, LM_CORE, "View"}, \
96 {LM_CAMERA, LM_VIEW, "Camera"}, \
97 {LM_VIEWVIEW, LM_VIEW, "View::View"}, \
98 {LM_XML, LM_CORE, "XML"}, \
99 {LM_EXCEPTION, LM_CORE, "Exception"} \
100 };
101
102 #endif