Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/src/core/CorePrereqs.h @ 5788

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

Experimental support for OGRE v1.6 "Shoggoth".
I had to write a little script that removes all the "particle_system" keywords from the particle scripts. But since we can't write to the media folder and creating unique temporary folders is quite tedious, I derived from Ogre::Archive and created a little MemoryArchive that accepts those new particle scripts and feeds them back to the Ogre::ResourceGroupManager.
Also adjusted all particle scripts for the new script compiler (i.e. just added "particle_system" everywhere).

Note: It seems that overlays don't work anymore on Windows, compiling with MinGW.

  • Property svn:eol-style set to native
File size: 6.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 "OrxonoxConfig.h"
38
39//-----------------------------------------------------------------------
40// Shared library settings
41//-----------------------------------------------------------------------
42#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD )
43#  ifdef CORE_SHARED_BUILD
44#    define _CoreExport __declspec(dllexport)
45#  else
46#    if defined( __MINGW32__ )
47#      define _CoreExport
48#    else
49#      define _CoreExport __declspec(dllimport)
50#    endif
51#  endif
52#elif defined ( ORXONOX_GCC_VISIBILITY )
53#  define _CoreExport  __attribute__ ((visibility("default")))
54#else
55#  define _CoreExport
56#endif
57
58
59//-----------------------------------------------------------------------
60// Forward declarations
61//-----------------------------------------------------------------------
62namespace orxonox
63{
64    namespace XMLPort
65    {
66        enum Mode
67        {
68            LoadObject,
69            SaveObject,
70            ExpandObject
71        };
72    }
73
74    namespace KeybindMode
75    {
76        enum Value
77        {
78            OnPress,
79            OnHold,
80            OnRelease,
81            None
82        };
83    };
84
85    typedef std::string LanguageEntryLabel;
86
87    class ArgumentCompleter;
88    class ArgumentCompletionListElement;
89    class BaseFactory;
90    class BaseMetaObjectListElement;
91    class BaseObject;
92    template <class T>
93    class ClassFactory;
94    template <class T>
95    class ClassIdentifier;
96    class ClassTreeMask;
97    class ClassTreeMaskIterator;
98    class ClassTreeMaskNode;
99    class ClassTreeMaskObjectIterator;
100    class Clock;
101    class CommandEvaluation;
102    class CommandExecutor;
103    class CommandLine;
104    class CommandLineArgument;
105    class ConfigFile;
106    class ConfigFileEntry;
107    class ConfigFileEntryComment;
108    class ConfigFileEntryValue;
109    class ConfigFileManager;
110    class ConfigFileSection;
111    class ConfigValueContainer;
112    class ConsoleCommand;
113    class Core;
114    struct Event;
115    class EventContainer;
116    class Executor;
117    template <class T>
118    class ExecutorMember;
119    class ExecutorStatic;
120    class Factory;
121    class Functor;
122    template <class T>
123    class FunctorMember;
124    class FunctorStatic;
125    class GraphicsManager;
126    class GUIManager;
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 LuaState;
136    class MemoryArchive;
137    class MemoryArchiveFactory;
138    class MetaObjectList;
139    class MetaObjectListElement;
140    class Namespace;
141    class NamespaceNode;
142    template <class T>
143    class ObjectList;
144    class ObjectListBase;
145    class ObjectListBaseElement;
146    template <class T>
147    class ObjectListElement;
148    template <class T>
149    class ObjectListIterator;
150    class OgreWindowEventListener;
151    class OrxonoxClass;
152    struct ResourceInfo;
153    class Shell;
154    class ShellListener;
155    template <class T>
156    class SubclassIdentifier;
157    class TclBind;
158    struct TclInterpreterBundle;
159    template <class T>
160    class TclThreadList;
161    class TclThreadManager;
162    class Template;
163    class WindowEventListener;
164    class XMLFile;
165    class XMLNameListener;
166    template <class T, class O>
167    class XMLPortClassObjectContainer;
168    template <class T>
169    class XMLPortClassParamContainer;
170    class XMLPortObjectContainer;
171    class XMLPortParamContainer;
172
173    // game states
174    class Game;
175    class GameState;
176    struct GameStateInfo;
177    struct GameStateTreeNode;
178
179    // input
180    class BaseCommand;
181    class BufferedParamCommand;
182    class Button;
183    class CalibratorCallback;
184    class HalfAxis;
185    class InputBuffer;
186    class InputDevice;
187    template <class Traits>
188    class InputDeviceTemplated;
189    class InputHandler;
190    class InputManager;
191    class InputState;
192    class JoyStick;
193    class Mouse;
194    class Keyboard;
195    class KeyBinder;
196    class KeyDetector;
197    class ParamCommand;
198    class SimpleCommand;
199
200
201    // multithreading
202    class Thread;
203    class ThreadPool;
204}
205
206// CppTcl
207namespace Tcl
208{
209    class interpreter;
210    class object;
211}
212
213// Boost
214namespace boost
215{
216    namespace filesystem
217    {
218        struct path_traits;
219        template <class String, class Traits> class basic_path;
220        typedef basic_path<std::string, path_traits> path;
221    }
222    class thread;
223    class mutex;
224    class shared_mutex;
225    class condition_variable;
226}
227
228// Ogre
229namespace Ogre
230{
231    class DataStream;
232    template <class T> class SharedPtr;
233    typedef SharedPtr<DataStream> DataStreamPtr;
234}
235namespace orxonox
236{
237    // Import the Ogre::DataStream
238    using Ogre::DataStream;
239    using Ogre::DataStreamPtr;
240}
241
242// CEGUI
243namespace CEGUI
244{
245    class DefaultLogger;
246    class Logger;
247    class LuaScriptModule;
248
249    class OgreCEGUIRenderer;
250    class OgreCEGUIResourceProvider;
251    class OgreCEGUITexture;
252}
253
254// Lua
255struct lua_State;
256
257// TinyXML and TinyXML++
258class TiXmlString;
259class TiXmlOutStream;
260class TiXmlNode;
261class TiXmlHandle;
262class TiXmlDocument;
263class TiXmlElement;
264class TiXmlComment;
265class TiXmlUnknown;
266class TiXmlAttribute;
267class TiXmlText;
268class TiXmlDeclaration;
269class TiXmlParsingData;
270namespace ticpp
271{
272    class Document;
273    class Element;
274    class Declaration;
275    class StylesheetReference;
276    class Text;
277    class Comment;
278    class Attribute;
279}
280namespace orxonox
281{
282    using ticpp::Document;
283    using ticpp::Element;
284    using ticpp::Declaration;
285    using ticpp::StylesheetReference;
286    using ticpp::Text;
287    using ticpp::Comment;
288    using ticpp::Attribute;
289}
290
291
292#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.