Changeset 11646 for code/branches/AsteroidMining_HS17/src
- Timestamp:
- Dec 11, 2017, 1:02:41 PM (7 years ago)
- Location:
- code/branches/AsteroidMining_HS17/src/modules/asteroidmining
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AsteroidMining_HS17/src/modules/asteroidmining/AsteroidMinable.h
r11640 r11646 48 48 49 49 public: 50 AsteroidMinable(Context* context);// This constructor is for XML access only!51 AsteroidMinable(Context* c, float size, Vector3 position, Vector3 velocity, bool dS);// Call this Constructor from other C-files.50 AsteroidMinable(Context* context);// @brief This constructor is for XML access only! 51 AsteroidMinable(Context* c, float size, Vector3 position, Vector3 velocity, bool dS);// @brief Call this Constructor from other C-files. 52 52 53 53 virtual ~AsteroidMinable(); … … 56 56 virtual void tick(float dt) override; 57 57 58 // Overwrite to prevet 'self-collision' of generated stuff58 // @brief Overwrite to prevet 'self-collision' of generated stuff 59 59 virtual void hit(Pawn* originator, const Vector3& force, const btCollisionShape* cs, float damage, float healthdamage = 0.0f, float shielddamage = 0.0f); 60 60 virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, const btCollisionShape* cs, float damage, float healthdamage = 0.0f, float shielddamage = 0.0f); -
code/branches/AsteroidMining_HS17/src/modules/asteroidmining/SpicedAsteroidField.cc
r11640 r11646 92 92 this->foggy = true; 93 93 this->fogDensity = 0.5; 94 this->count = 0; 94 95 95 96 // Old from Pawn … … 121 122 size = round(rnd()*(this->maxSize - this->minSize)) + this->minSize; 122 123 a->setSize(size); 123 124 124 pX = round(rnd()*2*this->radius) - radius; 125 125 pY = round(rnd()*2*this->radius) - radius; … … 201 201 202 202 this->create(); 203 // orxout() << "SpicedAsteroidField is done. " << endl; 204 203 205 this->bAlive_ = false; 204 206 this->destroyLater();
Note: See TracChangeset
for help on using the changeset viewer.