Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Drop content_sao.{cpp,h}
Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation
- Loading branch information
Showing
with
125 additions
and 294 deletions.
- +3 −1 build/android/jni/Android.mk
- +0 −1 src/CMakeLists.txt
- +1 −1 src/clientiface.cpp
- +0 −1 src/mapgen/mapgen.cpp
- +0 −1 src/mapgen/mapgen_carpathian.cpp
- +0 −1 src/mapgen/mapgen_flat.cpp
- +0 −1 src/mapgen/mapgen_fractal.cpp
- +0 −1 src/mapgen/mapgen_v5.cpp
- +0 −1 src/mapgen/mapgen_v6.cpp
- +0 −1 src/mapgen/mapgen_v7.cpp
- +0 −1 src/script/cpp_api/s_base.cpp
- +1 −1 src/script/lua_api/l_env.cpp
- +0 −1 src/script/lua_api/l_item.cpp
- +1 −1 src/script/lua_api/l_object.cpp
- +1 −0 src/server/CMakeLists.txt
- +46 −146 src/{content_sao.cpp → server/luaentity_sao.cpp}
- +22 −30 src/{content_sao.h → server/luaentity_sao.h}
- +29 −54 src/server/player_sao.h
- +0 −33 src/server/serveractiveobject.cpp
- +0 −10 src/server/serveractiveobject.h
- +16 −3 src/serverenvironment.cpp
- +2 −0 src/serverenvironment.h
- +1 −1 src/staticobject.cpp
- +0 −1 src/unittest/test_player.cpp
- +2 −2 util/travis/clang-format-whitelist.txt
Oops, something went wrong.