Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1674 was 1674, checked in by rgrieder, 16 years ago
  • Wrote Clock() class: It starts an internal clock when GSRoot starts and gets handed to all GameState ticks as reference. You can then either query the ticked time or the real time (for instance for statistical measurements)
  • general clean up in all the game states
  • Property svn:eol-style set to native
File size: 4.3 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 "util/OrxonoxPlatform.h"
38
39#include <string>
40
41//-----------------------------------------------------------------------
42// Shared library settings
43//-----------------------------------------------------------------------
44#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !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//-----------------------------------------------------------------------
64class SignalHandler;
65
66namespace orxonox
67{
68  namespace XMLPort
69  {
70    enum Mode
71    {
72      LoadObject,
73      SaveObject
74    };
75  }
76
77  namespace KeybindMode
78  {
79    enum Enum
80    {
81      OnPress,
82      OnHold,
83      OnRelease,
84      None
85    };
86  };
87
88  typedef std::string LanguageEntryLabel;
89
90  class ArgumentCompleter;
91  class ArgumentCompletionListElement;
92  class BaseFactory;
93  class BaseMetaObjectListElement;
94  class BaseObject;
95  template <class T>
96  class ClassFactory;
97  template <class T>
98  class ClassIdentifier;
99  class ClassTreeMask;
100  class ClassTreeMaskIterator;
101  class ClassTreeMaskNode;
102  class CommandEvaluation;
103  class CommandExecutor;
104  class CommandLine;
105  class BaseCommandLineArgument;
106  template <class T>
107  class CommandLineArgument;
108  class ConfigFile;
109  class ConfigFileEntry;
110  class ConfigFileEntryComment;
111  class ConfigFileEntryValue;
112  class ConfigFileManager;
113  class ConfigFileSection;
114  class ConfigValueContainer;
115  class ConsoleCommand;
116  class Core;
117  class Error;
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 Language;
132  class LanguageEntry;
133  class Level;
134  class Loader;
135  class MetaObjectList;
136  template <class T>
137  class MetaObjectListElement;
138  class Namespace;
139  class NamespaceNode;
140  template <class T>
141  class ObjectList;
142  template <class T>
143  class ObjectListElement;
144  class OrxonoxClass;
145  class OutputBuffer;
146  class OutputBufferListener;
147  class OutputHandler;
148  class Shell;
149  class ShellListener;
150  template <class T>
151  class SubclassIdentifier;
152  class TclBind;
153  struct TclInterpreterBundle;
154  class TclThreadManager;
155  class Tickable;
156  template <class T, class O>
157  class XMLPortClassObjectContainer;
158  template <class T>
159  class XMLPortClassParamContainer;
160  class XMLPortObjectContainer;
161  class XMLPortParamContainer;
162
163  // game states
164  class GameState;
165  class RootGameState;
166
167  // input
168  class BaseCommand;
169  class BufferedParamCommand;
170  class Button;
171  class CalibratorCallback;
172  class ExtendedInputState;
173  class HalfAxis;
174  class InputBuffer;
175  class InputManager;
176  class InputState;
177  class JoyStickHandler;
178  class MouseHandler;
179  class KeyBinder;
180  class KeyDetector;
181  class KeyHandler;
182  class ParamCommand;
183  class SimpleCommand;
184  class SimpleInputState;
185}
186
187#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.