Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2018, 12:17:34 AM (7 years ago)
Author:
landauf
Message:

[AsteroidMining_HS17] fixed a bunch of compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/asteroidmining/AsteroidMinable.h

    r11736 r11739  
    9494            virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, const btCollisionShape* cs, float damage, float healthdamage = 0.0f, float shielddamage = 0.0f);
    9595
    96             void setSize(int s);
    97             inline int getSize(){return this->size;}
     96            void setSize(float s);
     97            inline float getSize(){return this->size;}
    9898
    9999            inline void setShattering(bool b){this->generateSmaller = b;}
     
    105105        protected:
    106106
    107             int size; //!< Implies health and type of dropped pickups
     107            float size; //!< Implies health and type of dropped pickups
    108108            bool generateSmaller; //!< Whether this asteroid leaves fragments
    109109            bool dropStuff; //!< Whether this asteroid yields valuable stuff
Note: See TracChangeset for help on using the changeset viewer.