[682] | 1 | /* |
---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
[1502] | 3 | * > www.orxonox.net < |
---|
[682] | 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 | /** |
---|
[1024] | 30 | @file |
---|
| 31 | @brief Contains all the necessary forward declarations for all classes and structs. |
---|
[871] | 32 | */ |
---|
[682] | 33 | |
---|
| 34 | #ifndef _CorePrereqs_H__ |
---|
| 35 | #define _CorePrereqs_H__ |
---|
| 36 | |
---|
[1502] | 37 | #include "util/OrxonoxPlatform.h" |
---|
[1062] | 38 | |
---|
[1024] | 39 | #include <string> |
---|
[682] | 40 | |
---|
[728] | 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 |
---|
[682] | 59 | |
---|
[728] | 60 | |
---|
[682] | 61 | //----------------------------------------------------------------------- |
---|
[728] | 62 | // Forward declarations |
---|
| 63 | //----------------------------------------------------------------------- |
---|
| 64 | namespace orxonox |
---|
[684] | 65 | { |
---|
[1052] | 66 | namespace XMLPort |
---|
| 67 | { |
---|
| 68 | enum Mode |
---|
| 69 | { |
---|
| 70 | LoadObject, |
---|
| 71 | SaveObject |
---|
| 72 | }; |
---|
| 73 | } |
---|
| 74 | |
---|
[1502] | 75 | namespace KeybindMode |
---|
| 76 | { |
---|
| 77 | enum Enum |
---|
| 78 | { |
---|
| 79 | OnPress, |
---|
| 80 | OnHold, |
---|
| 81 | OnRelease, |
---|
| 82 | None |
---|
| 83 | }; |
---|
| 84 | }; |
---|
[1349] | 85 | |
---|
[1024] | 86 | typedef std::string LanguageEntryLabel; |
---|
| 87 | |
---|
[1502] | 88 | class ArgumentCompleter; |
---|
| 89 | class ArgumentCompletionListElement; |
---|
[682] | 90 | class BaseFactory; |
---|
| 91 | class BaseMetaObjectListElement; |
---|
[1024] | 92 | class BaseObject; |
---|
[682] | 93 | template <class T> |
---|
| 94 | class ClassFactory; |
---|
| 95 | template <class T> |
---|
[1024] | 96 | class ClassIdentifier; |
---|
[871] | 97 | class ClassTreeMask; |
---|
[1024] | 98 | class ClassTreeMaskIterator; |
---|
| 99 | class ClassTreeMaskNode; |
---|
[1757] | 100 | class ClassTreeMaskObjectIterator; |
---|
[1755] | 101 | class Clock; |
---|
[1052] | 102 | class CommandEvaluation; |
---|
| 103 | class CommandExecutor; |
---|
[1755] | 104 | class CommandLine; |
---|
| 105 | class CommandLineArgument; |
---|
[1052] | 106 | class ConfigFile; |
---|
| 107 | class ConfigFileEntry; |
---|
| 108 | class ConfigFileEntryComment; |
---|
| 109 | class ConfigFileEntryValue; |
---|
| 110 | class ConfigFileManager; |
---|
| 111 | class ConfigFileSection; |
---|
[682] | 112 | class ConfigValueContainer; |
---|
[1502] | 113 | class ConsoleCommand; |
---|
[1535] | 114 | class Core; |
---|
[2087] | 115 | struct Event; |
---|
| 116 | class EventContainer; |
---|
[1024] | 117 | class Executor; |
---|
[1052] | 118 | template <class T> |
---|
| 119 | class ExecutorMember; |
---|
| 120 | class ExecutorStatic; |
---|
[1024] | 121 | class Factory; |
---|
[1052] | 122 | class Functor; |
---|
| 123 | template <class T> |
---|
| 124 | class FunctorMember; |
---|
| 125 | class FunctorStatic; |
---|
[1024] | 126 | class Identifier; |
---|
[1502] | 127 | class IRC; |
---|
[682] | 128 | template <class T> |
---|
[728] | 129 | class Iterator; |
---|
[1747] | 130 | class IteratorBase; |
---|
[728] | 131 | class Language; |
---|
[1024] | 132 | class LanguageEntry; |
---|
| 133 | class Loader; |
---|
[682] | 134 | class MetaObjectList; |
---|
| 135 | class MetaObjectListElement; |
---|
[1052] | 136 | class Namespace; |
---|
| 137 | class NamespaceNode; |
---|
[682] | 138 | template <class T> |
---|
| 139 | class ObjectList; |
---|
[1747] | 140 | class ObjectListBase; |
---|
| 141 | class ObjectListBaseElement; |
---|
[682] | 142 | template <class T> |
---|
| 143 | class ObjectListElement; |
---|
[1747] | 144 | template <class T> |
---|
| 145 | class ObjectListIterator; |
---|
[728] | 146 | class OrxonoxClass; |
---|
[1052] | 147 | class Shell; |
---|
[1502] | 148 | class ShellListener; |
---|
[682] | 149 | template <class T> |
---|
[1502] | 150 | class SubclassIdentifier; |
---|
[1214] | 151 | class TclBind; |
---|
[1502] | 152 | struct TclInterpreterBundle; |
---|
| 153 | class TclThreadManager; |
---|
[2087] | 154 | class Template; |
---|
[1024] | 155 | class Tickable; |
---|
[2087] | 156 | class XMLFile; |
---|
| 157 | class XMLNameListener; |
---|
[1024] | 158 | template <class T, class O> |
---|
| 159 | class XMLPortClassObjectContainer; |
---|
| 160 | template <class T> |
---|
| 161 | class XMLPortClassParamContainer; |
---|
| 162 | class XMLPortObjectContainer; |
---|
| 163 | class XMLPortParamContainer; |
---|
[1219] | 164 | |
---|
[1755] | 165 | // game states |
---|
| 166 | class GameStateBase; |
---|
| 167 | template <class ParentType> |
---|
| 168 | class GameState; |
---|
| 169 | class RootGameState; |
---|
| 170 | |
---|
[1219] | 171 | // input |
---|
[1535] | 172 | class BaseCommand; |
---|
| 173 | class BufferedParamCommand; |
---|
| 174 | class Button; |
---|
[1502] | 175 | class CalibratorCallback; |
---|
[1755] | 176 | class ExtendedInputState; |
---|
[1535] | 177 | class HalfAxis; |
---|
[1219] | 178 | class InputBuffer; |
---|
| 179 | class InputManager; |
---|
[1755] | 180 | class InputState; |
---|
[1293] | 181 | class JoyStickHandler; |
---|
[1535] | 182 | class MouseHandler; |
---|
[1219] | 183 | class KeyBinder; |
---|
[1502] | 184 | class KeyDetector; |
---|
[1535] | 185 | class KeyHandler; |
---|
| 186 | class ParamCommand; |
---|
| 187 | class SimpleCommand; |
---|
[1755] | 188 | class SimpleInputState; |
---|
[682] | 189 | } |
---|
| 190 | |
---|
| 191 | #endif /* _CorePrereqs_H__ */ |
---|