Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2006, 3:35:34 PM (18 years ago)
Author:
snellen
Message:

commented unessecary debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/world_entities/script_trigger.cc

    r8379 r8391  
    146146 {
    147147   std::string file("lunartest2.lua");
    148      // Script script;
     148   //get script
    149149   Script* script = State::getScriptManager()->getScriptByFile(file);
    150150   printf("-------------------------- top of the stack:%i\n",lua_gettop(script->getLuaState()));
    151 
    152       // Register classes with the script
    153       // Lunar<Account>::Register(&script);
    154       //Lunar<Object>::Register(&script);
    155 
    156       //Object* obj= new Object();
    157       //Account a;
    158       //Account *b = new Account(30);
    159 
    160       // Add instances to the script
    161       //Lunar<Object>::insertObject(&script,obj,"Obj",true);
    162       //Lunar<Account>::insertObject(&script,&a,"a",false);
    163       //Lunar<Account>::insertObject(&script,b,"b",true);
    164        //printf("-------------------------- top of the stack:%i\n",lua_gettop(script.getLuaState()));
    165 
    166       //Load a file
    167       //std::string file("lunartest2.lua");
    168 
    169       //if(script.loadFile(file))
    170         //printf("File %s succefully loaded\n", file.c_str());
    171       //printf("-------------------------- top of the stack:%i\n",lua_gettop(script.getLuaState()));
    172151
    173152      //execute a function
Note: See TracChangeset for help on using the changeset viewer.