Changeset 12384 for code/branches/OrxoBlox_FS19/src/modules/weapons
- Timestamp:
- May 16, 2019, 4:03:46 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19/src/modules/weapons
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.cc
r12378 r12384 33 33 34 34 #include "BallProjectile.h" 35 #include "../OrxoBlox/OrxoBlox.h"36 #include "../OrxoBlox/OrxoBloxStones.h"37 35 #include "gametypes/Gametype.h" 38 36 … … 60 58 this->fieldWidth_ = 46; 61 59 this->fieldHeight_ = 49; 62 //this->orxoblox_ = this->getOrxoBlox();60 this->orxoblox_ = this->getOrxoBlox(); 63 61 64 62 //setEffect("Orxonox/sparks2"); … … 149 147 150 148 151 /*149 152 150 OrxoBlox* BallProjectile::getOrxoBlox() 153 151 { … … 160 158 return nullptr; 161 159 } 162 */160 163 161 164 162 … … 185 183 position.z = this-> fieldHeight_; 186 184 187 //orxoblox_->LevelUp();185 orxoblox_->LevelUp(); 188 186 189 187 -
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.h
r12378 r12384 37 37 #include "weapons/WeaponsPrereqs.h" 38 38 #include "weapons/projectiles/BillboardProjectile.h" 39 #include "../OrxoBlox/OrxoBlox.h" 39 #include "../../OrxoBlox/OrxoBlox.h" 40 #include "../../OrxoBlox/OrxoBloxStones.h" 40 41 41 42 #include "OrxoBlox/OrxoBloxPrereqs.h" … … 68 69 void registerVariables(); 69 70 void changeTexture(); 70 //OrxoBlox* getOrxoBlox();71 OrxoBlox* getOrxoBlox(); 71 72 72 73 float speed_; //!< The speed (in x-direction) of the ball. … … 76 77 unsigned int maxTextureIndex_; //!< The maximal index. 77 78 std::string materialBase_; //!< The base name of the material. 78 //OrxoBlox* orxoblox_;79 OrxoBlox* orxoblox_; 79 80 }; 80 81 } -
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/CMakeLists.txt
r12281 r12384 15 15 MineProjectile.cc 16 16 WagnisProjectile.cc 17 BallProjectile.cc17 #BallProjectile.cc 18 18 ) -
code/branches/OrxoBlox_FS19/src/modules/weapons/weaponmodes/CMakeLists.txt
r12281 r12384 14 14 MineGun.cc 15 15 WagnisGun.cc 16 BallGun.cc16 #BallGun.cc 17 17 )
Note: See TracChangeset
for help on using the changeset viewer.