Ignacio R. Morelle
eee2650535
Proper undefs at the end
2008-04-02 17:48:06 +00:00
Ignacio R. Morelle
60fce0fb64
Set inherit=no
2008-04-02 17:33:20 +00:00
Ignacio R. Morelle
b826d245b8
Put bat animation frames to use on WC
2008-04-02 17:30:42 +00:00
Ignacio R. Morelle
5b06aba4fc
Adding megane's northern facing zombie bat graphics
2008-04-02 14:28:54 +00:00
Tommy
c197ddb89a
fix glitch when desert road is next to grass and bridge
2008-04-02 13:41:45 +00:00
Eric S. Raymond
2a6dc2e5fb
Prevent some spurious "undefined macro" messages from wmlunits.
2008-04-02 11:45:41 +00:00
Eric S. Raymond
96ad22d0bb
File rename solves a minor problem with order in which macros are seen...
...
...in the wmlunits parser.
2008-04-02 11:43:28 +00:00
Douglas Hains
509185dfa5
fix for formulaAI 'woodchopper' example
2008-04-02 06:15:55 +00:00
Eric S. Raymond
6ab91803ef
Fix some paths, notably in includes of the terrain-graphics directory.
...
These inclusions were redundant to the C++ code, which pulls that
file in early in the process of interpreting the WML tree. But
they're actually needed by tools like wmlunits that don't start
with the topmost _main.cfg.
2008-04-02 03:39:05 +00:00
Nils Kneuper
5a9bd1db8d
add new finnish translator
2008-04-01 21:26:00 +00:00
Eric S. Raymond
0747b5b9fe
Put #textdomain in the right place.
2008-04-01 14:23:14 +00:00
Eric S. Raymond
84f7597007
Prevent some false positive during lifting.
2008-04-01 13:42:56 +00:00
Eric S. Raymond
8eb591aade
Fix an inadvertent commit.
2008-04-01 13:21:09 +00:00
Lari Nieminen
c6187b7c67
Added the custom terrains of DiD and UtBS into the editor...
...
...as their own editor groups, and added generic custom group button
graphics.
2008-04-01 12:02:09 +00:00
Tommy
b92010a028
fix for bug #11410
2008-04-01 11:05:29 +00:00
Lari Nieminen
aa392b7d1d
Moved the DiD utility .cfg's into their own utils/ dir...
...
...and split the terrain section into its own file.
2008-04-01 10:50:59 +00:00
Lari Nieminen
2ba9150422
Also enable mainline campaigns to include their custom terrains into the editor.
2008-04-01 10:44:43 +00:00
Lari Nieminen
adf687a620
Cleaned up and simplified some Dwarven Doors WML...
...
...and made a few moveto events undoable.
2008-04-01 09:43:48 +00:00
Elias Pschernig
edce75c59f
Made wmlunits output redirectable despite using Python's print command.
2008-03-31 22:07:29 +00:00
Jérémy Rosen
a3cc0f1871
report an error when a macro is not resolved...
...
...and is not a correct filename either, patch 1035 by cjhopman
2008-03-31 19:24:25 +00:00
Piotr Cychowski
68a6322525
Add ANL textdomain
2008-03-31 19:08:00 +00:00
Piotr Cychowski
50d48d6747
Merge ANL as per patch #936 + Some auto fixes by wmllint
2008-03-31 19:04:13 +00:00
Eric S. Raymond
ba20972956
Hide some more units that could use it.
2008-03-31 18:50:23 +00:00
Eric S. Raymond
c3aa49442a
Fix a potential dependency on the order that files are preprocessed.
2008-03-31 18:38:54 +00:00
Eric S. Raymond
a9b2e51acc
Eliminate a duplicative NR-specific macro in favor of a core macro.
2008-03-31 18:37:44 +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
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
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
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
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
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
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