Changed lua table.sort() function to accept any index as a second parameter,...
Changed lua table.sort() function to accept any index as a second parameter, if not a function it will assume the items to sort are tables and sort them by the given index Improved the integrated lua profiler (only works when luajit is disabled) Greatly improved performance when moving around the map. Map:checkAllEntities() is now much faster, FOV code is also faster git-svn-id: http://svn.net-core.org/repos/t-engine4@1092 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
- game/engine/Map.lua 18 additions, 4 deletionsgame/engine/Map.lua
- game/engine/interface/ActorFOV.lua 4 additions, 2 deletionsgame/engine/interface/ActorFOV.lua
- game/modules/tome/class/NPC.lua 6 additions, 1 deletiongame/modules/tome/class/NPC.lua
- game/modules/tome/class/Player.lua 9 additions, 3 deletionsgame/modules/tome/class/Player.lua
- src/core_lua.c 2 additions, 2 deletionssrc/core_lua.c
- src/lua/ltablib.c 36 additions, 2 deletionssrc/lua/ltablib.c
- src/luajit/ltablib.c 15 additions, 2 deletionssrc/luajit/ltablib.c
- src/luaprofiler/core_profiler.c 6 additions, 6 deletionssrc/luaprofiler/core_profiler.c
- src/luaprofiler/lua50_profiler.c 4 additions, 4 deletionssrc/luaprofiler/lua50_profiler.c
Loading
Please register or sign in to comment