[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, |
---|
[2662] | 71 | SaveObject, |
---|
| 72 | ExpandObject |
---|
[1052] | 73 | }; |
---|
| 74 | } |
---|
| 75 | |
---|
[1502] | 76 | namespace KeybindMode |
---|
| 77 | { |
---|
| 78 | enum Enum |
---|
| 79 | { |
---|
| 80 | OnPress, |
---|
| 81 | OnHold, |
---|
| 82 | OnRelease, |
---|
| 83 | None |
---|
| 84 | }; |
---|
| 85 | }; |
---|
[1349] | 86 | |
---|
[1024] | 87 | typedef std::string LanguageEntryLabel; |
---|
| 88 | |
---|
[1502] | 89 | class ArgumentCompleter; |
---|
| 90 | class ArgumentCompletionListElement; |
---|
[682] | 91 | class BaseFactory; |
---|
| 92 | class BaseMetaObjectListElement; |
---|
[1024] | 93 | class BaseObject; |
---|
[682] | 94 | template <class T> |
---|
| 95 | class ClassFactory; |
---|
| 96 | template <class T> |
---|
[1024] | 97 | class ClassIdentifier; |
---|
[871] | 98 | class ClassTreeMask; |
---|
[1024] | 99 | class ClassTreeMaskIterator; |
---|
| 100 | class ClassTreeMaskNode; |
---|
[1757] | 101 | class ClassTreeMaskObjectIterator; |
---|
[1755] | 102 | class Clock; |
---|
[1052] | 103 | class CommandEvaluation; |
---|
| 104 | class CommandExecutor; |
---|
[1755] | 105 | class CommandLine; |
---|
| 106 | class CommandLineArgument; |
---|
[1052] | 107 | class ConfigFile; |
---|
| 108 | class ConfigFileEntry; |
---|
| 109 | class ConfigFileEntryComment; |
---|
| 110 | class ConfigFileEntryValue; |
---|
| 111 | class ConfigFileManager; |
---|
| 112 | class ConfigFileSection; |
---|
[682] | 113 | class ConfigValueContainer; |
---|
[1502] | 114 | class ConsoleCommand; |
---|
[1535] | 115 | class Core; |
---|
[2087] | 116 | struct Event; |
---|
| 117 | class EventContainer; |
---|
[1024] | 118 | class Executor; |
---|
[1052] | 119 | template <class T> |
---|
| 120 | class ExecutorMember; |
---|
| 121 | class ExecutorStatic; |
---|
[1024] | 122 | class Factory; |
---|
[1052] | 123 | class Functor; |
---|
| 124 | template <class T> |
---|
| 125 | class FunctorMember; |
---|
| 126 | class FunctorStatic; |
---|
[1024] | 127 | class Identifier; |
---|
[1502] | 128 | class IRC; |
---|
[682] | 129 | template <class T> |
---|
[728] | 130 | class Iterator; |
---|
[1747] | 131 | class IteratorBase; |
---|
[728] | 132 | class Language; |
---|
[1024] | 133 | class LanguageEntry; |
---|
| 134 | class Loader; |
---|
[2662] | 135 | class LuaBind; |
---|
[682] | 136 | class MetaObjectList; |
---|
| 137 | class MetaObjectListElement; |
---|
[1052] | 138 | class Namespace; |
---|
| 139 | class NamespaceNode; |
---|
[682] | 140 | template <class T> |
---|
| 141 | class ObjectList; |
---|
[1747] | 142 | class ObjectListBase; |
---|
| 143 | class ObjectListBaseElement; |
---|
[682] | 144 | template <class T> |
---|
| 145 | class ObjectListElement; |
---|
[1747] | 146 | template <class T> |
---|
| 147 | class ObjectListIterator; |
---|
[728] | 148 | class OrxonoxClass; |
---|
[1052] | 149 | class Shell; |
---|
[1502] | 150 | class ShellListener; |
---|
[682] | 151 | template <class T> |
---|
[1502] | 152 | class SubclassIdentifier; |
---|
[1214] | 153 | class TclBind; |
---|
[1502] | 154 | struct TclInterpreterBundle; |
---|
| 155 | class TclThreadManager; |
---|
[2087] | 156 | class Template; |
---|
[1024] | 157 | class Tickable; |
---|
[2087] | 158 | class XMLFile; |
---|
| 159 | class XMLNameListener; |
---|
[1024] | 160 | template <class T, class O> |
---|
| 161 | class XMLPortClassObjectContainer; |
---|
| 162 | template <class T> |
---|
| 163 | class XMLPortClassParamContainer; |
---|
| 164 | class XMLPortObjectContainer; |
---|
| 165 | class XMLPortParamContainer; |
---|
[1219] | 166 | |
---|
[1755] | 167 | // game states |
---|
| 168 | class GameStateBase; |
---|
| 169 | template <class ParentType> |
---|
| 170 | class GameState; |
---|
| 171 | class RootGameState; |
---|
| 172 | |
---|
[1219] | 173 | // input |
---|
[1535] | 174 | class BaseCommand; |
---|
| 175 | class BufferedParamCommand; |
---|
| 176 | class Button; |
---|
[1502] | 177 | class CalibratorCallback; |
---|
[1755] | 178 | class ExtendedInputState; |
---|
[1535] | 179 | class HalfAxis; |
---|
[1219] | 180 | class InputBuffer; |
---|
| 181 | class InputManager; |
---|
[1755] | 182 | class InputState; |
---|
[1293] | 183 | class JoyStickHandler; |
---|
[1535] | 184 | class MouseHandler; |
---|
[1219] | 185 | class KeyBinder; |
---|
[1502] | 186 | class KeyDetector; |
---|
[1535] | 187 | class KeyHandler; |
---|
| 188 | class ParamCommand; |
---|
| 189 | class SimpleCommand; |
---|
[1755] | 190 | class SimpleInputState; |
---|
[682] | 191 | } |
---|
| 192 | |
---|
| 193 | #endif /* _CorePrereqs_H__ */ |
---|