Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2008, 12:25:09 AM (16 years ago)
Author:
landauf
Message:

hum, i forgot what i was doing there… oh wait, i remember… it had something to do with executor evaluation. strange thing, no wonder my brain has a leak or something… what's that SVN thing all around my cursor? what's a cursor anyway? oh, and what am i doing here? i feel like having breakfast and it's all dark… stupid clock change…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/Executor.h

    r957 r967  
    8989        MultiTypeMath param[paramCount]; \
    9090        COUT(5) << "Calling Executor " << this->name_ << " through parser with " << paramCount << " parameters, using " << tokens.size() << " tokens ("; \
    91         for (unsigned int i = 0; i < tokens.size(); i++) \
     91        for (unsigned int i = 0; i < tokens.size() && i < MAX_FUNCTOR_ARGUMENTS; i++) \
    9292        { \
    9393            param[i] = tokens[i]; \
     
    165165            bool parse(const std::string& params, const std::string& delimiter = " ") const;
    166166
     167            bool evaluate(const std::string& params, MultiTypeMath param[5], const std::string& delimiter = " ") const;
     168
    167169            Executor& setDescription(const std::string& description);
    168170            const std::string& getDescription() const;
Note: See TracChangeset for help on using the changeset viewer.