Commit graph

140 commits

Author SHA1 Message Date
Elias Pschernig
c5eec58b3f [units.wesnoth.org] As requested by Espreon,
...remove ang_GB@latin from the language selection.
2011-07-30 11:22:07 +00:00
Elias Pschernig
2192aac30d [wmlunits] make copyright notice on units.wesnoth.org say...
...2003-2011 instead of 2003-2009
2011-06-05 14:50:52 +00:00
Elias Pschernig
5d57f537bd [wmlunits] fixed small bug in [specials] handling 2011-06-05 13:10:35 +00:00
Elias Pschernig
c330fb8263 [wmlunits] fixed ignored unit-specific resistance/movement-cost/defence values 2011-04-16 14:27:21 +00:00
Thibault Févry
2288ef0939 Removed a lot of trailing whitespaces. Shouldn't be anymore in python scripts. 2011-03-12 02:22:21 +00:00
Elias Pschernig
22f7e80164 [wmlunits]fix navbar for translations 2010-12-23 19:27:21 +00:00
Elias Pschernig
7524e6befc [wmlunits] use translations only for mainline units...
...(very few addon units had translations but creating all the addon
units in each language takes a lot of time and .html files). Also
report less errors for addons (the addon authors don't get to read
them anyway i'm afraid :/)
2010-12-22 23:34:08 +00:00
Elias Pschernig
c51f7b701f [wmlunits] Try to make it robust enough again to survive user-made WML. 2010-12-12 16:22:35 +00:00
Elias Pschernig
f75d178cec [wmlunits] fix two minor issues 2010-12-12 15:13:08 +00:00
Elias Pschernig
779ff4bbee fixed -C parameter to wmlunits being ignored sometimes 2010-08-18 17:07:55 +00:00
Elias Pschernig
987cc9da3c updated wmlunits 2010-08-18 16:05:36 +00:00
Elias Pschernig
d9f06c6646 [wmlunits] made it work on python 2.5 2010-05-28 21:56:08 +00:00
Elias Pschernig
26a3dc2046 [wmlunits] Updated wmlunits to use the new --preprocess parser.
Now all add-ons which can be played with wesnoth can be parsed by
wmlunits (only those).
2010-05-28 15:39:48 +00:00
Elias Pschernig
5431f82643 [wmlunits] fixed some problems with latin1 filenames 2010-01-11 20:52:57 +00:00
Elias Pschernig
89bc70b37c [wmlunits] Index terrain types by the .string...
...instead of the .id field as the latter isn't unique right now.
2009-09-24 18:15:55 +00:00
Elias Pschernig
aaf2850371 [wmlunits] change the process names of wmlunits to 'wmlunits'...
...so it can be killed more easily
2009-09-17 16:16:28 +00:00
Elias Pschernig
a3875006eb [wmlunits] Reset a reference early to keep less objects referenced...
...and enable (manual) GC. Should keep memory footprint below 500MB
now for the full WML tree of all addons on the 1.6 server.
2009-09-15 20:13:40 +00:00
Elias Pschernig
eeb7d7671a Applied svn revision #36497 from 1.6 to trunk. 2009-07-01 17:22:06 +00:00
Gunter Labes
4a429a5530 made defense and resistance values default to 0% 2009-06-11 06:46:08 +00:00
Gunter Labes
b3a3d8ceb5 check the variable we're actually writing out 2009-05-26 13:39:29 +00:00
Gunter Labes
6daf8f7076 only parse addons when a userdir was given 2009-05-25 21:32:14 +00:00
Gunter Labes
901ad63e5a update scripts: s/~campaigns/~add-ons/ 2009-05-20 22:31:14 +00:00
Gunter Labes
f59d1604fd correct datadir option description...
...and also use the datadir when copying the css
2009-04-23 22:32:55 +00:00
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