Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2010, 9:28:28 PM (14 years ago)
Author:
dafrick
Message:

Made the QuestGUI completely lua based in an attempt to remove a segfault that occured when closing orxonox. Successfully, I might add. ;)
In the process of doing so I expanded the GUITools by adding a function that calculates the height that text in an input window needs, with word-wrap enabled.
Also fixed a small error in the Quest_PirateAttack level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/libraries/core/GUIManager.h

    r7012 r7072  
    9797        inline void setPlayer(const std::string& guiname, PlayerInfo* player)
    9898            { this->players_[guiname] = player; }
    99         inline PlayerInfo* getPlayer(const std::string& guiname) const
    100             { std::map<std::string, PlayerInfo*>::const_iterator it = this->players_.find(guiname); return (it != this->players_.end()) ? it->second : 0; }
     99        inline orxonox::PlayerInfo* getPlayer(const std::string& guiname) const { std::map<std::string, PlayerInfo*>::const_iterator it = this->players_.find(guiname); return (it != this->players_.end()) ? it->second : 0; } // tolua_export
    101100
    102101        // TODO: Temporary hack because the tolua exported CEGUI method does not seem to work
Note: See TracChangeset for help on using the changeset viewer.