Changeset 10592 for code/branches/towerdefenseFabien/src
- Timestamp:
- Sep 24, 2015, 1:23:47 PM (9 years ago)
- Location:
- code/branches/towerdefenseFabien/src/modules
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFabien/src/modules/towerdefense/TowerDefense.cc
r10591 r10592 81 81 #include "chat/ChatManager.h" 82 82 #include "core/CoreIncludes.h" 83 /* Part of a temporary hack to allow the player to add towers */84 #include "core/command/ConsoleCommand.h"85 86 83 87 84 namespace orxonox … … 103 100 this->waveSize_ = 0; 104 101 offset_ = Vector3(0,0,10); 105 106 //this->stats_ = new TowerDefensePlayerStats();107 102 } 108 103 … … 178 173 179 174 en1->setTeam(2); 180 181 //orxonox::WeakPtr<WaypointController> controller = new WaypointController(this->center_->getContext());182 //controller->setControllableEntity(en1);183 //en1->setController(controller);184 175 185 176 WaypointController* controller = (WaypointController*)(en1->getXMLController()); … … 340 331 timeSinceLastSpawn_ = 0.0; 341 332 342 timeUntilNextWave_ = waveNumber_+ 10;333 timeUntilNextWave_ = waveNumber_+20; 343 334 waveSize_ = waveNumber_+5; 344 335 } -
code/branches/towerdefenseFabien/src/modules/weapons/WeaponsPrereqs.h
r8855 r10592 79 79 class BillboardProjectile; 80 80 class LightningGunProjectile; 81 class SplitGunProjectile; 81 82 class ParticleProjectile; 82 83 class Projectile; … … 90 91 class LaserFire; 91 92 class LightningGun; 93 class SplitGun; 92 94 class RocketFire; 93 95 class SimpleRocketFire; -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/BillboardProjectile.cc
r9667 r10592 88 88 /** 89 89 @brief 90 Get the material of the BillboardProjectile. 91 @return 92 The material name. 93 */ 94 const std::string& BillboardProjectile::getMaterial() 95 { 96 return this->billboard_.getMaterial(); 97 } 98 99 /** 100 @brief 90 101 Is called when the visibility of the BillboardProjectile has changed. 91 102 */ -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/BillboardProjectile.h
r9667 r10592 60 60 virtual void setColour(const ColourValue& colour); 61 61 virtual void setMaterial(const std::string& material); 62 virtual const std::string& getMaterial(); 62 63 virtual void changedVisibility(); 63 64 -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/CMakeLists.txt
r8855 r10592 5 5 Projectile.cc 6 6 LightningGunProjectile.cc 7 SplitGunProjectile.cc 7 8 Rocket.cc 8 9 SimpleRocket.cc 10 SplitGunProjectile.cc 9 11 ) -
code/branches/towerdefenseFabien/src/modules/weapons/weaponmodes/CMakeLists.txt
r7163 r10592 5 5 HsW01.cc 6 6 LightningGun.cc 7 SplitGun.cc 7 8 RocketFire.cc 8 9 SimpleRocketFire.cc
Note: See TracChangeset
for help on using the changeset viewer.