Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gui/src/core/CorePrereqs.h @ 2817

Last change on this file since 2817 was 2817, checked in by rgrieder, 15 years ago

Removed GameState template and renamed GameStateBase to GameState.
Moved statistics stuff (fps and tick time) to Game and removed the remaining hacks in GSGraphics and GSRoot.

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *                    > www.orxonox.net <
4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Reto Grieder
24 *   Co-authors:
25 *      ...
26 *
27 */
28
29/**
30  @file
31  @brief Contains all the necessary forward declarations for all classes and structs.
32*/
33
34#ifndef _CorePrereqs_H__
35#define _CorePrereqs_H__
36
37#include "OrxonoxConfig.h"
38
39#include <string>
40
41//-----------------------------------------------------------------------
42// Shared library settings
43//-----------------------------------------------------------------------
44#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD )
45#  ifdef CORE_SHARED_BUILD
46#    define _CoreExport __declspec(dllexport)
47#  else
48#    if defined( __MINGW32__ )
49#      define _CoreExport
50#    else
51#      define _CoreExport __declspec(dllimport)
52#    endif
53#  endif
54#elif defined ( ORXONOX_GCC_VISIBILITY )
55#  define _CoreExport  __attribute__ ((visibility("default")))
56#else
57#  define _CoreExport
58#endif
59
60
61//-----------------------------------------------------------------------
62// Forward declarations
63//-----------------------------------------------------------------------
64namespace orxonox
65{
66  namespace XMLPort
67  {
68    enum Mode
69    {
70      LoadObject,
71      SaveObject,
72      ExpandObject
73    };
74  }
75
76  namespace KeybindMode
77  {
78    enum Enum
79    {
80      OnPress,
81      OnHold,
82      OnRelease,
83      None
84    };
85  };
86
87  typedef std::string LanguageEntryLabel;
88
89  class ArgumentCompleter;
90  class ArgumentCompletionListElement;
91  class BaseFactory;
92  class BaseMetaObjectListElement;
93  class BaseObject;
94  template <class T>
95  class ClassFactory;
96  template <class T>
97  class ClassIdentifier;
98  class ClassTreeMask;
99  class ClassTreeMaskIterator;
100  class ClassTreeMaskNode;
101  class ClassTreeMaskObjectIterator;
102  class Clock;
103  class CommandEvaluation;
104  class CommandExecutor;
105  class CommandLine;
106  class CommandLineArgument;
107  class ConfigFile;
108  class ConfigFileEntry;
109  class ConfigFileEntryComment;
110  class ConfigFileEntryValue;
111  class ConfigFileManager;
112  class ConfigFileSection;
113  class ConfigValueContainer;
114  class ConsoleCommand;
115  class Core;
116  struct Event;
117  class EventContainer;
118  class Executor;
119  template <class T>
120  class ExecutorMember;
121  class ExecutorStatic;
122  class Factory;
123  class Functor;
124  template <class T>
125  class FunctorMember;
126  class FunctorStatic;
127  class Identifier;
128  class IRC;
129  template <class T>
130  class Iterator;
131  class IteratorBase;
132  class Language;
133  class LanguageEntry;
134  class Loader;
135  class LuaBind;
136  class MetaObjectList;
137  class MetaObjectListElement;
138  class Namespace;
139  class NamespaceNode;
140  template <class T>
141  class ObjectList;
142  class ObjectListBase;
143  class ObjectListBaseElement;
144  template <class T>
145  class ObjectListElement;
146  template <class T>
147  class ObjectListIterator;
148  class OrxonoxClass;
149  class Shell;
150  class ShellListener;
151  template <class T>
152  class SubclassIdentifier;
153  class TclBind;
154  struct TclInterpreterBundle;
155  class TclThreadManager;
156  class Template;
157  class Tickable;
158  class XMLFile;
159  class XMLNameListener;
160  template <class T, class O>
161  class XMLPortClassObjectContainer;
162  template <class T>
163  class XMLPortClassParamContainer;
164  class XMLPortObjectContainer;
165  class XMLPortParamContainer;
166
167  // game states
168  class GameState;
169  class RootGameState;
170
171  // input
172  class BaseCommand;
173  class BufferedParamCommand;
174  class Button;
175  class CalibratorCallback;
176  class ExtendedInputState;
177  class HalfAxis;
178  class InputBuffer;
179  class InputManager;
180  class InputState;
181  class JoyStickHandler;
182  class MouseHandler;
183  class KeyBinder;
184  class KeyDetector;
185  class KeyHandler;
186  class ParamCommand;
187  class SimpleCommand;
188  class SimpleInputState;
189}
190
191#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.