Commit [6c9e4b] Maximize Restore History

Moved some terrain code into a separate module.

Ari Mustonen Ari Mustonen 2013-06-09

1 2 > >> (Page 1 of 2)
added data/lipsofsuna/core/server/main.lua
added data/lipsofsuna/core/terrain
added data/lipsofsuna/core/terrain/__mod__.json
added data/lipsofsuna/core/terrain/main.lua
added data/lipsofsuna/core/terrain/stickterrain1.png
changed data
changed data/lipsofsuna
changed data/lipsofsuna/benchmark
changed data/lipsofsuna/benchmark/benchmark.lua
changed data/lipsofsuna/core
changed data/lipsofsuna/core/client
changed data/lipsofsuna/core/client/client.lua
changed data/lipsofsuna/core/client/init.lua
changed data/lipsofsuna/core/multiplayer
changed data/lipsofsuna/core/multiplayer/host.lua
changed data/lipsofsuna/core/multiplayer/join.lua
changed data/lipsofsuna/core/server
changed data/lipsofsuna/core/server/__mod__.json
changed data/lipsofsuna/core/server/game.lua
copied data/lipsofsuna/core/server/terrain-chunk-loader.lua -> data/lipsofsuna/core/terrain/terrain-chunk-loader.lua
copied data/lipsofsuna/core/server/terrain-chunk.lua -> data/lipsofsuna/core/terrain/terrain-chunk.lua
copied data/lipsofsuna/core/server/terrain-manager.lua -> data/lipsofsuna/core/terrain/terrain-manager.lua
data/lipsofsuna/core/server/main.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/terrain/__mod__.json Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/terrain/main.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/terrain/stickterrain1.png Diff Switch to side-by-side view
Loading...
data
Directory.
data/lipsofsuna
Directory.
data/lipsofsuna/benchmark/benchmark.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/client/client.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/client/init.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/multiplayer/host.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/multiplayer/join.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/server/__mod__.json Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/server/game.lua Diff Switch to side-by-side view
Loading...
data/lipsofsuna/core/server/terrain-manager.lua to data/lipsofsuna/core/terrain/terrain-manager.lua
--- a/data/lipsofsuna/core/server/terrain-manager.lua
+++ b/data/lipsofsuna/core/terrain/terrain-manager.lua
@@ -13,8 +13,8 @@
 local Packet = require("system/packet")
 local Program = require("system/core")
 local Terrain = require("system/terrain")
-local TerrainChunk = require("core/server/terrain-chunk")
-local TerrainChunkLoader = require("core/server/terrain-chunk-loader")
+local TerrainChunk = require("core/terrain/terrain-chunk")
+local TerrainChunkLoader = require("core/terrain/terrain-chunk-loader")
 
 --- Manages terrain chunks.
 -- @type TerrainManager
1 2 > >> (Page 1 of 2)