Commit graph

11 commits

Author SHA1 Message Date
Joscha
aca387cf05 Save chunks in db
One of the changes introduced for this is that multiple chunks and
diffs are now represented by dicts, not lists.
2017-04-16 17:02:32 +00:00
Joscha
9e5b5f874a Start work on server-side saving worlds
This commit includes a a few more changes because I'm too lazy to
clean them up:
 - fix chunk modification times
 - improve command line arguments
 - load multiple chunks at once
2017-04-16 13:52:39 +00:00
Joscha
4822cab0fc Update chunk logic
Correctly store time of last modification
Use "load" to get a chunk (or load/create one if it isn't loaded)
2017-04-15 11:59:58 +00:00
Joscha
d68d32ff2f Rename "changes" to "diffs" in most places 2017-04-14 11:09:50 +00:00
Joscha
58dc82b1d9 Clean up comments 2017-04-14 08:49:55 +00:00
Joscha
243333f4ef Remove debugging messages 2017-04-14 08:42:14 +00:00
Joscha
7a3bf578bc Clean up client code 2017-04-14 08:36:32 +00:00
Joscha
320dd16889 Add server
This is a first try at connecting multiple clients using a server.
The commit includes a lot of debugging messages.
I will hopefully clean up the server and some of the client code.
2017-04-13 18:10:37 +00:00
Joscha
23da1ea5d9 Implement parts of clientchunkpool and fix softlock in the process 2017-04-09 10:37:57 +00:00
Joscha
68c50f894b Add ChunkMap for better debugging 2017-04-07 19:35:05 +00:00
Joscha
59c3f6e34e Plan out project structure 2017-04-04 20:20:48 +00:00