This is a clutter-reduction step, separating the packaging and code-integrity
checks from the stuff for maintaining mainline campaigns.
I've also added documentation comments to some scripts.
(but not the normal client) so that campaigns can have their
passphrases reset by admins without shutting the server down. I also
add two perl scripts for changing passphrases and for deleting
campaigns.
...of all the text files distributed with the game: the various
translations of the MANUAL, the changelog, the license information in
COPYING, the instructions in INSTALL, and the README. Changes
sequences of lines to DOS-style single paragraphs, and attempts to
preserve displayed text and tables. The resulting files should be
ready to be shipped with the Windows package, and for most people
these files will be shown in NotePad when double-clicked.
Run inside the top level source directory to produce a pseudo-diff
highlighting possible unused images. Many image filenames (eg. for
terrains) are actually constructed by the code, so these are not
actually unused.
This is more general than the in-game code in Damage Calculations
since it handles berserk. It computes the joint conditional
probability function of the hitpoints each unit will have at the end
of the skirmish. The algorithm is currently slow: O(r*(n+N)*(h*H))
operations (n and N are number of swings per round, h and H are
hitpoints, and r is 30 if berserk is in effect otherwise 1). Hence,
probably not yet suitable for AI use.
(though I am not sure perl really will give any back to the OS) before doing
the copy of the cached file, as that step doesn't need the undef'd data and
can take a while to run.
...it will sometimes pick up the same language twice for a given
campaign. (Currently Invasion of Eliador has this issue with sv.) This
isn't a problem on the campaign server side. However it looks bad on
the web page. So I now have the campaign list suppressing duplicate
langauges.
I also fixed a bug where the languages weren't sorted the intended way.
(except for when webtgz.pl successfully returns a tgz file).
I also changed webtgz.pl to only request campaign info for the campaign of
interest. In the future (after getting campaign summary info loaded for old
campaigns on the campaign server) this request won't be needed at all and will
be removed.