aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gameparts.hpp
blob: 8a54950796f9075a0afb45901d6a1efc66ba0541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "../util/hashmap.h"
#include <btBulletDynamicsCommon.h>
extern "C" {
  #include <lua.h>
  #include <lauxlib.h>
  #include <lualib.h>
}

typedef struct LISceneNode {
    irr::scene::ISceneNode* n;
    map_t funcmap;
    const char* type;
} LISceneNode;

typedef struct LBPhysNode : LISceneNode {
    btCollisionObject* r;
} LBPhysNode;

extern lua_State* tL;
extern irr::IrrlichtDevice* gamedevice;
extern long nodenum;