Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8362 in orxonox.OLD for trunk/src/lib/script_engine


Ignore:
Timestamp:
Jun 14, 2006, 10:08:41 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: removed stupid included in base_object.h
this should lead to faster compile-times

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/script_engine/script.h

    r8271 r8362  
    55#include "base_object.h"
    66
     7#include <list>
    78
    89struct lua_State;
     
    1920    Script(const TiXmlElement* root = NULL);
    2021    ~Script();
    21    
     22
    2223    /// LOADING
    2324    void loadParams(const TiXmlElement* root);
     
    2627    bool loadFile(const std::string& filename);
    2728    void addObject(const std::string& className, const std::string& objectName);
    28    
     29
    2930    /// QUERRYING
    3031    /** @returns fileName */
     
    3334
    3435
    35    
     36
    3637    /// EXECUTING
    3738    // first select function
     
    4546    // Execute the Function
    4647    bool executeFunction();
    47    
     48
    4849     // get returned values the last return value in lua is the first in c. TODO: change order of return
    4950    int   getReturnedInt();
     
    6566    int                     argumentCount;           //!< Number of arguments for the current function
    6667    int                     returnCount;             //!< Number of return values of the current function
    67    
     68
    6869    std::list<WorldObject>  registeredObjects;       //!< The list of all the objects and their type that have been registered with this script
    6970
Note: See TracChangeset for help on using the changeset viewer.