Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9715 in orxonox.OLD for branches/new_class_id/src/lib/script_engine


Ignore:
Timestamp:
Sep 1, 2006, 8:06:39 PM (18 years ago)
Author:
bensch
Message:

renamed newclassid to classid and newobjectlist to objectlist

Location:
branches/new_class_id/src/lib/script_engine
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/script_engine/script.cc

    r9713 r9715  
    2323#include "parser/tinyxml/tinyxml.h"
    2424
    25 NewObjectListDefinition(Script);
     25ObjectListDefinition(Script);
    2626
    2727CREATE_SCRIPTABLE_CLASS(Script, Script::classID(),
     
    155155     }
    156156
    157      BaseObject* object = NewObjectListBase::getBaseObject(objectName, className);
     157     BaseObject* object = ObjectListBase::getBaseObject(objectName, className);
    158158    // printf(("%s is at %p \n",objectName.c_str(),object);
    159159     if (object != NULL && !objectIsAdded(objectName))
  • branches/new_class_id/src/lib/script_engine/script.h

    r9692 r9715  
    2222class Script : public BaseObject
    2323{
    24   NewObjectListDeclaration(Script);
     24  ObjectListDeclaration(Script);
    2525  public:
    2626    Script(const TiXmlElement* root = NULL);
  • branches/new_class_id/src/lib/script_engine/script_class.cc

    r9699 r9715  
    1919#include <cassert>
    2020
    21 NewObjectListDefinition(ScriptClass);
     21ObjectListDefinition(ScriptClass);
    2222/**
    2323 * @brief standard constructor
    2424 * @todo this constructor is not jet implemented - do it
    2525*/
    26 ScriptClass::ScriptClass(const std::string& name, const NewClassID& classID, ScriptMethod* scriptMethods)
     26ScriptClass::ScriptClass(const std::string& name, const ClassID& classID, ScriptMethod* scriptMethods)
    2727    : BaseObject(name), _classID(classID)
    2828{
  • branches/new_class_id/src/lib/script_engine/script_class.h

    r9709 r9715  
    2525class ScriptClass : public BaseObject
    2626{
    27   NewObjectListDeclaration(ScriptClass);
     27  ObjectListDeclaration(ScriptClass);
    2828
    2929public:
     
    3737
    3838protected:
    39   ScriptClass(const std::string& name, const NewClassID& classID, ScriptMethod* scriptMethods);
     39  ScriptClass(const std::string& name, const ClassID& classID, ScriptMethod* scriptMethods);
    4040
    4141private:
    42   NewClassID          _classID;
     42  ClassID          _classID;
    4343  ScriptMethod*       _scriptMethods;
    4444};
     
    5151{
    5252public:
    53   tScriptClass(const std::string& name, NewClassID classID, ScriptMethod* scriptMethods)
     53  tScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods)
    5454      : ScriptClass(name, classID, scriptMethods)
    5555  { }
  • branches/new_class_id/src/lib/script_engine/script_manager.cc

    r9699 r9715  
    9797Script* ScriptManager::getScriptByFile(const std::string& file)
    9898{
    99   for (NewObjectList<Script>::const_iterator it = Script::objectList().begin();
     99  for (ObjectList<Script>::const_iterator it = Script::objectList().begin();
    100100       it != Script::objectList().end();
    101101       ++it)
Note: See TracChangeset for help on using the changeset viewer.