41706 Commits

Author SHA1 Message Date
Guillaume Melquiond
0bf604f20e Avoided creating blank attributes when doing complete copies. 2010-08-06 20:24:59 +00:00
Ali El Gariani
56be6e4513 Also write "colour" in WML for backward compatibility until 1.9.2 2010-08-06 19:45:32 +00:00
Jérémy Rosen
c3a361ea11 small update on the stonebridge provided by lurker 2010-08-06 18:41:14 +00:00
Ali El Gariani
b741019b80 Fix bug #16347 (broken big editor brush area)
Now use a repeated overlay similar to the mouseover overlay.
2010-08-06 18:26:45 +00:00
Guillaume Melquiond
e7ecd91a58 Used the original defender and restored its hitpoints...
...instead of copying it to a temporary unit. (Partial fix for bug #16363.)

This brings the profile footprint of unit_attack from 7% to negligible.
2010-08-06 18:12:33 +00:00
Guillaume Melquiond
d48a63a995 Avoided copying scoped units. (Partial fix for bug #16363.)
This brings the profile footprint of variable_info from 9% to 4%.
2010-08-06 17:31:14 +00:00
Guillaume Melquiond
d50506f981 Cached the value of animate_map preference.
Since it was queried every tile every frame, its footprint was not
negligible.
2010-08-06 17:07:38 +00:00
J.W. Bjerk
425ce7e33a a tile-able image for mutli-hex editor brushes.
It looks a lot like my hex-selector, but trust me, it tiles much better.
2010-08-06 17:04:27 +00:00
Lari Nieminen
ce371df6ff Added a few volcanoes to 'Isle of the Damned' in HttT...
...as well as 'Cursed Isle' and 'Peoples in Decline' in TRoW.
2010-08-06 16:46:24 +00:00
Guillaume Melquiond
419cf84a9d Added visitors for converting config attributes.
(Partial fix for bug #16363.)

This brings the profile footprint of pushing units to Lua tables from
15% to 5%.
2010-08-06 16:31:01 +00:00
Guillaume Melquiond
ac99cc5f9d Simplified function naming. 2010-08-06 16:30:57 +00:00
Guillaume Melquiond
3e23887400 Avoided copying units put on map if they are temporary.
(Partial fix for bug #16363.)

This brings the profile footprint of putting units on map from 20% to
10% (not counting the actual cost of creating them).
2010-08-06 14:46:05 +00:00
Lari Nieminen
724e666ed6 Greatly simplify the CLEAR_FOG and UNCLEAR_FOG macros...
...now that [hide_unit] accepts a SUF.
2010-08-06 14:08:27 +00:00
Guillaume Melquiond
88245b8ff9 Avoided copying config objects just before deleting them from units.
(Partial fix for bug #16363.)

This brings the profile footprint of config copy constructor from 18% to 8%.
2010-08-06 14:05:09 +00:00
Elias Pschernig
b89e5c9bb1 Make python addon manager handle the case when the server closes...
...the connection prematurely, but without error.
2010-08-06 13:55:01 +00:00
Guillaume Melquiond
e8c2fcfab6 Fixed handling of numerical values in [case] statements. (Fix for bug #16370.) 2010-08-06 13:23:34 +00:00
Guillaume Melquiond
8b1e74f181 Delayed further the creation of config objects.
(Partial fix for bug #16363.)

This brings the profile footprint of add_anims from 30% to 24%.
2010-08-06 12:24:51 +00:00
Guillaume Melquiond
091f2f6404 Optimized the special case [filter_wml][variables] when matching units.
(Partial fix for bug #16363.)

This brings the profile footprint of matches_filter from 28% to 3%.
2010-08-06 10:33:04 +00:00
Guillaume Melquiond
ccccc3709f Sped up unit animation preparation...
...by following all the branches at once and by lazily merging
children. (Partial fix for bug #16363.)

This brings the profile footprint of prepare_animation from 44% to 6%.
2010-08-06 08:38:40 +00:00
Guillaume Melquiond
766a0b5e96 Made clearer the distinction between toplevel anmation tags...
...and inner (possibly conditional) tags.
2010-08-06 08:38:37 +00:00
Guillaume Melquiond
cbad10f588 Fixed compilation of ana. 2010-08-06 08:38:33 +00:00
J.W. Bjerk
37ba057986 moved the 'test' terrains to the bottom of the editor list,
...since they will seldom be needed.  Also removed the unneeded (and
probably never used) Wt terrain from all editor groups.
2010-08-06 00:12:11 +00:00
J.W. Bjerk
973c81207f spiffed up the big volcano a little. 2010-08-06 00:02:51 +00:00
J.W. Bjerk
bb4bd6f9db full support for chasms that blend seamlessly...
...with different colored chasms.  Also a new earth-toned chasm.  Also
much file reorganization amongt the chasms.
2010-08-05 23:14:39 +00:00
Gabriel Morin
4a6e290860 Whiteboard/recall: constructor parameters and private members. 2010-08-05 23:01:11 +00:00
Gabriel Morin
49a24880f3 Whiteboard/recall: changed a parameter name. 2010-08-05 23:01:05 +00:00
Gabriel Morin
19a2d7d187 Whiteboard: change to recall interception code. 2010-08-05 23:01:00 +00:00
Gabriel Morin
e06409a2be Whiteboard: comments. 2010-08-05 23:00:54 +00:00
Richard Kettering
a62acff724 Added the flanker's melee attack animations. 2010-08-05 21:03:16 +00:00
Richard Kettering
f1eab3d232 Added the missing augur animations. 2010-08-05 20:37:56 +00:00
Richard Kettering
5fc0128370 Filled in the missing skirmisher animations. 2010-08-05 20:33:57 +00:00
Guillermo Biset
10abd0ea67 More improvements to ANA's documentation,
...the doxygen generated output looks fairly good.
2010-08-05 19:06:30 +00:00
Guillermo Biset
87e1938367 Doxygen changes for ANA: Fix an image issue...
...and only include in the doxygen documentation the code in
ana/api. Documented the serializer module of ANA and inserted a
method.
2010-08-05 18:24:32 +00:00
Lari Nieminen
3e316125db Removed obsolete macro. 2010-08-05 17:13:40 +00:00
Lari Nieminen
bc54ec0ab5 Fixed a few bugs in the AI controller. 2010-08-05 16:52:48 +00:00
Lari Nieminen
764f0fe4c8 Converted the great horde notes to a single macro...
...using the new [note] tag.
2010-08-05 14:12:20 +00:00
Lari Nieminen
9a64421ba0 Converted {AI_CONTROLLER_NOTE} to use the new [note] tag...
...instead of the note= key.
2010-08-05 14:06:24 +00:00
Jody Northup
9b610bf286 No longer uses get_global_variable prior to side 1 turn 1. 2010-08-05 13:09:30 +00:00
Jody Northup
a8ffb103ce Prevented get_global_variable from occurring...
...before replay synchronization is reliable. Prevented
set_global_variable and clear_global_variable from storing any changes
while watching saved replays.
2010-08-05 13:08:38 +00:00
Lari Nieminen
00255298d5 Added support for a [note] key in [objectives]...
...to make it easier to supply several notes.
2010-08-05 12:37:25 +00:00
Gabriel Morin
c22e0f9c79 Whiteboard: code for recall interception. 2010-08-05 11:23:52 +00:00
Gabriel Morin
20806bbf9d Whiteboard: added skeleton for the recall action. 2010-08-05 11:23:45 +00:00
Timotei Dolean
379c4a222b allow skipping data/core in the '--preprocess' command...
...through define SKIP_CORE
2010-08-05 11:23:26 +00:00
Timotei Dolean
18472f0106 Revert 2010-08-04T16:34:42Z!timotei21@gmail.com 2010-08-05 11:23:11 +00:00
Lari Nieminen
df3a8325b1 Converted carryover notes in UtBS to use the [gold_carryover] tag. 2010-08-05 10:49:05 +00:00
Guillaume Melquiond
7c096e854a Added test for ability getter. 2010-08-05 10:35:52 +00:00
Lari Nieminen
586cbddae1 Converted carryover notes in TSG to use the [gold_carryover] tag. 2010-08-05 10:32:24 +00:00
Guillaume Melquiond
740c69c271 Added getter for active unit abilities. 2010-08-05 10:32:21 +00:00
Lari Nieminen
4989112bb1 Added missing [gold_carryover] bonus=yes attributes. 2010-08-05 10:28:27 +00:00
Lari Nieminen
224cc8e5d9 Converted carryover notes in TRoW to use the [gold_carryover] tag. 2010-08-05 10:25:17 +00:00