Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 16, 2008, 7:10:28 PM (15 years ago)
Author:
landauf
Message:

maybe fixed backlight crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Backlight.h

    r2207 r2212  
    8080                { return this->trailmaterial_; }
    8181
     82            virtual void changedScale();
     83
    8284        private:
    8385            void stopturnoff();
     
    101103            Timer<Backlight> turnofftimer_;
    102104    };
    103 
    104 
    105 /*
    106         public:
    107             Backlight(float maxspeed = 1.0, float brakingtime = 1.0, float scale = 1.0);
    108             virtual ~Backlight();
    109 
    110             void setConfigValues();
    111             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    112             virtual void tick(float dt);
    113             virtual void changedVisibility();
    114             virtual bool create();
    115 
    116 
    117             void setTimeFactor(float factor);
    118 
    119         private:
    120             void configure(float maxspeed, float brakingtime, float scale = 1);
    121             void updateColourChange();
    122 
    123             static float timeFactor_s;
    124             BillboardSet billboard_;
    125             Ogre::SceneNode* ribbonTrailNode_;
    126             Ogre::RibbonTrail* ribbonTrail_;
    127 
    128 
    129             float maxLifeTime_;
    130             float trailSegmentLength_;
    131             float width_;
    132 
    133             float brakefactor_;
    134 
    135             float maxTraillength_;
    136             float traillength_;
    137 
    138             size_t maxTrailsegments_;
    139     };
    140 */
    141105}
    142106
Note: See TracChangeset for help on using the changeset viewer.