[Freeciv-Dev] map editor
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Attached is a patch that will make the savegame handling capable of only
loading/saving the map part of a savegame. This makes it possible to create a
map editor that can load existing games and save pure maps. Patch attached.
Also, at http://hjem.get2net.dk/thue_janus_kristensen/newtree.diff.bz2 is a
prototype of a map editor. It is capable of extracting maps from save games,
of modifying maps, and of saving the maps so a civserver patched with the
previously mentioned patch can load them.
To use the editor apply the patch, ./configure && make, and start the editor
with ./map
The editor is basically a copy of the gtk client. Those files that could be
used unchanged are just used in the link phase from the real gtk client. It
also links against a few server files like savegame.o and ruleset.o.
Also, the map editor currently includes much code that is simply not used,
like city handling code. This is not taken out because the map editor may
eventually becode a scenario editor.
Some of the code is stolen from/inspired by the old civworld editor.
jjm commented that he would rather see the map editor integrated into the gtk
client, which would also be nice because you wouldn't copy too much code.
But on the other hand it would be terribly annoying to have to go over the
network layer for every change you make.
It would be nice to have the map editor in the official distribution, but I
shall be the first to admit that is has a very ugly way of including files
from the client and server, and has various bugs...
-Thue
oldtree.diff.bz2
Description: BZip2 compressed data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] map editor,
Thue <=
|
|