diff options
author | ubq323 <ubq323@ubq323.website> | 2023-03-24 21:11:10 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-03-24 21:11:10 +0000 |
commit | e77609c5bc8b44aa22ef88063246fd05add5e705 (patch) | |
tree | 1829e2098e40f7fad82af8707bd8a359edd2be1d /common/coords.lua | |
parent | 0927f9297c06525a453b4aad44fa4c2916c75906 (diff) |
use lmdb for world storage; plus other small things
support numpad 8456 for movement in addition to wasd
refactor server and add player module
update outdated documentation slightly
Diffstat (limited to 'common/coords.lua')
-rw-r--r-- | common/coords.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/common/coords.lua b/common/coords.lua index 420b287..fc4aaa5 100644 --- a/common/coords.lua +++ b/common/coords.lua @@ -161,11 +161,6 @@ function ChunkPos.orth_dist(self,other) local dv = math.abs(self.v-other.v) return math.max(du,dv) end -function ChunkPos.filename(self) - -- filename of chunk with that cp - return "world/c_"..self.u.."_"..self.v..".dat" -end - |