Changeset 3177
- Timestamp:
- Jun 15, 2009, 11:52:13 AM (15 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 2 added
- 6 deleted
- 63 edited
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/CMakeLists.txt
r3167 r3177 28 28 ADD_SUBDIRECTORY(gamestates) 29 29 ADD_SUBDIRECTORY(gui) 30 ADD_SUBDIRECTORY(interfaces) 30 31 ADD_SUBDIRECTORY(objects) 31 32 ADD_SUBDIRECTORY(overlays) -
code/branches/pch/src/orxonox/GraphicsManager.cc
r3172 r3177 63 63 #include "core/Game.h" 64 64 #include "core/GameMode.h" 65 #include "tools/WindowEventListener.h"66 65 #include "tools/ParticleInterface.h" 66 #include "interfaces/WindowEventListener.h" 67 67 68 68 // HACK! -
code/branches/pch/src/orxonox/PawnManager.h
r2662 r3177 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include " objects/Tickable.h"33 #include "interfaces/Tickable.h" 34 34 35 35 namespace orxonox -
code/branches/pch/src/orxonox/gamestates/GSGraphics.h
r3173 r3177 39 39 40 40 #include "core/GameState.h" 41 #include " tools/WindowEventListener.h"41 #include "interfaces/WindowEventListener.h" 42 42 43 43 namespace orxonox -
code/branches/pch/src/orxonox/gamestates/GSLevel.cc
r3173 r3177 44 44 #include "core/XMLFile.h" 45 45 46 #include "interfaces/Tickable.h" 46 47 #include "objects/Radar.h" 47 #include "objects/Tickable.h"48 48 #include "objects/quest/QuestManager.h" 49 49 #include "overlays/notifications/NotificationManager.h" -
code/branches/pch/src/orxonox/gamestates/GSRoot.cc
r3173 r3177 34 34 #include "core/Game.h" 35 35 #include "core/GameMode.h" 36 #include "tools/TimeFactorListener.h"37 36 #include "tools/Timer.h" 38 #include "objects/Tickable.h" 37 #include "interfaces/TimeFactorListener.h" 38 #include "interfaces/Tickable.h" 39 39 40 40 namespace orxonox -
code/branches/pch/src/orxonox/interfaces/InterfaceCompilation.cc
r3167 r3177 27 27 */ 28 28 29 /** 30 @file 31 @brief 32 Compiles all the interfaces (except RadarViewable) with mostly just a constructor. 33 */ 34 35 #include "GametypeMessageListener.h" 36 #include "PawnListener.h" 37 #include "RadarListener.h" 38 #include "Teamcolourable.h" 39 #include "Tickable.h" 40 #include "TimeFactorListener.h" 29 41 #include "WindowEventListener.h" 42 30 43 #include "core/CoreIncludes.h" 31 44 32 45 namespace orxonox 33 46 { 47 //---------------------------- 48 // GametypeMessageListener 49 //---------------------------- 50 GametypeMessageListener::GametypeMessageListener() 51 { 52 RegisterRootObject(GametypeMessageListener); 53 } 54 55 //---------------------------- 56 // PawnListener 57 //---------------------------- 58 /** 59 @brief Constructor for the PawnListener. 60 */ 61 PawnListener::PawnListener() 62 { 63 RegisterRootObject(PawnListener); 64 } 65 66 //---------------------------- 67 // RadarListener 68 //---------------------------- 69 RadarListener::RadarListener() 70 { 71 RegisterRootObject(RadarListener); 72 } 73 74 //---------------------------- 75 // Teamcolourable 76 //---------------------------- 77 Teamcolourable::Teamcolourable() 78 { 79 RegisterRootObject(Teamcolourable); 80 } 81 82 //---------------------------- 83 // TimeFactorListener 84 //---------------------------- 85 float TimeFactorListener::timefactor_s = 1.0f; 86 87 TimeFactorListener::TimeFactorListener() 88 { 89 RegisterRootObject(TimeFactorListener); 90 } 91 92 //---------------------------- 93 // Tickable 94 //---------------------------- 95 /** 96 @brief Constructor: Registers the object in the Tickable-list 97 */ 98 Tickable::Tickable() 99 { 100 RegisterRootObject(Tickable); 101 } 102 103 //---------------------------- 104 // WindowEventListener 105 //---------------------------- 34 106 /** 35 107 @brief Constructor for the WindowEventListener. -
code/branches/pch/src/orxonox/objects/CMakeLists.txt
r3099 r3177 3 3 EventDispatcher.cc 4 4 EventTarget.cc 5 GametypeMessageListener.cc6 5 GlobalShader.cc 7 6 Level.cc 8 7 Radar.cc 9 RadarListener.cc10 RadarViewable.cc11 Teamcolourable.cc12 Tickable.cc13 8 Scene.cc 14 9 Script.cc -
code/branches/pch/src/orxonox/objects/Radar.cc
r3174 r3177 39 39 #include "core/ConsoleCommand.h" 40 40 #include "core/ObjectList.h" 41 #include " RadarListener.h"41 #include "interfaces/RadarListener.h" 42 42 43 43 namespace orxonox -
code/branches/pch/src/orxonox/objects/Radar.h
r3174 r3177 41 41 42 42 #include "core/ObjectListIterator.h" 43 #include " objects/Tickable.h"44 #include " RadarViewable.h"43 #include "interfaces/RadarViewable.h" 44 #include "interfaces/Tickable.h" 45 45 46 46 namespace orxonox -
code/branches/pch/src/orxonox/objects/Scene.h
r3174 r3177 41 41 #include "core/BaseObject.h" 42 42 #include "network/synchronisable/Synchronisable.h" 43 #include " objects/Tickable.h"43 #include "interfaces/Tickable.h" 44 44 45 45 namespace orxonox -
code/branches/pch/src/orxonox/objects/Test.h
r3084 r3177 33 33 #include "core/BaseObject.h" 34 34 #include "network/synchronisable/Synchronisable.h" 35 #include " Tickable.h"35 #include "interfaces/Tickable.h" 36 36 37 37 -
code/branches/pch/src/orxonox/objects/controllers/AIController.h
r3176 r3177 33 33 34 34 #include "tools/Timer.h" 35 #include "interfaces/Tickable.h" 35 36 #include "ArtificialController.h" 36 #include "objects/Tickable.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/ArtificialController.h
r3176 r3177 33 33 34 34 #include "util/Math.h" 35 #include "interfaces/PawnListener.h" 35 36 #include "Controller.h" 36 #include "tools/PawnListener.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/PongAI.h
r3176 r3177 34 34 #include <list> 35 35 #include "util/Math.h" 36 #include "interfaces/Tickable.h" 36 37 #include "Controller.h" 37 #include "objects/Tickable.h"38 38 39 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/controllers/WaypointController.h
r3176 r3177 33 33 34 34 #include <vector> 35 #include "interfaces/Tickable.h" 35 36 #include "ArtificialController.h" 36 #include "objects/Tickable.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/gametypes/Gametype.h
r3033 r3177 37 37 #include "core/Identifier.h" 38 38 #include "objects/worldentities/ControllableEntity.h" 39 #include " objects/Tickable.h"39 #include "interfaces/Tickable.h" 40 40 #include "objects/infos/GametypeInfo.h" 41 41 -
code/branches/pch/src/orxonox/objects/gametypes/TeamDeathmatch.cc
r3110 r3177 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/ConfigValueIncludes.h" 33 #include " objects/Teamcolourable.h"33 #include "interfaces/Teamcolourable.h" 34 34 #include "objects/worldentities/TeamSpawnPoint.h" 35 35 -
code/branches/pch/src/orxonox/objects/gametypes/UnderAttack.h
r3033 r3177 33 33 34 34 #include "TeamDeathmatch.h" 35 #include " objects/worldentities/pawns/Pawn.h"35 #include "interfaces/PawnListener.h" 36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/infos/GametypeInfo.cc
r3110 r3177 33 33 #include "network/NetworkFunction.h" 34 34 #include "network/Host.h" 35 #include " objects/GametypeMessageListener.h"35 #include "interfaces/GametypeMessageListener.h" 36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/items/Engine.h
r3060 r3177 33 33 34 34 #include "Item.h" 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "util/Math.h" 37 37 -
code/branches/pch/src/orxonox/objects/pickup/DroppedItem.h
r3079 r3177 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include " objects/Tickable.h"39 #include "interfaces/Tickable.h" 40 40 #include "objects/worldentities/StaticEntity.h" 41 41 #include "tools/Timer.h" -
code/branches/pch/src/orxonox/objects/pickup/PickupSpawner.h
r3079 r3177 37 37 #include "OrxonoxPrereqs.h" 38 38 39 #include " objects/Tickable.h"39 #include "interfaces/Tickable.h" 40 40 #include "objects/worldentities/StaticEntity.h" 41 41 #include "tools/Timer.h" -
code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/Projectile.h
r3053 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "interfaces/PawnListener.h" 34 35 #include "objects/worldentities/MovableEntity.h" 35 36 #include "objects/worldentities/pawns/Pawn.h" -
code/branches/pch/src/orxonox/objects/worldentities/Backlight.h
r3068 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "FadingBillboard.h" 34 #include " tools/TimeFactorListener.h"34 #include "interfaces/TimeFactorListener.h" 35 35 36 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Billboard.h
r3053 r3177 34 34 #include "util/Math.h" 35 35 #include "tools/BillboardSet.h" 36 #include " objects/Teamcolourable.h"36 #include "interfaces/Teamcolourable.h" 37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/BlinkingBillboard.h
r2087 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "Billboard.h" 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 36 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Camera.h
r3068 r3177 34 34 #include <OgrePrerequisites.h> 35 35 #include "objects/worldentities/StaticEntity.h" 36 #include " objects/Tickable.h"36 #include "interfaces/Tickable.h" 37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/FadingBillboard.h
r2662 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "Billboard.h" 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "tools/Timer.h" 36 36 -
code/branches/pch/src/orxonox/objects/worldentities/ForceField.h
r3064 r3177 32 32 33 33 #include "StaticEntity.h" 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 36 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Light.h
r2826 r3177 37 37 38 38 #include "util/Math.h" 39 #include " objects/Teamcolourable.h"39 #include "interfaces/Teamcolourable.h" 40 40 41 41 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/MobileEntity.h
r3084 r3177 33 33 34 34 #include "WorldEntity.h" 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/Planet.h
r2710 r3177 37 37 #include "tools/Mesh.h" 38 38 #include "MovableEntity.h" 39 #include " objects/Tickable.h"39 #include "interfaces/Tickable.h" 40 40 41 41 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.cc
r3176 r3177 34 34 #include "util/Math.h" 35 35 #include "PawnManager.h" 36 #include "interfaces/PawnListener.h" 36 37 #include "objects/infos/PlayerInfo.h" 37 38 #include "objects/gametypes/Gametype.h" -
code/branches/pch/src/orxonox/objects/worldentities/pawns/Pawn.h
r3176 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "objects/worldentities/ControllableEntity.h" 34 #include " objects/RadarViewable.h"34 #include "interfaces/RadarViewable.h" 35 35 #include "objects/pickup/PickupCollection.h" 36 36 -
code/branches/pch/src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.cc
r3086 r3177 31 31 #include "core/CoreIncludes.h" 32 32 #include "objects/gametypes/TeamBaseMatch.h" 33 #include "objects/Teamcolourable.h" 33 #include "interfaces/Teamcolourable.h" 34 #include "interfaces/PawnListener.h" 34 35 35 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/CheckPoint.h
r3064 r3177 36 36 37 37 #include "DistanceTrigger.h" 38 #include " objects/RadarViewable.h"38 #include "interfaces/RadarViewable.h" 39 39 40 40 namespace orxonox -
code/branches/pch/src/orxonox/objects/worldentities/triggers/Trigger.h
r3068 r3177 35 35 #include "OrxonoxPrereqs.h" 36 36 37 #include " objects/Tickable.h"37 #include "interfaces/Tickable.h" 38 38 #include "objects/worldentities/StaticEntity.h" 39 39 #include "tools/BillboardSet.h" -
code/branches/pch/src/orxonox/overlays/FadeoutText.h
r3144 r3177 33 33 34 34 #include "tools/Timer.h" 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "overlays/OverlayText.h" 37 37 -
code/branches/pch/src/orxonox/overlays/OrxonoxOverlay.h
r3144 r3177 42 42 #include "util/Math.h" 43 43 #include "core/BaseObject.h" 44 #include " tools/WindowEventListener.h"44 #include "interfaces/WindowEventListener.h" 45 45 46 46 namespace orxonox -
code/branches/pch/src/orxonox/overlays/console/InGameConsole.h
r3144 r3177 35 35 #include <string> 36 36 #include "core/Shell.h" 37 #include " tools/WindowEventListener.h"37 #include "interfaces/WindowEventListener.h" 38 38 39 39 namespace orxonox -
code/branches/pch/src/orxonox/overlays/debug/DebugFPSText.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/debug/DebugRTRText.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/AnnounceMessage.h
r3158 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/GametypeMessageListener.h"34 #include "interfaces/GametypeMessageListener.h" 35 35 #include "overlays/FadeoutText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/DeathMessage.h
r3158 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/GametypeMessageListener.h"34 #include "interfaces/GametypeMessageListener.h" 35 35 #include "overlays/FadeoutText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/GametypeStatus.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/HUDHealthBar.h
r3144 r3177 33 33 34 34 #include "util/Math.h" 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "overlays/OverlayText.h" 37 37 #include "HUDBar.h" -
code/branches/pch/src/orxonox/overlays/hud/HUDNavigation.h
r3158 r3177 33 33 34 34 #include <OgrePrerequisites.h> 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/pch/src/orxonox/overlays/hud/HUDRadar.h
r3144 r3177 37 37 #include <OgrePrerequisites.h> 38 38 39 #include "interfaces/RadarListener.h" 40 #include "interfaces/RadarViewable.h" 39 41 #include "overlays/OrxonoxOverlay.h" 40 #include "objects/RadarListener.h"41 #include "objects/RadarViewable.h"42 42 43 43 namespace orxonox -
code/branches/pch/src/orxonox/overlays/hud/HUDSpeedBar.h
r3144 r3177 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "HUDBar.h" 37 37 -
code/branches/pch/src/orxonox/overlays/hud/HUDTimer.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/KillMessage.h
r3158 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/GametypeMessageListener.h"34 #include "interfaces/GametypeMessageListener.h" 35 35 #include "overlays/FadeoutText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/PongScore.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/hud/TeamBaseMatchScore.h
r3144 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " objects/Tickable.h"34 #include "interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/pch/src/orxonox/overlays/map/Map.cc
r3172 r3177 53 53 #include "core/ObjectList.h" 54 54 #include "core/XMLPort.h" 55 #include "interfaces/RadarViewable.h" 55 56 #include "objects/Scene.h" 56 #include "objects/RadarViewable.h"57 57 #include "objects/controllers/HumanController.h" 58 58 #include "objects/worldentities/CameraPosition.h" -
code/branches/pch/src/orxonox/overlays/map/Map.h
r3172 r3177 33 33 34 34 #include "util/UtilPrereqs.h" 35 #include " objects/Tickable.h"35 #include "interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/pch/src/orxonox/overlays/notifications/NotificationQueue.h
r3158 r3177 43 43 44 44 #include "util/Math.h" 45 #include " orxonox/objects/Tickable.h"46 #include "o rxonox/overlays/OverlayGroup.h"45 #include "interfaces/Tickable.h" 46 #include "overlays/OverlayGroup.h" 47 47 48 48 namespace orxonox -
code/branches/pch/src/orxonox/overlays/stats/Scoreboard.h
r3140 r3177 33 33 #include <string> 34 34 #include <vector> 35 #include "interfaces/Tickable.h" 35 36 #include "overlays/OrxonoxOverlay.h" 36 #include "objects/Tickable.h"37 37 38 38 namespace orxonox -
code/branches/pch/src/orxonox/overlays/stats/Stats.h
r3140 r3177 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "interfaces/Tickable.h" 34 35 #include "overlays/OrxonoxOverlay.h" 35 #include "objects/Tickable.h"36 36 37 37 namespace orxonox -
code/branches/pch/src/orxonox/sound/SoundManager.h
r3156 r3177 31 31 32 32 #include <list> 33 #include " orxonox/objects/Tickable.h"33 #include "interfaces/Tickable.h" 34 34 35 35 namespace orxonox -
code/branches/pch/src/orxonox/tools/CMakeLists.txt
r3176 r3177 5 5 Mesh.cc 6 6 ParticleInterface.cc 7 PawnListener.cc8 7 Shader.cc 9 8 TextureGenerator.cc 10 TimeFactorListener.cc11 9 Timer.cc 12 WindowEventListener.cc13 10 ) -
code/branches/pch/src/orxonox/tools/ParticleInterface.h
r3158 r3177 33 33 34 34 #include <OgrePrerequisites.h> 35 #include " tools/TimeFactorListener.h"35 #include "interfaces/TimeFactorListener.h" 36 36 37 37 #define getAllEmitters() \ -
code/branches/pch/src/orxonox/tools/Shader.h
r3131 r3177 37 37 #include <OgrePrerequisites.h> 38 38 39 #include " objects/Tickable.h"39 #include "interfaces/Tickable.h" 40 40 41 41 namespace orxonox -
code/branches/pch/src/orxonox/tools/Timer.h
r3131 r3177 65 65 #include "core/Executor.h" 66 66 #include "core/OrxonoxClass.h" 67 #include " tools/TimeFactorListener.h"67 #include "interfaces/TimeFactorListener.h" 68 68 69 69 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.