Changeset 5858 for code/branches/core5/src
- Timestamp:
- Oct 2, 2009, 11:41:00 AM (15 years ago)
- Location:
- code/branches/core5/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/BaseObject.cc
r5839 r5858 46 46 #include "XMLNameListener.h" 47 47 #include "XMLPort.h" 48 #include "network/NetworkPrereqs.h"49 48 50 49 namespace orxonox -
code/branches/core5/src/libraries/core/CorePrereqs.h
r5855 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the core library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD ) 43 45 # ifdef CORE_SHARED_BUILD … … 56 58 #endif 57 59 58 59 //----------------------------------------------------------------------- 60 // Forward declarations 61 //----------------------------------------------------------------------- 60 //----------------------------------------------------------------------- 61 // Constants 62 //----------------------------------------------------------------------- 63 64 namespace orxonox 65 { 66 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 67 } 68 69 //----------------------------------------------------------------------- 70 // Enums 71 //----------------------------------------------------------------------- 72 62 73 namespace orxonox 63 74 { … … 82 93 }; 83 94 }; 84 95 } 96 97 //----------------------------------------------------------------------- 98 // Forward declarations 99 //----------------------------------------------------------------------- 100 101 namespace orxonox 102 { 85 103 typedef std::string LanguageEntryLabel; 86 104 87 105 class ArgumentCompleter; 88 106 class ArgumentCompletionListElement; 89 class BaseMetaObjectListElement;90 107 class BaseObject; 91 108 template <class T> … … 98 115 class ClassTreeMaskObjectIterator; 99 116 class CommandEvaluation; 100 class CommandExecutor;101 117 class CommandLine; 102 118 class CommandLineArgument; … … 107 123 class ConfigFileManager; 108 124 class ConfigFileSection; 125 struct ConfigFileType; 109 126 class ConfigValueContainer; 110 127 class ConsoleCommand; … … 123 140 class FunctorMember; 124 141 class FunctorStatic; 142 class Game; 143 class GameState; 144 struct GameStateInfo; 145 struct GameStateTreeNode; 125 146 class GraphicsManager; 126 147 class GUIManager; … … 129 150 template <class T> 130 151 class Iterator; 131 class IteratorBase;132 152 class Language; 133 class LanguageEntry;134 class Loader;135 153 class LuaState; 136 154 class MemoryArchive; … … 164 182 class TclThreadManager; 165 183 class Template; 184 class Thread; 185 class ThreadPool; 166 186 template <class T> 167 187 class WeakPtr; … … 176 196 class XMLPortParamContainer; 177 197 178 // game states 179 class Game; 180 class GameState; 181 struct GameStateInfo; 182 struct GameStateTreeNode; 183 184 // input 198 // Input 185 199 class BaseCommand; 186 200 class BufferedParamCommand; 187 201 class Button; 188 class CalibratorCallback;189 202 class HalfAxis; 190 203 class InputBuffer; … … 195 208 class InputManager; 196 209 class InputState; 210 struct InputStatePriority; 211 class JoyStickQuantityListener; 197 212 class JoyStick; 213 class KeyBinder; 214 class Keyboard; 215 class KeyDetector; 216 class KeyEvent; 198 217 class Mouse; 199 class Keyboard;200 class KeyBinder;201 class KeyDetector;202 218 class ParamCommand; 203 219 class SimpleCommand; 204 205 206 // multithreading207 class Thread;208 class ThreadPool;209 220 } 210 221 … … 285 296 namespace orxonox 286 297 { 287 using ticpp::Document;288 298 using ticpp::Element; 289 using ticpp::Declaration; 290 using ticpp::StylesheetReference; 291 using ticpp::Text; 292 using ticpp::Comment; 293 using ticpp::Attribute; 294 } 295 299 } 296 300 297 301 #endif /* _CorePrereqs_H__ */ -
code/branches/core5/src/libraries/core/XMLPort.h
r5778 r5858 376 376 this->owner_->xmlAttributes_.clear(); 377 377 // Iterate through the attributes manually in order to make them case insensitive 378 Attribute* attribute = xmlelement.FirstAttribute(false);378 ticpp::Attribute* attribute = xmlelement.FirstAttribute(false); 379 379 while (attribute != 0) 380 380 { -
code/branches/core5/src/libraries/network/NetworkPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the network library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( NETWORK_STATIC_BUILD ) 43 45 # ifdef NETWORK_SHARED_BUILD … … 57 59 58 60 //----------------------------------------------------------------------- 59 // Library global contants61 // Constants 60 62 //----------------------------------------------------------------------- 63 61 64 namespace orxonox 62 65 { 63 66 static const unsigned int GAMESTATEID_INITIAL = static_cast<unsigned int>(-1); 64 67 static const unsigned int CLIENTID_UNKNOWN = static_cast<unsigned int>(-2); 65 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 68 } 69 70 //----------------------------------------------------------------------- 71 // Enums 72 //----------------------------------------------------------------------- 73 74 namespace orxonox 75 { 76 namespace packet 77 { 78 namespace PacketFlag 79 { 80 enum Value 81 { 82 Reliable = 1, 83 Unsequence = 2, 84 NoAllocate = 4 85 }; 86 } 87 } 66 88 } 67 89 … … 84 106 namespace orxonox 85 107 { 108 class ChatListener; 86 109 class Client; 87 110 class ClientConnection; 88 111 class ClientConnectionListener; 89 class ClientFrameListener;90 112 class ClientInformation; 91 113 class Connection; 92 114 class FunctionCallManager; 93 115 class GamestateClient; 116 class GamestateHandler; 94 117 class GamestateManager; 95 class GamestateHandler; 96 class NetworkCallbackBase; 97 template <class T> class NetworkCallback; 98 class NetworkCallbackManager; 118 class Host; 99 119 class NetworkFunctionBase; 120 struct NetworkFunctionPointer; 100 121 class NetworkFunctionStatic; 122 template <class T> 123 class NetworkMemberFunction; 101 124 class NetworkMemberFunctionBase; 102 template <class T> class NetworkMemeberFunction;103 struct NetworkFunctionPointer;104 125 class Server; 105 126 class ServerConnection; 106 class ServerFrameListener;107 class Synchronisable;108 class SynchronisableVariableBase;109 template <class T> class SynchronisableVariable;110 template <class T> class SynchronisableVariableBidirectional;111 struct ClientList;112 struct PacketEnvelope;113 struct QueueItem;114 struct syncData;115 127 class TrafficControl; 116 class obj;117 class objInfo;118 128 129 // packet 119 130 namespace packet 120 131 { … … 122 133 class Chat; 123 134 class ClassID; 135 class DeleteObjects; 124 136 class FunctionCalls; 125 137 class FunctionIDs; 126 138 class Gamestate; 127 class NetworkIDs;128 139 class Packet; 129 140 class Welcome; 141 } 130 142 131 namespace PacketFlag 132 { 133 enum Value 134 { 135 Reliable = 1, 136 Unsequence = 2, 137 NoAllocate = 4 138 }; 139 } 140 } 143 // synchronisable 144 template <class T> 145 class NetworkCallback; 146 class NetworkCallbackBase; 147 class NetworkCallbackManager; 148 class Synchronisable; 149 class SynchronisableHeader; 150 template <class T> 151 class SynchronisableVariable; 152 class SynchronisableVariableBase; 153 template <class T> 154 class SynchronisableVariableBidirectional; 141 155 } 142 156 -
code/branches/core5/src/libraries/tools/ToolsPrereqs.h
r5831 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the tools module 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 43 45 # ifdef TOOLS_SHARED_BUILD … … 57 59 58 60 //----------------------------------------------------------------------- 59 // Forward declarations61 // Enums 60 62 //----------------------------------------------------------------------- 61 63 … … 72 74 }; 73 75 } 76 } 74 77 78 //----------------------------------------------------------------------- 79 // Forward declarations 80 //----------------------------------------------------------------------- 81 82 namespace orxonox 83 { 75 84 class BillboardSet; 76 85 class Mesh; 77 86 class ParticleInterface; 87 class ResourceCollection; 88 class ResourceLocation; 78 89 class Shader; 90 class Tickable; 91 class TimeFactorListener; 79 92 class Timer; 80 93 } -
code/branches/core5/src/libraries/util/Scope.h
r5850 r5858 39 39 namespace orxonox 40 40 { 41 namespace ScopeID42 {43 /**44 @brief A list of available scopes for the Scope template.45 */46 enum Value47 {48 Root,49 Graphics50 };51 }52 53 // Forward declarations54 class ScopeListener;55 class Clock;56 57 41 /** 58 42 @brief The ScopeManager stores the variables of the scope templates in a statically linked context. -
code/branches/core5/src/libraries/util/UtilPrereqs.h
r5855 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the util library 32 33 */ 33 34 … … 40 41 // Shared library settings 41 42 //----------------------------------------------------------------------- 43 42 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( UTIL_STATIC_BUILD ) 43 45 # ifdef UTIL_SHARED_BUILD … … 56 58 #endif 57 59 60 //----------------------------------------------------------------------- 61 // Enums 62 //----------------------------------------------------------------------- 63 64 namespace orxonox 65 { 66 namespace ScopeID 67 { 68 //!A list of available scopes for the Scope template. 69 enum Value 70 { 71 Root, 72 Graphics 73 }; 74 } 75 } 58 76 59 77 //----------------------------------------------------------------------- … … 72 90 class OutputBufferListener; 73 91 class OutputHandler; 92 template <ScopeID::Value> 93 class Scope; 94 template <class, ScopeID::Value> 95 class ScopedSingleton; 96 class ScopeListener; 74 97 class SignalHandler; 98 template <class T> 99 class Singleton; 75 100 class SubString; 76 101 } -
code/branches/core5/src/modules/objects/ObjectsPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the objects module 32 33 */ 33 34 … … 36 37 37 38 #include "OrxonoxConfig.h" 38 39 39 #include "OrxonoxPrereqs.h" 40 40 … … 42 42 // Shared library settings 43 43 //----------------------------------------------------------------------- 44 44 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 46 # ifdef OBJECTS_SHARED_BUILD … … 76 77 77 78 // eventsystem 79 class EventDispatcher; 78 80 class EventListener; 79 class EventDispatcher;80 81 class EventTarget; 81 82 82 83 // triggers 83 class Trigger;84 class CheckPoint; 84 85 class DistanceTrigger; 85 86 class EventTrigger; 86 class CheckPoint;87 class Trigger; 87 88 } 88 89 -
code/branches/core5/src/modules/overlays/OverlaysPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the overlays module 32 33 */ 33 34 … … 36 37 37 38 #include "OrxonoxConfig.h" 39 #include "OrxonoxPrereqs.h" 38 40 39 41 //----------------------------------------------------------------------- 40 42 // Shared library settings 41 43 //----------------------------------------------------------------------- 44 42 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 43 46 # ifdef OVERLAYS_SHARED_BUILD … … 62 65 namespace orxonox 63 66 { 64 class BarColour; 67 class FadeoutText; 68 class GUIOverlay; 69 class OverlayText; 70 71 // debugging 65 72 class DebugFPSText; 66 73 class DebugRTRText; 67 class GUIOverlay; 74 75 // hud 76 class AnnounceMessage; 77 class BarColour; 78 class ChatOverlay; 79 class DeathMessage; 80 class GametypeStatus; 68 81 class HUDBar; 82 class HUDHealthBar; 69 83 class HUDNavigation; 70 84 class HUDRadar; 71 85 class HUDSpeedBar; 72 class HUDHealthBar;73 86 class HUDTimer; 74 class OrxonoxOverlay;75 class OverlayGroup;76 class OverlayText;77 class FadeoutText;78 class GametypeStatus;79 class AnnounceMessage;80 87 class KillMessage; 81 class DeathMessage; 88 class TeamBaseMatchScore; 89 class UnderAttackHealthBar; 82 90 91 // stats 83 92 class CreateLines; 84 93 class Scoreboard; -
code/branches/core5/src/modules/pong/PongPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the pong module 32 33 */ 33 34 … … 36 37 37 38 #include "OrxonoxConfig.h" 38 39 #include "pong/PongPrereqs.h" 39 #include "OrxonoxPrereqs.h" 40 40 41 41 //----------------------------------------------------------------------- 42 42 // Shared library settings 43 43 //----------------------------------------------------------------------- 44 44 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 46 # ifdef PONG_SHARED_BUILD -
code/branches/core5/src/modules/questsystem/QuestsystemPrereqs.h
r5745 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the questsystem module 32 33 */ 33 34 … … 36 37 37 38 #include "OrxonoxConfig.h" 38 39 39 #include "OrxonoxPrereqs.h" 40 40 … … 42 42 // Shared library settings 43 43 //----------------------------------------------------------------------- 44 44 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 46 # ifdef QUESTSYSTEM_SHARED_BUILD … … 76 77 class QuestEffect; 77 78 class QuestEffectBeacon; 79 class QuestGUI; 78 80 class QuestGUINode; 79 class QuestGUI;80 81 class QuestHint; 81 82 class QuestItem; … … 83 84 class QuestManager; 84 85 class QuestNotification; 85 class Rewardable;86 86 87 // notifications 87 88 class Notification; 88 class NotificationListener;89 89 class NotificationManager; 90 90 class NotificationOverlay; -
code/branches/core5/src/modules/weapons/WeaponsPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the weapons module 32 33 */ 33 34 … … 36 37 37 38 #include "OrxonoxConfig.h" 38 39 39 #include "OrxonoxPrereqs.h" 40 40 … … 42 42 // Shared library settings 43 43 //----------------------------------------------------------------------- 44 44 45 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 46 # ifdef WEAPONS_SHARED_BUILD … … 64 65 namespace orxonox 65 66 { 66 class LaserFire; 67 class MuzzleFlash; 68 69 // munitions 70 class FusionMunition; 71 class LaserMunition; 72 class ReplenishingMunition; 73 74 // projectiles 75 class BillboardProjectile; 76 class LightningGunProjectile; 77 class ParticleProjectile; 78 class Projectile; 79 80 // weaponmodes 81 class EnergyDrink; 67 82 class FusionFire; 68 83 class HsW01; 84 class LaserFire; 69 85 class LightningGun; 70 class EnergyDrink;71 72 class Projectile;73 class BillboardProjectile;74 class ParticleProjectile;75 class LightningGunProjectile;76 77 class ReplenishingMunition;78 class LaserMunition;79 class FusionMunition;80 81 class MuzzleFlash;82 86 } 83 87 -
code/branches/core5/src/orxonox/OrxonoxPrereqs.h
r5738 r5858 28 28 29 29 /** 30 @file 31 @brief Contains all the necessary forward declarations for all classes and structs. 30 @file 31 @brief 32 Shared library macros, enums, constants and forward declarations for the orxonox library 32 33 */ 33 34 … … 37 38 #include "OrxonoxConfig.h" 38 39 39 #include "tools/ToolsPrereqs.h"40 41 40 //----------------------------------------------------------------------- 42 41 // Shared library settings 43 42 //----------------------------------------------------------------------- 43 44 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 45 # ifdef ORXONOX_SHARED_BUILD … … 65 65 { 66 66 class CameraManager; 67 class Level; 67 68 class LevelManager; 68 69 class PawnManager; 69 70 class PlayerManager; 70 71 class Level; 71 class Radar; 72 72 class Scene; 73 class Tickable; 73 74 // collisionshapes 75 class CollisionShape; 76 class CompoundCollisionShape; 77 class WorldEntityCollisionShape; 78 79 // controllers 80 class AIController; 81 class ArtificialController; 82 class Controller; 83 class HumanController; 84 class ScriptController; 85 class WaypointController; 86 class WaypointPatrolController; 87 88 // gametypes 89 class Asteroids; 90 class Deathmatch; 91 class Gametype; 92 class TeamBaseMatch; 93 class TeamDeathmatch; 94 class UnderAttack; 95 96 // graphics 97 class Backlight; 98 class Billboard; 99 class BlinkingBillboard; 100 class Camera; 101 class FadingBillboard; 102 class GlobalShader; 103 class Light; 104 class Model; 105 class ParticleEmitter; 106 class ParticleSpawner; 107 108 // infos 109 class Bot; 110 class GametypeInfo; 111 class HumanPlayer; 112 class Info; 113 class PlayerInfo; 74 114 75 115 // interfaces … … 81 121 class RadarViewable; 82 122 class Rewardable; 83 class Teamcolourable; 84 85 // worldentities 86 class WorldEntity; 87 class StaticEntity; 88 class MobileEntity; 89 class ControllableEntity; 90 class MovableEntity; 91 92 // graphics 93 class Model; 94 class Billboard; 95 class BlinkingBillboard; 96 class BigExplosion; 97 class ExplosionChunk; 98 class FadingBillboard; 99 class GlobalShader; 100 class Light; 101 class Backlight; 102 class ParticleEmitter; 103 class ParticleSpawner; 104 class Camera; 105 106 // mixed 107 class SpawnPoint; 108 class TeamSpawnPoint; 109 110 class CameraPosition; 111 class Sublevel; 112 class Radar; 113 114 class Test; 115 116 // pawns 117 class Spectator; 118 class Pawn; 119 class SpaceShip; 120 class TeamBaseMatchBase; 121 class Destroyer; 122 123 // gametypes 124 class Gametype; 125 class Deathmatch; 126 class TeamDeathmatch; 127 class Asteroids; 128 class TeamBaseMatch; 129 class UnderAttack; 130 131 // pickups 123 class TeamColourable; 124 125 // items 126 class Engine; 127 class Item; 128 class MultiStateEngine; 129 130 // overlays 131 class InGameConsole; 132 class Map; 133 class OrxonoxOverlay; 134 class OverlayGroup; 135 136 // pickup 132 137 class BaseItem; 133 138 class DroppedItem; … … 139 144 class PickupSpawner; 140 145 class UsableItem; 141 146 // pickup, items 147 class HealthImmediate; 148 class HealthUsable; 142 149 class Jump; 143 class HealthUsable;144 class PassiveItem;145 146 // items147 class Item;148 class Engine;149 class MultiStateEngine;150 class RotatingEngine;151 152 // weaponsystem153 class WeaponSystem;154 class WeaponSet;155 class WeaponSlot;156 class WeaponPack;157 class Weapon;158 class WeaponMode;159 class DefaultWeaponmodeLink;160 class Munition;161 162 // controller163 class Controller;164 class HumanController;165 class ArtificialController;166 class AIController;167 class ScriptController;168 class WaypointController;169 class WaypointPatrolController;170 171 // infos172 class Info;173 class PlayerInfo;174 class HumanPlayer;175 class Bot;176 class GametypeInfo;177 178 // collision179 class CollisionShape;180 class CompoundCollisionShape;181 class WorldEntityCollisionShape;182 183 // overlays184 class OverlayGroup;185 class OrxonoxOverlay;186 class Notification;187 class NotificationManager;188 class InGameConsole;189 class Map;190 150 191 151 //sound … … 193 153 class SoundManager; 194 154 class SoundMainMenu; 155 156 // weaponsystem 157 class DefaultWeaponmodeLink; 158 class Munition; 159 class Weapon; 160 class WeaponMode; 161 class WeaponPack; 162 class WeaponSet; 163 class WeaponSlot; 164 class WeaponSystem; 165 166 // worldentities 167 class BigExplosion; 168 class CameraPosition; 169 class ControllableEntity; 170 class ExplosionChunk; 171 class MobileEntity; 172 class MovableEntity; 173 class SpawnPoint; 174 class StaticEntity; 175 class TeamSpawnPoint; 176 class WorldEntity; 177 // worldentities, pawns 178 class Destroyer; 179 class Pawn; 180 class SpaceShip; 181 class Spectator; 182 class TeamBaseMatchBase; 195 183 } 196 184 -
code/branches/core5/src/orxonox/graphics/ParticleEmitter.h
r5738 r5858 34 34 #include <string> 35 35 #include "worldentities/StaticEntity.h" 36 #include "tools/ToolsPrereqs.h" 36 37 37 38 namespace orxonox -
code/branches/core5/src/orxonox/interfaces/NotificationListener.h
r5693 r5858 45 45 namespace orxonox 46 46 { 47 class Notification; 48 47 49 class _OrxonoxExport NotificationListener : virtual public OrxonoxClass 48 50 { -
code/branches/core5/src/orxonox/interfaces/RadarViewable.h
r3196 r5858 38 38 #include "util/OgreForwardRefs.h" 39 39 #include "core/OrxonoxClass.h" 40 #include "tools/ToolsPrereqs.h" 40 41 41 42 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.