FIFE cross reference


  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                 *
  7  *   modify it under the terms of the GNU Lesser General Public            *
  8  *   License as published by the Free Software Foundation; either          *
  9  *   version 2.1 of the License, or (at your option) any later version.    *
 10  *                                                                         *
 11  *   This library 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 GNU     *
 14  *   Lesser General Public License for more details.                       *
 15  *                                                                         *
 16  *   You should have received a copy of the GNU Lesser General Public      *
 17  *   License along with this library; if not, write to the                 *
 18  *   Free Software Foundation, Inc.,                                       *
 19  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  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_SCRIPT,
 66         LM_MODULE_MAX // sentinel
 67 };
 68 
 69 /** Module hierarchy definition + display strings
 70  * format = module, module parent, module display name
 71  */
 72 #define MODULE_INFO_RELATIONSHIPS \
 73         ModuleInfo moduleInfos[] = { \
 74                 {LM_AUDIO, LM_CORE, "Audio"}, \
 75                 {LM_CONTROLLER, LM_CORE, "Controller"}, \
 76                 {LM_EVTCHANNEL, LM_CORE, "Event Channel"}, \
 77                 {LM_TRIGGER, LM_EVTCHANNEL, "Trigger System"}, \
 78                 {LM_GUI, LM_CORE, "GUI"}, \
 79                   {LM_CONSOLE, LM_GUI, "Console"}, \
 80                 {LM_LOADERS, LM_CORE, "Loaders"}, \
 81                   {LM_NATIVE_LOADERS, LM_LOADERS, "Native loaders"}, \
 82                   {LM_FO_LOADERS, LM_LOADERS, "Fallout loaders"}, \
 83                 {LM_MODEL, LM_CORE, "Model"}, \
 84                   {LM_STRUCTURES, LM_MODEL, "Structures"}, \
 85                     {LM_INSTANCE, LM_STRUCTURES, "Instance"}, \
 86                     {LM_LOCATION, LM_STRUCTURES, "Location"}, \
 87                   {LM_METAMODEL, LM_MODEL, "Metamodel"}, \
 88                     {LM_CELLGRID, LM_METAMODEL, "Cellgrid"}, \
 89                     {LM_SQUAREGRID, LM_METAMODEL, "Squaregrid"}, \
 90                     {LM_HEXGRID, LM_METAMODEL, "Hexgrid"}, \
 91                 {LM_PATHFINDER, LM_CORE, "Pathfinder"}, \
 92                 {LM_UTIL, LM_CORE, "Util"}, \
 93                   {LM_POOL, LM_UTIL, "Pool"}, \
 94                 {LM_VFS, LM_CORE, "VFS"}, \
 95                 {LM_VIDEO, LM_CORE, "Video" }, \
 96                 {LM_VIEW, LM_CORE, "View"}, \
 97                   {LM_CAMERA, LM_VIEW, "Camera"}, \
 98                   {LM_VIEWVIEW, LM_VIEW, "View::View"}, \
 99                 {LM_XML, LM_CORE, "XML"}, \
100                 {LM_EXCEPTION, LM_CORE, "Exception"}, \
101                 {LM_SCRIPT, LM_CORE, "Script"} \
102         };
103 
104 #endif
105 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Go to FIFE Developer Documentations homepage

This page was automatically generated by the LXR engine.

Visit the LXR main site for more information.