Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8711 in orxonox.OLD for trunk/src/lib/script_engine/script.h


Ignore:
Timestamp:
Jun 22, 2006, 1:09:20 PM (19 years ago)
Author:
bensch
Message:

merged the script_engine back here

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
    16#ifndef _SCRIPT_H
    27#define _SCRIPT_H
     
    5863
    5964    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
    6067    bool classIsRegistered(const std::string& type);  //!< Checks wheter the class "type" has already been registered with the script
    6168    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.