Commit Graph

44 Commits

Author SHA1 Message Date
Elias Pschernig
5df94c0232 wmlunits: output a page with animation statistics 2008-04-26 12:08:32 +00:00
Elias Pschernig
59472613e3 wmlunits: Fixed bug where Methusalem in EOM...
...would not appear in the advancement tree as advancement from Sire.
2008-04-25 19:16:30 +00:00
Elias Pschernig
58a8cdd6d2 wmlunits: Copy images after parsing one language, not at end of script. 2008-04-25 15:59:02 +00:00
Elias Pschernig
9630080049 wmlunits: Changed units forest structure to a network structure...
...for multiple units advancing to the same unit, and added some
sanity checks for units who can advance to themselves.
2008-04-25 14:16:36 +00:00
Elias Pschernig
3a41dc633d wmlunits: Fix exception for missing female unit names in EoM,
...and ignore units with hide_help.
2008-04-23 21:30:12 +00:00
Gunter Labes
1b8d44e84d revert 2008-04-23T19:07:49Z!esr@thyrsus.com 2008-04-23 20:34:59 +00:00
Gunter Labes
8c61572b07 revert 2008-04-23T19:31:40Z!esr@thyrsus.com, something went wrong there... 2008-04-23 20:27:27 +00:00
Eric S. Raymond
9db68b9b88 Back out my previous commit; I misunderstood the spec for the name change. 2008-04-23 19:31:40 +00:00
Eric S. Raymond
6921485048 campaigns -> add-ons.
This has been tested with the game, but the campaign-server client may 
need work.
2008-04-23 19:07:49 +00:00
Elias Pschernig
04cf9aa4f6 wmlunits: Added unit_description as alternate name for description,
...and always add all advancements of all filtered units to the units tree.
2008-04-18 21:37:04 +00:00
Elias Pschernig
6394e55824 wmlunits: Improved translation handling,
...and added option to specify po directory.
2008-04-18 13:54:00 +00:00
Elias Pschernig
bc3db730ea Refactored wmlunits,
...mainly to make it more robust with broken UMCs and with 1.4.
2008-04-18 12:57:46 +00:00
Elias Pschernig
de0581c2f7 wmlunits: Display proper translated names for weapon specials. 2008-04-10 15:53:57 +00:00
Elias Pschernig
1a2dd2029e wmlunits: Undid hack for campaigns directory as it wouldn't work. 2008-04-10 15:35:59 +00:00
Elias Pschernig
f286b179c3 wmlunits: Find addons even if they are not in the campaigns folder. 2008-04-10 14:58:00 +00:00
Elias Pschernig
73c6d924a6 wmlunits: fixed some translation issues...
...and translated more stuff, added option for addons, and some minor
things
2008-04-10 14:29:39 +00:00
Elias Pschernig
864a53b8f3 wmlunits: Defense/Resistances are now displayed as (100 - x)%,
...attacks as hp - times
2008-04-09 20:47:16 +00:00
Elias Pschernig
28849bf119 Allow using ~ in the output option of wmlunits,
...and made it work with Python 2.3.
2008-04-09 20:27:52 +00:00
Elias Pschernig
b7697a7313 Added option to specify the Wesnoth datadir to wmlunits,
...and fixed a bug where it was assumed to run from the wesnoth dir.
2008-04-09 19:38:40 +00:00
Elias Pschernig
291eb96197 finished python unit stats tool 2008-04-09 16:56:58 +00:00
Elias Pschernig
91c44fee30 Made wmlunits 250% faster. 2008-04-08 18:48:02 +00:00
Elias Pschernig
1d2e6debf4 Python version of wmlunits is done (minus some todos and bugs). 2008-04-08 17:22:38 +00:00
Elias Pschernig
10eee98e63 More work on wmlunits.
Uses now an external stylesheet, performs team colorization, displays
female variants. And some bugs fixed.
2008-04-07 14:55:39 +00:00
Elias Pschernig
04d7267c4f Worked on the python unit info tool a bit. 2008-04-06 22:29:01 +00:00
Eric S. Raymond
0d410d5a0d Quiet down wmlunits. 2008-04-05 07:16:01 +00:00
Eric S. Raymond
2a6dc2e5fb Prevent some spurious "undefined macro" messages from wmlunits. 2008-04-02 11:45:41 +00:00
Elias Pschernig
edce75c59f Made wmlunits output redirectable despite using Python's print command. 2008-03-31 22:07:29 +00:00
Elias Pschernig
d153541838 Added special case for tutorial to wmlunits for now...
...(ignoring custom units in the tutorial).
2008-03-31 18:08:04 +00:00
Elias Pschernig
e830b1cccb Ignore campaigns with no extra units. 2008-03-31 17:56:54 +00:00
Elias Pschernig
dae7d2f3ec uncommented campaigns i had commented out for testing 2008-03-31 17:50:13 +00:00
Eric S. Raymond
04b00af73a Implement do_not_list interpretation for wml_units. 2008-03-31 17:42:53 +00:00
Elias Pschernig
04bf030559 Made wmlunits parse complete campaigns...
...instead of just their /units subfolder, should be more similar to
what the C++ engine does.
2008-03-31 17:40:49 +00:00
Eric S. Raymond
d7d4b130e8 First cut at [base_unit]-aware lookup. 2008-03-31 15:47:07 +00:00
Eric S. Raymond
2beeda0b9f Correct a coding error introduced in last commit. 2008-03-31 15:19:08 +00:00
Eric S. Raymond
10862711e4 Collect all unit data in a single object so we can resolve basenames. 2008-03-31 15:07:31 +00:00
Eric S. Raymond
63bd89d392 Report generator doesn't need to be part of the UnitList object. 2008-03-31 14:45:47 +00:00
Eric S. Raymond
801c1409e6 Parsing is now correctly separated from report generation. 2008-03-31 14:25:49 +00:00
Eric S. Raymond
9e0c7d7e84 wmlunits now uses the textdomain information...
...included in each parsed unit item.
2008-03-31 14:12:14 +00:00
Eric S. Raymond
2d862f5646 Begin to separate unit parsing from report generation. 2008-03-31 13:35:23 +00:00
Eric S. Raymond
c6fca2eb00 Translation class is generally useful, so put it in the tools library. 2008-03-31 13:11:59 +00:00
Eric S. Raymond
b1a9d29509 Translation language can now be specified with a switch. 2008-03-31 11:05:04 +00:00
Eric S. Raymond
1c0660550a Factor out translation processing. 2008-03-31 10:39:59 +00:00
Eric S. Raymond
1753e856fb Start of wmlunits refactoring. 2008-03-31 09:58:49 +00:00
Eric S. Raymond
71d85e4c00 Added elias's unit lister to the data/tools directory. 2008-03-31 09:45:54 +00:00