Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy2/src/core/CorePrereqs.h @ 2274

Last change on this file since 2274 was 2173, checked in by landauf, 16 years ago
  • Added new XMLPort mode, ExpandObject, which works like LoadObject but doesn't use default values if there are missing parameters. This is used if an object is expanded by templates (like adding CameraPositions).
  • Changed default level to sample3.oxw in objecthierarchy2 branch
  • Small fix with doubly added clients in Level- and PlayerManager
  • Property svn:eol-style set to native
File size: 4.5 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//-----------------------------------------------------------------------
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 MetaObjectList;
136  class MetaObjectListElement;
137  class Namespace;
138  class NamespaceNode;
139  template <class T>
140  class ObjectList;
141  class ObjectListBase;
142  class ObjectListBaseElement;
143  template <class T>
144  class ObjectListElement;
145  template <class T>
146  class ObjectListIterator;
147  class OrxonoxClass;
148  class Shell;
149  class ShellListener;
150  template <class T>
151  class SubclassIdentifier;
152  class TclBind;
153  struct TclInterpreterBundle;
154  class TclThreadManager;
155  class Template;
156  class Tickable;
157  class XMLFile;
158  class XMLNameListener;
159  template <class T, class O>
160  class XMLPortClassObjectContainer;
161  template <class T>
162  class XMLPortClassParamContainer;
163  class XMLPortObjectContainer;
164  class XMLPortParamContainer;
165
166  // game states
167  class GameStateBase;
168  template <class ParentType>
169  class GameState;
170  class RootGameState;
171
172  // input
173  class BaseCommand;
174  class BufferedParamCommand;
175  class Button;
176  class CalibratorCallback;
177  class ExtendedInputState;
178  class HalfAxis;
179  class InputBuffer;
180  class InputManager;
181  class InputState;
182  class JoyStickHandler;
183  class MouseHandler;
184  class KeyBinder;
185  class KeyDetector;
186  class KeyHandler;
187  class ParamCommand;
188  class SimpleCommand;
189  class SimpleInputState;
190}
191
192#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.