Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2010, 9:52:48 PM (15 years ago)
Author:
dafrick
Message:

Accidentally removed a file. Re-adding it.
Levels that are tagged with "test" are now not displayed by default, but can be displayed by choosing show all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/releasetodo/src/orxonox/LevelInfo.h

    r7625 r7626  
    4444#include "core/OrxonoxClass.h"
    4545
    46 namespace orxonox
    47 {
     46namespace orxonox // tolua_export
     47{ // tolua_export
    4848
    4949    /**
     
    5555        Damian 'Mozork' Frick
    5656    */
    57     class _OrxonoxExport LevelInfoItem : virtual public OrxonoxClass
    58     {
     57    class _OrxonoxExport LevelInfoItem // tolua_export
     58        : virtual public OrxonoxClass
     59    { // tolua_export
    5960        public:
    6061            LevelInfoItem(); //!< Default constructor.
     
    7273            @return Returns the name of the Level.
    7374            */
    74             inline const std::string& getName(void)
    75                 { return this->name_; }
     75            inline const std::string& getName(void) { return this->name_; } // tolua_export
    7676
    7777            /**
     
    8585            @return Returns the description of the Level.
    8686            */
    87             inline const std::string& getDescription() const
    88                 { return this->description_; }
     87            inline const std::string& getDescription() const { return this->description_; } // tolua_export
    8988
    9089            void setTags(const std::string& tags); //!< Set the tags the Level is tagged with.
     
    101100            @return Returns true if the Level is tagged with the input tag.
    102101            */
    103             bool hasTag(const std::string& tag) const
    104                 { return this->tags_.find(tag) != this->tags_.end(); }
     102            inline bool hasTag(const std::string& tag) const { return this->tags_.find(tag) != this->tags_.end(); } // tolua_export
    105103
    106104            /**
     
    108106            @return Returns the XML-filename (including *.oxw extension) of the Level.
    109107            */
    110             inline const std::string& getXMLFilename(void)
    111                 { return this->xmlfilename_; }
     108            inline const std::string& getXMLFilename(void) { return this->xmlfilename_; } // tolua_export
    112109
    113110        protected:
     
    128125            std::set<std::string> tags_; //!< The set of tags the Level is tagged with.
    129126            std::string tagsString_; //!< The comma-seperated string of all the tags the Level is tagged with.
    130     };
     127    }; // tolua_export
    131128
    132129    /**
     
    188185
    189186    };
    190 }
     187} // tolua_export
    191188
    192189#endif /* _LevelInfo_H__ */
Note: See TracChangeset for help on using the changeset viewer.