15366 Commits

Author SHA1 Message Date
Mark de Wever
dada2d48e1 merged commit 2006-10-16T01:58:47Z!rusty@rustcorp.com.au from 1.2 2007-02-24 22:27:46 +00:00
Patrick Parker
6f1ba9528f replace message option condition show_always=no with...
...[show_if]condition[/show_if]
2007-02-24 22:20:53 +00:00
Mark de Wever
e7646f7581 merged commit 2006-09-03T05:11:11Z!rusty@rustcorp.com.au from 1.2 2007-02-24 22:08:48 +00:00
Patrick Parker
e6a4ee4035 fix an omission in the lazy evaluation code:
non recall units should be auto-stored inside unit::matches_filter()
2007-02-24 21:02:54 +00:00
Mark de Wever
58afd2bf0c The Elvish Lord and Elvish High Lord have halo's again (patch #683) 2007-02-24 20:28:37 +00:00
Nils Kneuper
62179a50e5 removed translateable string that makes no sense 2007-02-24 20:24:49 +00:00
Mark de Wever
3c199d3d1d created a visibility cache for an unit and cache it in the unit
created a global cache to remember which units have items in their
internal cache the caches are invalidated as soon as an event is
executed

this gives another speedup, the pathfinder cache can probably be
removed in favour of this cache
2007-02-24 20:08:57 +00:00
Martin Renold
0f90b908ad invalidate_all for fog when own unit gets killed during enemy turn 2007-02-24 17:32:31 +00:00
Nils Kneuper
d60c0cbca3 updated German translation 2007-02-24 17:14:03 +00:00
David Philippi
70d9e7e03b danish translation update 2007-02-24 13:31:00 +00:00
Patrick Parker
061c09ec5d fix non-virtual destructor warning 2007-02-24 09:43:51 +00:00
Patrick Parker
31c41edcff use lazy-evaluation to auto-store units 2007-02-24 08:57:38 +00:00
Patrick Parker
b1e102291a make the variables config a private member of game_state
(this is a first step towards lazy evaluation of auto-stored units)

