[Freeciv-Dev] Suggestion concerning tile specs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
Because of using so called datatypes for the amiga client
it supports nearly any gfx file format. Because of this
I don't want to use the xpm file format but maybe png.
I simply could rename the .png files to .xpm files but
really I don't like. So I think it would be the best
to remove the file name extension .xpm in the specs.
E.g. tiles.xpm.spec should be renamed to tiles.spec.
Inside the specfile itself the gfx file should be
referenced without any extension e.g.
xpm = "default/tiles"
Then we can create a new gui depend function which
simply returns the gfx file extension the client
supports (maybe it could even return a string array,
which defines all the extensions the client supports;
if the first file with the first extension isn't found
the second extension is tried...and so on).
This function is used somewhere in tilespec_load_one()
then.
What do you think?
bye,
Sebastian Bauer
- [Freeciv-Dev] Suggestion concerning tile specs,
Sebastian Bauer <=
|
|