[CF-Devel] Java editor and image creation.
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Tue Nov 4 22:00:31 CST 2003
David Seikel wrote:
>
The big problem with the combine.pl script used to create images of the big
>
world maps is the speed, it can take all day to generate the image. The
>
script writer thought of this and made sure that if you have already created
>
the images, it only processes the maps that have changed for subsequent runs.
As the writer of that script, I know it takes a long time to run. But also
figured that the number of times it would need to get updated isn't a lot, and I
could run it at times I don't care about (overnight or whatever).
My effort was also to make do with the code that was already mostly in place.
Which meant not making a whole bunch of changes to the editor.
Note also that the editor spits out the maps as they would appear - the script
itself shrinks them down to size.
Exactly what level of shrinkage would depend on the maps themselves. Eg, the
undercity maps, which I believe are now tiled up, could probably be shrunk much
less (it might be what, 400x400 spaces). So keep that in mind if you do
something like allow the editor to make a combined image - one needs to somehow
be able to say 'this is what size I want the final to be'.
And also keep in mind the complication this may add - do you now need to write
(or incorporate) in an image manipulation library to do that in the editor?
Will that create any new dependencies in the editor?
Certainly, pointing the editor at a map and saying 'I want how all this looks
tiled together' would be quite nice. But you have to keep in mind the possible
downsides - requiring users to download other software in order to run the
editor probably will not fly.
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list