diff options
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/main.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/server/main.cpp b/src/server/main.cpp index 9fb28c8..2464899 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -26,6 +26,12 @@ extern "C" { using namespace std; using namespace chrono; +void dropRigidBody(btRigidBody* rb){ +} + +void dropChar(btKinematicCharacterController *a){ +} + lua_State* L; void gameloop(){ gameloop_phys(NULL); @@ -47,7 +53,7 @@ int main (){ luaL_openlibs(L); loadLLibs(L); loadNetLibs(L); - loadPhysLibs(L); + load_physfuncs(L); int iErr = luaL_dofile(L,"../data/init.lua"); if(iErr != 0){ printf("Failed to open lua file:../data/init.lua\n"); @@ -70,7 +76,7 @@ int main (){ } printf("End of server gameloop\n"); }while(true); - phys_shutdown(NULL); + phys_shutdown(); return 0; } |
