[Freeciv-Dev] (PR#14689) Resource patch, keeping savegame compatibility
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#14689) Resource patch, keeping savegame compatibility |
From: |
"Jerome Plut" <Jerome.Plut@xxxxxx> |
Date: |
Fri, 25 Nov 2005 02:38:39 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14689 >
Here is a new patch (vs. SVN trunk) to handle terrain
resources separately from specials. I've added a bit of code in
savegame.c to preserve savegame compatibility:
- the order of the modifications bits (road, fallout, hut...) is now
saved into the savefile,
- when loading an older savefile, default order is used, and there is
an extra part to take care of special_1 and special_2.
Again, this changes almost nothing for gameplay, except that it
allows to define more than two different resource types for one
terrain type. The patch is quite big, but a large part of it being due
to some renames, maybe I could split it in two parts (there are not
much code changes). The motivation of this is that it is a (small)
step towards defining infrastructure (and so on) via ruleset.
resources.diff.gz
Description: application/gunzip
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#14689) Resource patch, keeping savegame compatibility,
Jerome Plut <=
|
|