Changeset 8711 in orxonox.OLD for trunk/src/lib/script_engine/script.h
- Timestamp:
- Jun 22, 2006, 1:09:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/script_engine/script.h
r8408 r8711 1 /*! 2 * @file scrip.h 3 * wrapper for a lua_State 4 */ 5 1 6 #ifndef _SCRIPT_H 2 7 #define _SCRIPT_H … … 58 63 59 64 int reportError(int error); //!< Get errormessage from the lua stack and print it. 65 bool registerStandartClasses(); //!< Register all the classes that the script might need 66 bool registerClass(const std::string& className); //!< Register a class but dont add any instances 60 67 bool classIsRegistered(const std::string& type); //!< Checks wheter the class "type" has already been registered with the script 61 68 bool objectIsAdded(const std::string& name); //!< Checks wheter the object "name" has already been added to the script
Note: See TracChangeset
for help on using the changeset viewer.