Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1048 for code/trunk/src


Ignore:
Timestamp:
Apr 14, 2008, 12:26:11 AM (17 years ago)
Author:
rgrieder
Message:
  • final commit for tolua++ displacement
Location:
code/trunk/src/orxonox/core
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/core/CMakeLists.txt

    r1045 r1048  
    2121  Tickable.cc
    2222  Script.cc
     23  ToLuaBind.cc
    2324)
    2425
  • code/trunk/src/orxonox/core/Script.cc

    r1038 r1048  
    3434
    3535extern "C" {
    36 #include "lualib.h"
    37 #include "lauxlib.h"
     36#include <lualib.h>
     37#include <lauxlib.h>
    3838}
    3939
    40 #include "tolua/tolua++.h"
    41 #include "tolua/tolua_bind.h"
     40#include "util/tolua/tolua++.h"
     41#include "ToLuaBind.h"
    4242
    4343namespace orxonox
  • code/trunk/src/orxonox/core/Script.h

    r1038 r1048  
    88#define _Script_H__
    99
     10#include "CorePrereqs.h"
     11
    1012extern "C" {
    11 #include "lua.h"
     13#include <lua.h>
    1214}
    1315
     
    1820{ // tolua_export
    1921
    20   class Script // tolua_export
     22  class _CoreExport Script // tolua_export
    2123  { // tolua_export
    2224    public:
  • code/trunk/src/orxonox/core/ToLuaBind.cc

    r1046 r1048  
    99#include "string.h"
    1010
    11 #include "tolua++.h"
     11#include "util/tolua/tolua++.h"
    1212
    1313/* Exported function */
    1414TOLUA_API int  tolua_orxonox_open (lua_State* tolua_S);
    1515
    16 #include "../Script.h"
     16#include "Script.h"
    1717
    1818/* function to register type */
Note: See TracChangeset for help on using the changeset viewer.