diff options
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/lua_api/phys/bcharactercontroller.cpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bcharactercontroller.hpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bcollider.cpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bcollider.hpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bghostobject.cpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bhingeconstraint.cpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bphysbuffer.cpp | 4 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bphysgeneric.cpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bphysgeneric.hpp | 2 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bphysmodel.cpp | 4 | ||||
| -rw-r--r-- | src/shared/lua_api/phys/bshape.cpp | 4 |
11 files changed, 14 insertions, 14 deletions
diff --git a/src/shared/lua_api/phys/bcharactercontroller.cpp b/src/shared/lua_api/phys/bcharactercontroller.cpp index 09941c8..1567a84 100644 --- a/src/shared/lua_api/phys/bcharactercontroller.cpp +++ b/src/shared/lua_api/phys/bcharactercontroller.cpp @@ -265,7 +265,7 @@ int bcharactersetvelocityforinterval(lua_State *L){ return 0;
}
-extern const luaL_reg bcharactercontroller_m[] = {
+extern const luaL_Reg bcharactercontroller_m[] = {
{"setwalkdir", bcharsetwalkdirection},
{"remove", delbcharactercontroller},
{"getvelocity", bcharactergetvelocity},
diff --git a/src/shared/lua_api/phys/bcharactercontroller.hpp b/src/shared/lua_api/phys/bcharactercontroller.hpp index 02e5afb..631e6b4 100644 --- a/src/shared/lua_api/phys/bcharactercontroller.hpp +++ b/src/shared/lua_api/phys/bcharactercontroller.hpp @@ -9,4 +9,4 @@ extern "C" { void bcharactercontroller_register(lua_State* L);
void makenewbcharactercontroller(lua_State* L);
-extern const luaL_reg bcharactercontroller_m[];
+extern const luaL_Reg bcharactercontroller_m[];
diff --git a/src/shared/lua_api/phys/bcollider.cpp b/src/shared/lua_api/phys/bcollider.cpp index caefd3e..81741e8 100644 --- a/src/shared/lua_api/phys/bcollider.cpp +++ b/src/shared/lua_api/phys/bcollider.cpp @@ -86,7 +86,7 @@ int getpos(lua_State *L){ return 1;
}
-extern const luaL_reg bcollider_m[] = {
+extern const luaL_Reg bcollider_m[] = {
{"activate", activate},
{"getpos", getpos},
{"setpos", setpos},
diff --git a/src/shared/lua_api/phys/bcollider.hpp b/src/shared/lua_api/phys/bcollider.hpp index f5164b7..59ac92c 100644 --- a/src/shared/lua_api/phys/bcollider.hpp +++ b/src/shared/lua_api/phys/bcollider.hpp @@ -4,4 +4,4 @@ extern "C" { #include <lualib.h>
}
-extern const luaL_reg bcollider_m[];
+extern const luaL_Reg bcollider_m[];
diff --git a/src/shared/lua_api/phys/bghostobject.cpp b/src/shared/lua_api/phys/bghostobject.cpp index 5657b5f..44fa9da 100644 --- a/src/shared/lua_api/phys/bghostobject.cpp +++ b/src/shared/lua_api/phys/bghostobject.cpp @@ -213,7 +213,7 @@ int bghostnumoverlapping(lua_State *L){ return 1;
}
-static const luaL_reg bghost_m[] = {
+static const luaL_Reg bghost_m[] = {
{"getpos", bghostgetpos},
{"setpos", bghostsetpos},
{"getoverlapping", bghostoverlapping},
diff --git a/src/shared/lua_api/phys/bhingeconstraint.cpp b/src/shared/lua_api/phys/bhingeconstraint.cpp index 5045cb7..b6dae80 100644 --- a/src/shared/lua_api/phys/bhingeconstraint.cpp +++ b/src/shared/lua_api/phys/bhingeconstraint.cpp @@ -34,7 +34,7 @@ int newbhingeconstraint(lua_State *L){ return 0;
}
-static const luaL_reg hingeconstraint_m[] = {
+static const luaL_Reg hingeconstraint_m[] = {
// {"delete", delbphysbox},//client side delete needs to delete the visual representation
{0, 0},
};
diff --git a/src/shared/lua_api/phys/bphysbuffer.cpp b/src/shared/lua_api/phys/bphysbuffer.cpp index 074f506..8f2a518 100644 --- a/src/shared/lua_api/phys/bphysbuffer.cpp +++ b/src/shared/lua_api/phys/bphysbuffer.cpp @@ -168,14 +168,14 @@ extern core::list<btRigidBody*> Objects; //} -static const luaL_reg bphysbuffer_f[] = { +static const luaL_Reg bphysbuffer_f[] = { //{"new", newbphysmodel}, // {"gethandeler", guigethandeler}, // {"sethandeler", guisethandeler}, {0,0}, }; -static const luaL_reg bphysbuffer_m[] = { +static const luaL_Reg bphysbuffer_m[] = { //{"setmaterial", iscenesetmaterial}, //{"getpos", bphysgetpos}, //{"setpos", bphyssetpos}, diff --git a/src/shared/lua_api/phys/bphysgeneric.cpp b/src/shared/lua_api/phys/bphysgeneric.cpp index 3f2114e..9c6f8cc 100644 --- a/src/shared/lua_api/phys/bphysgeneric.cpp +++ b/src/shared/lua_api/phys/bphysgeneric.cpp @@ -301,7 +301,7 @@ A callback used to detect collisions //return 0; //} -extern const luaL_reg brigidbody_m[] = { +extern const luaL_Reg brigidbody_m[] = { {"setgravity", setgravity}, {"applyforce", applyforce}, {"applyimpulse", applyimpulse}, diff --git a/src/shared/lua_api/phys/bphysgeneric.hpp b/src/shared/lua_api/phys/bphysgeneric.hpp index 6d3ef70..f7ea302 100644 --- a/src/shared/lua_api/phys/bphysgeneric.hpp +++ b/src/shared/lua_api/phys/bphysgeneric.hpp @@ -15,4 +15,4 @@ int activate(lua_State *L); int getvelocity(lua_State *L); int setvelocity(lua_State *L); -extern const luaL_reg brigidbody_m[]; +extern const luaL_Reg brigidbody_m[]; diff --git a/src/shared/lua_api/phys/bphysmodel.cpp b/src/shared/lua_api/phys/bphysmodel.cpp index e5a9949..45d6a49 100644 --- a/src/shared/lua_api/phys/bphysmodel.cpp +++ b/src/shared/lua_api/phys/bphysmodel.cpp @@ -204,12 +204,12 @@ static int newbphysmodel(lua_State* L){ return 1; } -static const luaL_reg bphysmodel_f[] = { +static const luaL_Reg bphysmodel_f[] = { {"newphysmodel", newbphysmodel}, {0,0}, }; -static const luaL_reg bphysmodel_m[] = { +static const luaL_Reg bphysmodel_m[] = { {0, 0}, }; diff --git a/src/shared/lua_api/phys/bshape.cpp b/src/shared/lua_api/phys/bshape.cpp index f7d73d3..602d527 100644 --- a/src/shared/lua_api/phys/bshape.cpp +++ b/src/shared/lua_api/phys/bshape.cpp @@ -27,12 +27,12 @@ static int newboxshape(lua_State* L){ return 1;
}
-static const luaL_reg bshape_f[] = {
+static const luaL_Reg bshape_f[] = {
{"newboxshape", newboxshape},
{0,0},
};
-static const luaL_reg bshape_m[] = {
+static const luaL_Reg bshape_m[] = {
{0,0},
};
|
