Changeset 5633 for code/branches
- Timestamp:
- Aug 12, 2009, 1:32:30 AM (15 years ago)
- Location:
- code/branches/libraries/src/orxonox
- Files:
-
- 2 added
- 41 edited
- 1 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries/src/orxonox/CMakeLists.txt
r5623 r5633 70 70 core 71 71 network 72 tools 72 73 SOURCE_FILES ${ORXONOX_SRC_FILES} 73 74 ) -
code/branches/libraries/src/orxonox/Map.h
r5621 r5633 33 33 34 34 #include "util/UtilPrereqs.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/libraries/src/orxonox/PawnManager.h
r3370 r5633 33 33 34 34 #include "util/Singleton.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 37 37 namespace orxonox -
code/branches/libraries/src/orxonox/gamestates/GSLevel.cc
r5619 r5633 45 45 #include "core/XMLFile.h" 46 46 47 #include " interfaces/Tickable.h"47 #include "tools/interfaces/Tickable.h" 48 48 #include "objects/Radar.h" 49 49 #include "objects/quest/QuestManager.h" -
code/branches/libraries/src/orxonox/gamestates/GSRoot.cc
r3370 r5633 38 38 #include "ToluaBindOrxonox.h" 39 39 #include "tools/Timer.h" 40 #include " interfaces/TimeFactorListener.h"41 #include " interfaces/Tickable.h"40 #include "tools/interfaces/TimeFactorListener.h" 41 #include "tools/interfaces/Tickable.h" 42 42 #include "LevelManager.h" 43 43 -
code/branches/libraries/src/orxonox/interfaces/InterfaceCompilation.cc
r5619 r5633 30 30 @file 31 31 @brief 32 Compiles all the interfaces (except RadarViewable)with mostly just a constructor.32 Compiles all the interfaces in the orxonox library with mostly just a constructor. 33 33 */ 34 34 … … 38 38 #include "Rewardable.h" 39 39 #include "TeamColourable.h" 40 #include "Tickable.h"41 #include "TimeFactorListener.h"42 40 #include "NotificationListener.h" 43 41 … … 82 80 83 81 //---------------------------- 84 // TimeFactorListener85 //----------------------------86 float TimeFactorListener::timefactor_s = 1.0f;87 88 TimeFactorListener::TimeFactorListener()89 {90 RegisterRootObject(TimeFactorListener);91 }92 93 //----------------------------94 // Tickable95 //----------------------------96 /**97 @brief Constructor: Registers the object in the Tickable-list98 */99 Tickable::Tickable()100 {101 RegisterRootObject(Tickable);102 }103 104 //----------------------------105 82 // Rewardable 106 83 //---------------------------- -
code/branches/libraries/src/orxonox/objects/Radar.h
r3196 r5633 42 42 #include "core/ObjectListIterator.h" 43 43 #include "interfaces/RadarViewable.h" 44 #include " interfaces/Tickable.h"44 #include "tools/interfaces/Tickable.h" 45 45 46 46 namespace orxonox -
code/branches/libraries/src/orxonox/objects/Scene.h
r3196 r5633 41 41 #include "core/BaseObject.h" 42 42 #include "network/synchronisable/Synchronisable.h" 43 #include " interfaces/Tickable.h"43 #include "tools/interfaces/Tickable.h" 44 44 45 45 namespace orxonox -
code/branches/libraries/src/orxonox/objects/Test.h
r3196 r5633 33 33 #include "core/BaseObject.h" 34 34 #include "network/synchronisable/Synchronisable.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 37 37 … … 50 50 void setConfigValues(); 51 51 void registerVariables(); 52 52 53 53 static void call(unsigned int clientID); 54 54 void call2(unsigned int clientID, std::string s1, std::string s2, std::string s3, std::string s4); … … 65 65 void checkU3(); 66 66 void checkU4(); 67 67 68 68 //signed functions 69 69 void setS1(TYPE value){ s1 = value; } … … 75 75 void checkS3(); 76 76 void checkS4(); 77 77 78 78 static void printV1(){ instance_->checkU1(); } 79 79 static void printV2(){ instance_->checkU2(); } 80 80 static void printV3(){ instance_->checkU3(); } 81 81 static void printV4(){ instance_->checkU4(); } 82 82 83 83 void printBlaBla(std::string s1, std::string s2, std::string s3, std::string s4, std::string s5); 84 84 … … 88 88 UTYPE u3; 89 89 UTYPE u4; 90 90 91 91 TYPE s1; 92 92 TYPE s2; 93 93 TYPE s3; 94 94 TYPE s4; 95 95 96 96 static Test* instance_; 97 97 }; -
code/branches/libraries/src/orxonox/objects/controllers/AIController.h
r3196 r5633 33 33 34 34 #include "tools/Timer.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "ArtificialController.h" 37 37 -
code/branches/libraries/src/orxonox/objects/controllers/PongAI.h
r3196 r5633 34 34 #include <list> 35 35 #include "util/Math.h" 36 #include " interfaces/Tickable.h"36 #include "tools/interfaces/Tickable.h" 37 37 #include "Controller.h" 38 38 -
code/branches/libraries/src/orxonox/objects/controllers/WaypointController.h
r3196 r5633 33 33 34 34 #include <vector> 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "ArtificialController.h" 37 37 -
code/branches/libraries/src/orxonox/objects/gametypes/Gametype.h
r3280 r5633 38 38 #include "core/BaseObject.h" 39 39 #include "core/Identifier.h" 40 #include " interfaces/Tickable.h"40 #include "tools/interfaces/Tickable.h" 41 41 #include "objects/infos/GametypeInfo.h" 42 42 … … 133 133 134 134 inline void startTimer() 135 { 135 { 136 136 this->time_ = this->timeLimit_; 137 137 this->timerIsActive_ = true; -
code/branches/libraries/src/orxonox/objects/items/Engine.h
r3196 r5633 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "Item.h" 36 36 -
code/branches/libraries/src/orxonox/objects/pickup/DroppedItem.h
r3196 r5633 38 38 39 39 #include "tools/Timer.h" 40 #include " interfaces/Tickable.h"40 #include "tools/interfaces/Tickable.h" 41 41 #include "objects/worldentities/StaticEntity.h" 42 42 -
code/branches/libraries/src/orxonox/objects/pickup/PickupSpawner.h
r3196 r5633 39 39 #include <string> 40 40 #include "tools/Timer.h" 41 #include " interfaces/Tickable.h"41 #include "tools/interfaces/Tickable.h" 42 42 #include "objects/worldentities/StaticEntity.h" 43 43 -
code/branches/libraries/src/orxonox/objects/worldentities/Backlight.h
r3196 r5633 33 33 34 34 #include <string> 35 #include " interfaces/TimeFactorListener.h"35 #include "tools/interfaces/TimeFactorListener.h" 36 36 #include "FadingBillboard.h" 37 37 -
code/branches/libraries/src/orxonox/objects/worldentities/BlinkingBillboard.h
r3196 r5633 33 33 34 34 #include "util/Math.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "Billboard.h" 37 37 -
code/branches/libraries/src/orxonox/objects/worldentities/Camera.h
r3196 r5633 33 33 34 34 #include "util/OgreForwardRefs.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "objects/worldentities/StaticEntity.h" 37 37 -
code/branches/libraries/src/orxonox/objects/worldentities/FadingBillboard.h
r3196 r5633 34 34 #include "util/Math.h" 35 35 #include "tools/Timer.h" 36 #include " interfaces/Tickable.h"36 #include "tools/interfaces/Tickable.h" 37 37 #include "Billboard.h" 38 38 -
code/branches/libraries/src/orxonox/objects/worldentities/ForceField.h
r3196 r5633 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "StaticEntity.h" 37 37 … … 48 48 inline void setVelocity(float vel) 49 49 { this->velocity_ = vel; } 50 50 51 51 inline float getVelocity() 52 52 { return velocity_; } 53 53 54 54 inline void setDiameter(float diam) 55 55 { this->diameter_ = diam; } … … 57 57 inline float getDiameter() 58 58 { return diameter_; } 59 59 60 60 inline void setLength(float l) 61 61 { this->length_ = l; } -
code/branches/libraries/src/orxonox/objects/worldentities/MobileEntity.h
r3196 r5633 33 33 34 34 #include "util/Math.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "WorldEntity.h" 37 37 -
code/branches/libraries/src/orxonox/objects/worldentities/triggers/Trigger.h
r3280 r5633 36 36 37 37 #include "tools/BillboardSet.h" 38 #include " interfaces/Tickable.h"38 #include "tools/interfaces/Tickable.h" 39 39 #include "objects/worldentities/StaticEntity.h" 40 40 -
code/branches/libraries/src/orxonox/overlays/FadeoutText.h
r5630 r5633 33 33 34 34 #include "tools/Timer.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OverlayText.h" 37 37 -
code/branches/libraries/src/orxonox/overlays/debug/DebugFPSText.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/debug/DebugRTRText.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/hud/GametypeStatus.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/hud/HUDHealthBar.h
r5630 r5633 33 33 34 34 #include "util/Math.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OverlayText.h" 37 37 #include "HUDBar.h" -
code/branches/libraries/src/orxonox/overlays/hud/HUDNavigation.h
r5630 r5633 33 33 34 34 #include "util/OgreForwardRefs.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/libraries/src/orxonox/overlays/hud/HUDSpeedBar.h
r5630 r5633 33 33 #include "overlays/OverlaysPrereqs.h" 34 34 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "HUDBar.h" 37 37 -
code/branches/libraries/src/orxonox/overlays/hud/HUDTimer.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/hud/PongScore.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/hud/TeamBaseMatchScore.h
r5630 r5633 32 32 #include "overlays/OverlaysPrereqs.h" 33 33 34 #include " interfaces/Tickable.h"34 #include "tools/interfaces/Tickable.h" 35 35 #include "overlays/OverlayText.h" 36 36 -
code/branches/libraries/src/orxonox/overlays/notifications/NotificationQueue.h
r5630 r5633 43 43 44 44 #include "util/Math.h" 45 #include " interfaces/Tickable.h"45 #include "tools/interfaces/Tickable.h" 46 46 #include "overlays/OverlayGroup.h" 47 47 #include "interfaces/NotificationListener.h" -
code/branches/libraries/src/orxonox/overlays/stats/Scoreboard.h
r5630 r5633 33 33 #include <string> 34 34 #include <vector> 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/libraries/src/orxonox/overlays/stats/Stats.h
r5630 r5633 33 33 34 34 #include "util/OgreForwardRefs.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 -
code/branches/libraries/src/orxonox/sound/SoundManager.h
r3370 r5633 33 33 #include <list> 34 34 #include "util/Singleton.h" 35 #include " interfaces/Tickable.h"35 #include "tools/interfaces/Tickable.h" 36 36 37 37 namespace orxonox -
code/branches/libraries/src/orxonox/tools/CMakeLists.txt
r3196 r5633 1 ADD_SOURCE_FILES( ORXONOX_SRC_FILES1 ADD_SOURCE_FILES(TOOLS_SRC_FILES 2 2 BillboardSet.cc 3 3 DynamicLines.cc … … 9 9 Timer.cc 10 10 ) 11 ADD_SUBDIRECTORY(interfaces) 12 13 ORXONOX_ADD_LIBRARY(tools 14 # FIND_HEADER_FILES 15 DEFINE_SYMBOL 16 "TOOLS_SHARED_BUILD" 17 LINK_LIBRARIES 18 core 19 SOURCE_FILES ${TOOLS_SRC_FILES} 20 ) -
code/branches/libraries/src/orxonox/tools/ParticleInterface.h
r3370 r5633 33 33 34 34 #include "util/OgreForwardRefs.h" 35 #include " interfaces/TimeFactorListener.h"35 #include "tools/interfaces/TimeFactorListener.h" 36 36 37 37 #define getAllEmitters() \ -
code/branches/libraries/src/orxonox/tools/Shader.h
r3196 r5633 37 37 38 38 #include "util/OgreForwardRefs.h" 39 #include " interfaces/Tickable.h"39 #include "tools/interfaces/Tickable.h" 40 40 41 41 namespace orxonox -
code/branches/libraries/src/orxonox/tools/Timer.h
r5629 r5633 65 65 #include "core/Executor.h" 66 66 #include "core/OrxonoxClass.h" 67 #include " interfaces/TimeFactorListener.h"67 #include "tools/interfaces/TimeFactorListener.h" 68 68 69 69 namespace orxonox -
code/branches/libraries/src/orxonox/tools/interfaces/ToolsInterfaceCompilation.cc
r5628 r5633 30 30 @file 31 31 @brief 32 Compiles all the interfaces (except RadarViewable)with mostly just a constructor.32 Compiles all the interfaces in the tools library with mostly just a constructor. 33 33 */ 34 34 35 #include "GametypeMessageListener.h"36 #include "PawnListener.h"37 #include "RadarListener.h"38 #include "Rewardable.h"39 #include "TeamColourable.h"40 35 #include "Tickable.h" 41 36 #include "TimeFactorListener.h" 42 #include "NotificationListener.h"43 37 44 38 #include "core/CoreIncludes.h" … … 46 40 namespace orxonox 47 41 { 48 //----------------------------49 // GametypeMessageListener50 //----------------------------51 GametypeMessageListener::GametypeMessageListener()52 {53 RegisterRootObject(GametypeMessageListener);54 }55 56 //----------------------------57 // PawnListener58 //----------------------------59 /**60 @brief Constructor for the PawnListener.61 */62 PawnListener::PawnListener()63 {64 RegisterRootObject(PawnListener);65 }66 67 //----------------------------68 // RadarListener69 //----------------------------70 RadarListener::RadarListener()71 {72 RegisterRootObject(RadarListener);73 }74 75 //----------------------------76 // TeamColourable77 //----------------------------78 TeamColourable::TeamColourable()79 {80 RegisterRootObject(TeamColourable);81 }82 83 42 //---------------------------- 84 43 // TimeFactorListener … … 101 60 RegisterRootObject(Tickable); 102 61 } 103 104 //----------------------------105 // Rewardable106 //----------------------------107 Rewardable::Rewardable()108 {109 RegisterObject(Rewardable);110 }111 112 //----------------------------113 // NotificationListener114 //----------------------------115 NotificationListener::NotificationListener()116 {117 RegisterObject(NotificationListener);118 }119 62 }
Note: See TracChangeset
for help on using the changeset viewer.