Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2017, 5:47:14 PM (8 years ago)
Author:
remartin
Message:

added method 'putStuff' for initialisation. Mesh has correct size (and a randomised shape), but the collision shape stopped getting initialised. Crashes occur somewhere in the death() method.

File:
1 edited

Legend:

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

    r11547 r11551  
    6262        protected:
    6363            // Da neue Argumente reinstellen
    64             float asteroidVersion; // Bodenstrich-Konvention?,
     64            //float asteroidVersion; // Bodenstrich-Konvention?,
    6565            // Wert zwischen 1 und 6 (Spezialdinger?), die Mesh-Form
    6666            float size;
    6767            bool generateSmaller;
    68             virtual void death();
     68            bool initialised;
     69
     70            Context* context;
     71
     72            virtual void death();
     73            virtual void putStuff();
    6974
    7075
     
    7479            virtual void spawnChildren();
    7580
    76             Context* context;
    7781
    7882
Note: See TracChangeset for help on using the changeset viewer.