Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8246 in orxonox.OLD for branches/script_engine/src/world_entities


Ignore:
Timestamp:
Jun 8, 2006, 2:53:10 PM (18 years ago)
Author:
snellen
Message:

moved example.cc to scripttrigger, object.cc, account.cc

Location:
branches/script_engine/src/world_entities
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/world_entities/WorldEntities.am

    r7785 r8246  
    4949                world_entities/elements/text_element.cc \
    5050                \
    51                 world_entities/effects/lightning_bolt.cc
     51                world_entities/effects/lightning_bolt.cc \
     52                \
     53                world_entities/script_trigger.cc
    5254
    5355
     
    99101                elements/text_element.h \
    100102                \
    101                 effects/lightning_bolt.h
     103                effects/lightning_bolt.h \
     104                \
     105                script_trigger.h
  • branches/script_engine/src/world_entities/script_trigger.cc

    r8243 r8246  
     1//for testing
     2#include "luaincl.h"
    13#include "script_trigger.h"
    24#include "class_list.h"
     
    46
    57#include "state.h"
    6 
     8 
     9 
     10 
    711ScriptTrigger::ScriptTrigger(const TiXmlElement* root)
    812{
     
    127131   std::string file("lunartest2.lua");
    128132     // Script script;
    129    Script* script = ScriptManager::getInstance()->getScriptByFile(file);
     133   Script* script = State::getScriptManager()->getScriptByFile(file);
    130134   printf("-------------------------- top of the stack:%i\n",lua_gettop(script->getLuaState()));
    131135
Note: See TracChangeset for help on using the changeset viewer.