blob: 2a14f4abe6ee558505a3b6234041dcc40f354b02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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 {
irr::scene::ISceneNode* n;
btRigidBody* r;
map_t funcmap;
const char* type;
} LIPhysNode;
extern lua_State* tL;
extern irr::IrrlichtDevice* gamedevice;
extern long nodenum;
|