Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 17, 2009, 4:41:03 PM (15 years ago)
Author:
rgrieder
Message:

Added static DeclareToluaInterface macro to ease up tolua intefaces for modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/orxonox/gamestates/GSRoot.cc

    r5654 r5655  
    3333#include "core/Game.h"
    3434#include "core/GameMode.h"
    35 #include "core/LuaState.h"
    3635#include "network/NetworkFunction.h"
    37 #include "ToluaBindOrxonox.h"
    3836#include "tools/Timer.h"
    3937#include "interfaces/TimeFactorListener.h"
     
    5351        this->ccSetTimeFactor_ = 0;
    5452        this->ccPause_ = 0;
    55 
    56         // Tell LuaBind about all tolua interfaces
    57         LuaState::addToluaInterface(&tolua_Orxonox_open, "Orxonox");
    5853    }
    5954
Note: See TracChangeset for help on using the changeset viewer.