Commit Graph

24016 Commits

Author SHA1 Message Date
Eric S. Raymond
a9b2e51acc Eliminate a duplicative NR-specific macro in favor of a core macro. 2008-03-31 18:37:44 +00:00
Sergey Popov
1422f1e8a2 scons recipe: added "lingua" option to specify which language...
...update-po will update.
2008-03-31 18:16:19 +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
Eric S. Raymond
efad4d1a71 Typo fix. 2008-03-31 18:00:50 +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
Sergey Popov
309157618d scons recipe: renamed pot-update target to update-po...
...and made it update localized .po files.
2008-03-31 17:49:34 +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
a037e7a114 Place do_not_list=yes where it will do some good later. 2008-03-31 17:40:35 +00:00
Eric S. Raymond
0a76b4a0c7 Comment fix. 2008-03-31 16:17:08 +00:00
Eric S. Raymond
8f7c7f5049 Add some documentation, remove some to-do comments, and update the to-do list. 2008-03-31 16:12:25 +00:00
Eric S. Raymond
2cabbcf3d7 Fix two glitches revealed by wmlscope and wmllint. 2008-03-31 15:56:08 +00:00
Eric S. Raymond
2ed5dc17f5 Typo fix. 2008-03-31 15:51:55 +00:00
Eric S. Raymond
d7d4b130e8 First cut at [base_unit]-aware lookup. 2008-03-31 15:47:07 +00:00
Sergey Popov
d5f05aa0d8 scons recipe: pot-update target now generates .po files...
...from C++ and wml and concatenates them into .pot files.
2008-03-31 15:21:31 +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
Sergey Popov
f0eba50d9f scons recipe: added pot-update target.
For now updates only messages from C++ files.
2008-03-31 13:28:15 +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
515c68ce4c Two changes to wmlparser:
1) All data items collected by the parse now carry information about
   the text domain that was active when they were parsed.

2) Parser no longer ignores all #textdomain declarations other than
   'wesnoth'.

Note: the second change is potentially not backwards-compatible,
depending on how the parser client uses the data.
2008-03-31 12:58:26 +00:00
Eric S. Raymond
513921c01c Define a function for popping to the top-level dist directory. 2008-03-31 11:17:00 +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
Nils Kneuper
1410242f23 updated Polish translation 2008-03-31 10:34:07 +00:00
Eric S. Raymond
1753e856fb Start of wmlunits refactoring. 2008-03-31 09:58:49 +00:00
Sergey Popov
bd95e29145 scons recipe: fixed logic error in InstallFilteredHook...
...that caused it to resize images even if tinygui is disabled.
2008-03-31 09:48:57 +00:00
Eric S. Raymond
71d85e4c00 Added elias's unit lister to the data/tools directory. 2008-03-31 09:45:54 +00:00
Douglas Hains
1f3d47c2de Two main changes:
* Exposed terrain information to FormulaAI, accessible by map.terrain

* Added function nearest_loc, takes a loc and list of locs and returns
the closest Added example in scenario-formula.cfg demonstrating new
features by implementing requested 'woodchopper' feature
2008-03-31 09:10:15 +00:00
Richard Kettering
f5dc09e4d0 Major upgrade to the berzerker's animations. 2008-03-31 00:13:53 +00:00
Richard Kettering
e696cdef2a Major upgrade to the berzerker's animations. 2008-03-31 00:06:26 +00:00
Eric S. Raymond
b51b7122a2 Add some clarifying comments. 2008-03-30 23:22:45 +00:00
Eric S. Raymond
2e24714b75 Install and uninstall the manual. 2008-03-30 23:21:58 +00:00
Eric S. Raymond
017b28a313 Add an nls option,
...defaulting to True but flipped to false if gmsgfmt is not in the
executables path.
2008-03-30 22:43:10 +00:00
Benoît Timbert
296dedf833 French translation update 2008-03-30 22:26:27 +00:00
Sergey Popov
505c03b18b Made scons recipe invoke msgfmt instead of gmsgfmt. 2008-03-30 22:13:56 +00:00
Jörg Hinrichs
ce8f0b4a78 A better fix for the unit_type problems.
Unlike the last one it does not break help and also fixes creating
units in debug mode.
2008-03-30 21:57:29 +00:00
Eric S. Raymond
754f9fc5db Fix bad indent. 2008-03-30 21:43:35 +00:00
Benoît Timbert
b4468ec0f8 French translation update (fix bugs #11400 & #11401 (thanks dmg)) 2008-03-30 21:42:35 +00:00
Eric S. Raymond
9a0cb246a1 Guard the catalog combination so install won't blow up igf gmsgfmt is missing. 2008-03-30 21:42:16 +00:00
Jérémy Rosen
71a3a1b794 add new distance functions to formula AI, patch 1033 by Alesis Novik 2008-03-30 21:13:49 +00:00
Eric S. Raymond
f0715e3215 Comments and rearrangement. 2008-03-30 21:06:25 +00:00
Martin Renold
5c9c648d86 do not send the full gamelist when not neccessary 2008-03-30 20:49:48 +00:00
Jérémy Rosen
61e0cc38b3 add a history to all in-game commands, patch 1034 by rujasu 2008-03-30 20:37:54 +00:00
Jörg Hinrichs
7518b3b5ba Fixes an "unknown unit type" error 2008-03-30 20:19:47 +00:00
Martin Renold
059f6e9929 fix gamelist being sent to the kicked/banned player 2008-03-30 19:43:02 +00:00