Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 24, 2008, 1:50:47 AM (17 years ago)
Author:
landauf
Message:

Update your media repository and delete keybindings.ini if you want to use boost (space).

  • Added new class "Engine" to control the speed of a SpaceShip (Engine is an Item, MultiStateEngine is a specialized version of Engine)
  • Added FadingBillboard, a billboard with the ability to fade in and out smoothly when activated/deactivated.
  • Several changes in Backlight, it's now a child of FadingBillboard
  • Some changes concerning local control in ControllableEntity
  • Fixed a bug in WorldEntity caused by different destruction order of attached objects on server and client
  • Added a "MainState" to BaseObject. An object has several states (activity, visibility, …) and one of it can be defined as "MainState" in the XML file. Other objects can change this state without knowing which state it really is (used by MultiStateEngine).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Light.cc

    r2171 r2254  
    163163    void Light::changedType()
    164164    {
    165         this->light_->setType(this->type_);
     165        if (this->light_)
     166            this->light_->setType(this->type_);
    166167    }
    167168
     
    170171        SUPER(Light, changedVisibility);
    171172
    172         this->light_->setVisible(this->isVisible());
     173        if (this->light_)
     174            this->light_->setVisible(this->isVisible());
    173175    }
    174176}
Note: See TracChangeset for help on using the changeset viewer.