Changeset 10584 in orxonox.OLD for branches/scriptimprovements/src/lib/script_engine
- Timestamp:
- Feb 8, 2007, 6:05:12 PM (18 years ago)
- Location:
- branches/scriptimprovements/src/lib/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/scriptimprovements/src/lib/script_engine/script.cc
r10381 r10584 106 106 filedest += "scripts/" + directory + file; 107 107 108 this->add ThisScript();108 this->addStandartObjects(); 109 109 this->registerStandartClasses(); 110 110 … … 413 413 } 414 414 415 bool Script::addStandartObjects() 416 { 417 bool success = true; 418 419 this->addThisScript(); 420 421 return success; 422 } 423 415 424 416 425 void Script::registerClass( const std::string& className) -
branches/scriptimprovements/src/lib/script_engine/script.h
r10381 r10584 68 68 int reportError(int error); //!< Get errormessage from the lua stack and print it. 69 69 bool registerStandartClasses(); //!< Register all the classes that the script might need 70 bool addStandartObjects(); //!< Add all the objects that the script might need 70 71 bool classIsRegistered(const std::string& type); //!< Checks wheter the class "type" has already been registered with the script 71 72 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.