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/Main.cc

    r3370 r5655  
    4848#include "core/CommandLine.h"
    4949#include "core/Game.h"
     50#include "core/LuaState.h"
     51#include "ToluaBindOrxonox.h"
    5052
    5153SetCommandLineSwitch(console).information("Start in console mode (text IO only)");
     
    5557SetCommandLineSwitch(dedicated).information("Start in dedicated server mode");
    5658SetCommandLineSwitch(standalone).information("Start in standalone mode");
     59
     60DeclareToluaInterface(Orxonox);
    5761
    5862/*
Note: See TracChangeset for help on using the changeset viewer.