Commit Graph

16050 Commits

Author SHA1 Message Date
Ali El Gariani
17df430523 Revert the hack with abs().
This function is often used in the code (even in this file), but I
added a #include <cstdlib> just to be sure.
2007-04-18 11:38:43 +00:00
Eric S. Raymond
c058f0034a Merge back in most of mog's commit, Mordante thinks he can fix it. 2007-04-18 11:28:40 +00:00
Eric S. Raymond
253228c67b Back out mog's commit 16648, it caused bug #8739.
Some bits of this commit can and should be saved.
2007-04-18 10:55:11 +00:00
Lari Nieminen
4bb6656b20 Tiny fix for the ranged defense animation of the desert marshal. 2007-04-18 09:11:57 +00:00
Lari Nieminen
129d284026 Little animation fixes to some UtBS units. 2007-04-18 08:49:30 +00:00
Eric S. Raymond
c9cfd42558 Add docstrings for some macros. 2007-04-18 08:47:34 +00:00
Lari Nieminen
07a791a1a8 Fixed a WML typo (UtBS should start now). 2007-04-18 08:38:55 +00:00
Eric S. Raymond
f7c6548c3f Fix broken macro termination. 2007-04-18 08:33:45 +00:00
Lari Nieminen
d184fabd5f Better hatchet sounds,
wired to all units using a hatchet as well as for the bolas of desert
elves. The changes to the UtBS units are untested. Left the old
hatchet projectiles and sound in for backwards support for now.
2007-04-18 08:20:02 +00:00
Lari Nieminen
f6654cb147 Moved the projectile macros back to animation-utils.cfg
and added a macro for the new hatchet animation (the rest of that coming soon).
2007-04-18 07:57:36 +00:00
Nils Kneuper
38f8691b8f pot-update 2007-04-18 06:35:42 +00:00
Patrick Parker
032c970d82 not sure what the portable version of ::abs() is,
so a quick workaround (was giving me invalid memory access errors)
2007-04-18 06:02:54 +00:00
Asa Swain
7f77aa7680 UtBS: minor balancing changes 2007-04-18 04:15:00 +00:00
Richard Kettering
dcb8638a61 New "advanced" icon. 2007-04-18 01:00:01 +00:00
Eric S. Raymond
a5a11ec5d2 Typo fix. 2007-04-18 00:28:32 +00:00
Eric S. Raymond
41acfff0db Apply Wesnoth CSS to the generated reference page. 2007-04-18 00:07:13 +00:00
Patrick Parker
b4e0dcf824 specify the default value for a size_t() //0 2007-04-17 23:25:09 +00:00
Eric S. Raymond
bda93ffd67 Fix some invocationss of macroscope. 2007-04-17 23:02:09 +00:00
Patrick Parker
ce8287a0a3 now unit::matches_filter uses a vconfig instead of a config...
WML variables can be used in some more places
2007-04-17 22:59:13 +00:00
David Philippi
06613cd428 danish translation update 2007-04-17 22:43:03 +00:00
J.W. Bjerk
4c8165a158 fixed snow-hill to mountain no-trans glitch. 2007-04-17 22:19:52 +00:00
Patrick Parker
2eb7b2a132 explicitly construct the vconfig[] return type from t_string& to t_string
and also add const to prevent inadvertant misuse
2007-04-17 21:49:09 +00:00
Eric S. Raymond
364e9da699 OK, automatic documentation extraction from macros is fully working. 2007-04-17 03:31:37 +00:00
Eric S. Raymond
2848838cf5 Third step in automated documentation extraction for macros.
We're making web pages that pass XHTML validation now; 
the rest of the work is cleanup and polishing.
2007-04-17 02:34:51 +00:00
Eric S. Raymond
9364ddd74c Corrections to macro documentation. 2007-04-17 01:18:34 +00:00
Patrick Parker
af5a8e3fa2 add an initialization list to the default constructor of individual_effect 2007-04-16 21:22:27 +00:00
Ali El Gariani
83ea08c2e5 Remove my frame-shift of flag animations
(didn't work well with some custom flags), planning to replace it with
a cleaner time-shift.
2007-04-16 21:07:48 +00:00
Nils Kneuper
e28233a1a2 updated German translation 2007-04-16 20:23:57 +00:00
Eric S. Raymond
506b7c92eb Second stage of automatic documentation extraction for utility macros. 2007-04-16 16:43:20 +00:00
Lari Nieminen
ccc1c8661e New melee animations (both for hammer and axe) for the dwarvish fighter. 2007-04-16 13:11:52 +00:00
Bruno Wolff III
ffb9b643f0 Fix apparent thinko. 2007-04-16 12:59:44 +00:00
Eric S. Raymond
b173e9379f Remove an extraneous space and add "Krak" as a troll name. 2007-04-16 05:55:57 +00:00
Eric S. Raymond
2fb9280407 Add documentation for more macros. 2007-04-16 05:50:15 +00:00
Eric S. Raymond
b704c056f4 Add documentation for all but two of the utility macros.
Put all documentation comments in a standard form that can be

mechanically extracted.  Move some macsos to the deprecated.cfg file.
2007-04-16 05:19:33 +00:00
Eric S. Raymond
a594e4bdd9 Typo fix, and add documentation. 2007-04-16 04:08:06 +00:00
Eric S. Raymond
4855f9c1bb Duh. Set Garak's portrait at Captain level. 2007-04-16 02:17:34 +00:00
Eric S. Raymond
d30eff33ec Correct WML syntax that appeared to work,
but (according to Sapient) shouldn't have.
2007-04-16 02:13:41 +00:00
Patrick Parker
a4bd288cc2 allow effect to filter on unit_gender
add utility functions gender_string() and string_gender()
2007-04-16 01:52:41 +00:00
Eric S. Raymond
a33e0a2fbc Get rid of the Garak special units.
This involved giving Garak an object to modify his ranged attack and
creating a global event to re-hack his portrait if he adances to
Desert Marshal (his stats as a Marshal are stock).

The portrait-setting on advancement is the same thing that's done with Elyssa.
I've abstracted this into a SET_PORTRAIT_ON_ADVANCE macro.

Also, tweak Desert Captain to use SPECIAL_NOTES_LEADERSHIP.
2007-04-16 01:21:12 +00:00
Patrick Parker
af41a9a918 syntax change to portrait effect and add unit_description also 2007-04-16 00:14:55 +00:00
Eric S. Raymond
b641f5febb Replace the wreck image in UtBS...
...with the apparentl identical one in the mainline scenery directory.
2007-04-15 22:21:33 +00:00
Jörg Hinrichs
d331c68aa1 Finally fixes the negative gold bug. 2007-04-15 20:28:53 +00:00
Mark de Wever
94eb53a1f6 added the latest version of wesnoth.dev by cycholka 2007-04-15 20:23:47 +00:00
Jörg Hinrichs
bdcec6517d Next try to fix the negative gold bug. 2007-04-15 19:55:33 +00:00
Jörg Hinrichs
dd333b7087 Try to fix bug #8885 (negative gold amount gets changed while save/load) 2007-04-15 19:30:51 +00:00
J.W. Bjerk
6f77422870 some explanation for the team-colors.cfg 2007-04-15 05:11:17 +00:00
Patrick Parker
61da6edbc6 get rid of the old widget.align hack...
and provide a utility method dialog::add_option()
2007-04-15 02:10:41 +00:00
J.W. Bjerk
eecb3dd3d2 added redeth's scarecrow. 2007-04-14 21:13:14 +00:00
Mark de Wever
621936fd17 scrolling_ was uninitialized and cleaned up the constructor
(problem found by valgrind)
2007-04-14 20:53:37 +00:00
Mark de Wever
db62c3604b made the error message a little bit more sensible 2007-04-14 20:30:34 +00:00