Commit Graph

67 Commits

Author SHA1 Message Date
Gunter Labes
75ea3436f4 parse addons first so mainline units overwrite user made units...
...with the same ID and not the other way around
2009-03-13 10:14:10 +00:00
Gunter Labes
d02bea2388 only show weapon specials if they have a name 2009-03-11 13:05:37 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Alexander van Gessel
1c2e86d206 Deep-copy the base unit's attacks before modifying them, this fixes bug #12778. 2008-12-26 21:27:32 +01:00
Alexander van Gessel
ebf271e589 Convert newlines into '\n<br />' in unit descriptions. 2008-12-15 05:16:25 +01:00
Elias Pschernig
8e8855d065 wmlunits: use description from base units 2008-10-03 15:14:56 +00:00
Elias Pschernig
84dd1bda6c really fixed bug #12383 2008-10-03 15:03:56 +00:00
Elias Pschernig
c9b4737fa8 fix for bug #12384 2008-10-03 15:00:16 +00:00
Elias Pschernig
a35b8ba332 another go at fixing bug #12383 2008-10-03 14:55:53 +00:00
Alexander van Gessel
b9f689a117 Made wmlunits operate more like the game. (remove logic the game lacks)
This fixes the "attacks with same name overwrite eachother" bug.
2008-10-01 01:27:06 +01:00
Gunter Labes
cb9c05f1bc remove some obsolete links 2008-09-28 10:45:07 +00:00
Gunter Labes
cdbdf4ede1 small improvement to abbreviation generation 2008-06-08 20:36:27 +00:00
Elias Pschernig
5cb6bf80eb wmlunits: Made the Python wml parser more robust...
...when dealing with invalid WML, it should now abort with a
meaningful error message with about any bad WML you throw at it.
2008-05-16 16:05:51 +00:00
Elias Pschernig
846688cbe6 wmlunits: Make base_unit work recursively...
...(one unit in EE needed that) and write lots of verbose error about
missing attack icons :P
2008-05-02 13:21:09 +00:00
Elias Pschernig
01bfe0c1b6 wmlunits: Abbreviate 'Default (accuracy mod)' as 'D(am)' 2008-05-02 12:41:25 +00:00
Elias Pschernig
8f65cf9741 wmlunits: replaced hero-icon.png with leader-crown.png...
...for faction leaders, and fixed some problems with attacks modified
from the base_unit
2008-05-02 12:34:46 +00:00
Elias Pschernig
5534e29a74 wmlunits: Tried to overlay hero-icon.png over leader units. 2008-05-01 16:20:43 +00:00
Elias Pschernig
2293806e2c wmlunits: Fixed abilities and attacks display. 2008-04-30 22:43:38 +00:00
Elias Pschernig
f768001345 wmlunits: Added id also to unit info page. 2008-04-29 16:49:38 +00:00
Elias Pschernig
7e93462d43 wmlunits: increased font size of unit level indicator,
...added faction-leader indicator, added info link, added abilities,
added id
2008-04-29 16:38:45 +00:00
Gunter Labes
04518278ba now really use the current dir for translations
comment the funny pop_to_top() call out since it doesn't work on
units.wesnoth.org

remove trailing spaces
2008-04-27 23:41:31 +00:00
Gunter Labes
90c7d5c289 default to the current directory for translations rather than cwd + /data 2008-04-27 22:47:18 +00:00
Elias Pschernig
657da51da7 wmlunits: display attacks also in the overview tree 2008-04-27 20:28:24 +00:00
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