Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 4:55:05 PM (14 years ago)
Author:
jo
Message:

coloured messages, different spaceships in one level, with bug

Location:
code/branches/presentation3/src/modules/overlays/hud
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/overlays/hud/GametypeStaticMessage.cc

    r7031 r7062  
    4949    }
    5050
    51     void GametypeStaticMessage::staticmessage(const GametypeInfo* gtinfo, const std::string& message)
     51    void GametypeStaticMessage::staticmessage(const GametypeInfo* gtinfo, const std::string& message, const ColourValue& colour)
    5252    {
    5353    if (this->owner_ && this->owner_->getGametypeInfo() == gtinfo)
     54    {
     55        this->setColour(colour);
    5456        this->setCaption(message);
     57    }
    5558    }
    5659
  • code/branches/presentation3/src/modules/overlays/hud/GametypeStaticMessage.h

    r7031 r7062  
    4848            virtual void changedOwner();
    4949
    50             void staticmessage(const GametypeInfo* gtinfo, const std::string& message);
     50            void staticmessage(const GametypeInfo* gtinfo, const std::string& message, const ColourValue& colour);
    5151           
    5252        private:
Note: See TracChangeset for help on using the changeset viewer.