176 Commits

Author SHA1 Message Date
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