home · contact · privacy
Load last world state from save file, not from re-stepping record file.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 4 Jul 2014 21:18:05 +0000 (23:18 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 4 Jul 2014 21:18:05 +0000 (23:18 +0200)
commit1452d43c6d7c89219cda91362da53ac8e4acb887
tree4ccd13856e630e5f84cc0abd17fd88f340719f1a
parentd92f16d5959fc846d3eaf669517eecb3969cda08
Load last world state from save file, not from re-stepping record file.

Re-wrote large chunks of code dealing with server message parsing and
file parsing in general. Introduced "god commands" (manipulating the
game state beyond player actor control) that direct the re-generation of
the game state when loading the save file. Introduced a module
"hardcoded_strings" to store strings re-used and expected among various
modules.
24 files changed:
README
TODO
src/client/command_db.c
src/client/interface_conf.c
src/common/parse_file.c
src/common/parse_file.h
src/server/ai.c
src/server/cleanup.c
src/server/configfile.c
src/server/configfile.h
src/server/hardcoded_strings.c [new file with mode: 0644]
src/server/hardcoded_strings.h [new file with mode: 0644]
src/server/init.c
src/server/init.h
src/server/io.c
src/server/io.h
src/server/main.c
src/server/map.c
src/server/map.h
src/server/run.c
src/server/run.h
src/server/things.c
src/server/things.h
src/server/world.h