Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 1:02:41 PM (7 years ago)
Author:
remartin
Message:

Fisch

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  
    4848
    4949        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.
    5252
    5353            virtual ~AsteroidMinable();
     
    5656            virtual void tick(float dt) override;
    5757
    58             // Overwrite to prevet 'self-collision' of generated stuff
     58            // @brief Overwrite to prevet 'self-collision' of generated stuff
    5959            virtual void hit(Pawn* originator, const Vector3& force, const btCollisionShape* cs, float damage, float healthdamage = 0.0f, float shielddamage = 0.0f);
    6060            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  
    9292        this->foggy = true;
    9393        this->fogDensity = 0.5;
     94        this->count = 0;
    9495
    9596        // Old from Pawn
     
    121122            size = round(rnd()*(this->maxSize - this->minSize)) + this->minSize;
    122123            a->setSize(size);
    123 
    124124            pX = round(rnd()*2*this->radius) - radius;
    125125            pY = round(rnd()*2*this->radius) - radius;
     
    201201
    202202        this->create();
     203        // orxout() << "SpicedAsteroidField is done. " << endl;
     204
    203205        this->bAlive_ = false;
    204206        this->destroyLater();
Note: See TracChangeset for help on using the changeset viewer.