fix error in [store_starting_locations]
2007-02-24 05:02:16 +00:00
Patrick Parker
402c8e4c93 added an int_to_color() utility function 2007-02-24 04:58:31 +00:00
Patrick Parker
70a0145bd1 fix memory leak in config::merge_children
remove unused function detach_children
2007-02-24 04:55:58 +00:00
Mark de Wever
efff6c5c77 the visibility icon of an unit is now properly updated (bug #8107)
Note this causes extra call to the slow invisible state retrieval 
of a unit, I want to look at caching the state later.
2007-02-24 00:51:20 +00:00
Jordà Polo
00a9fba44a Added 'Plural-Forms:' header. 2007-02-23 21:38:05 +00:00
Jordà Polo
4f45a85637 Updated Catalan translation (thanks to Jose Gordillo). 2007-02-23 21:29:00 +00:00
Mark de Wever
5f6a543ae4 [unstore_unit] can now try to level a unit and does so by default (bug #7426) 2007-02-23 20:08:13 +00:00
Mark de Wever
f8b0d3f7ca if a unit gains enough XP to gain 2 levels this will be done directly
NOTE there is a protection against insane XP amount which might cause
a unit to enter an level loop.
2007-02-23 20:02:09 +00:00
Nils Kneuper
87b756c1d7 pot-update 2007-02-23 19:25:17 +00:00
Gunter Labes
9deb824819 corrected and expanded the fog update part and removed the double spaces 2007-02-23 18:31:56 +00:00
J.W. Bjerk
b7f901b9c4 attempting to explain 'delay shroud updates' in the help. 2007-02-23 16:24:58 +00:00
J.W. Bjerk
7b87956f24 moved farm terrain to proper subfolder,
corrected the name of several castle icons, and added new terrains
variants to the help.  Also added a description of 'Submerged
Villages' and altered the 'Illuminated Cave' description to include
more than the cave floor.
2007-02-23 15:28:36 +00:00
Benoît Timbert
02a47c282d Mark the "Mounted Dwarf" translatable 2007-02-22 23:15:37 +00:00
J.W. Bjerk
e9040ee9df 2 newish terrains:
...swamp merfolk village and flowery grassland. Flowers no longer
appear in normal grassland.
2007-02-22 23:10:39 +00:00
Nils Kneuper
9cbb31b5c6 removed the fire and halo from the altar since they make it look too bright,
the fireplace in the prison will stay
2007-02-22 22:30:48 +00:00
Mark de Wever
a563e523b3 changelog for commit #16014 2007-02-22 20:33:34 +00:00
Mark de Wever
19be24b40d avoid halos on items being shown when the shroud is active.
Note the fix is a bit of a kludge so if somebody has a cleaner
solution, please make it so.  Changelog entry will follow, this fixes
bug #8523
2007-02-22 20:31:06 +00:00
J.W. Bjerk
27a8b48159 added illuminated cave hills terrain,
and partially added illuminated mushrooms (commented out because i
couldn't get the terrain-graphics part to work).  Also added swamp
village to the 'village' group.
2007-02-22 18:13:31 +00:00
Mark de Wever
39abbdbb85 removed the keep as starting position 2007-02-22 17:00:54 +00:00
J.W. Bjerk
70a2115a65 changed mountains to use normal hill transitions.
might needs some WML tweaking, but i don't see any glitches.
2007-02-22 16:54:32 +00:00
Nils Kneuper
1b7da9c34c updated map to make movng for loyal units not too painfull 2007-02-22 15:51:01 +00:00
J.W. Bjerk
b45031ad72 Modified cave floor terrain to look a bit rougher
(though less rough than the cave hills) so it actually looks like a
possible impediment to movement.  Further modification will probably
follow.
2007-02-22 15:34:15 +00:00
Nils Kneuper
def61b5826 some more updates to the maps of two brothers
mordante, mog: please have a look at the transition of my cavefloor
terrain, it has "road" in it where i don't want road

other problem: halos are drawn above shroud, should be below...
2007-02-22 13:53:52 +00:00
Nils Kneuper
2bda68162c updated Czech translation 2007-02-22 13:42:27 +00:00
Nils Kneuper
52ded717c9 removed unneded free line 2007-02-22 12:11:38 +00:00
Lari Nieminen
92e46524d1 Minor clean-up. 2007-02-22 11:58:45 +00:00
Benoît Timbert
85f6f249bb Updated french translation 2007-02-22 09:36:15 +00:00
Patrick Parker
4c266e573d updated Wesbowl to use autostored $unit variable
work around strange error that is renaming unnamed unstored units
(it is adding a number to the end of their type string)
2007-02-22 04:28:38 +00:00
Nils Kneuper
5462e14358 pot-update 2007-02-22 02:29:52 +00:00
Nils Kneuper
dd222e6bcd fixed the problems with the gates...
...with a damn dirty trick of inserting an image since the rest did
not want to work.
2007-02-22 01:57:04 +00:00
J.W. Bjerk
15ed3fa610 fixed a stupid mistake with the cave floor. 2007-02-22 01:28:33 +00:00
Nils Kneuper
e4289787f3 updated the map replacing the gates
mog, elezar: please have a look at the {TERRAIN_BASE Xzg1 flat/road}
part since it does not seem to work
2007-02-22 00:53:19 +00:00
J.W. Bjerk
60628b05ff new 'all' button for editor. 2007-02-21 23:24:00 +00:00
J.W. Bjerk
2de907c226 modified tSG maps to use new terrain variants. 2007-02-21 23:06:57 +00:00
J.W. Bjerk
d80b7b1069 additional HttT maps modified to use new terrain variants. 2007-02-21 22:45:53 +00:00
Benoît Timbert
7f10340aa3 Use the faerie fire macro for the HttT aerie fire attacks.
This should also fix the bogus High Lord faerie fire attack.
2007-02-21 21:57:01 +00:00
J.W. Bjerk
74843878f5 rusty iron gate images. 2007-02-21 21:46:21 +00:00
Moritz Göbelbecker
046ff7dd31 Fix sunken ruin/castle transition 2007-02-21 21:43:17 +00:00