David Philippi
4a2ec062be
danish translation update
2007-06-15 19:16:36 +00:00
Ali El Gariani
5ea108e468
optimization for drawing of floating labels with transparent background
...
(like tooltips) fix the alpha channel when filling the rectangle,
instead of adjusting each pixels after creation
2007-06-15 19:10:01 +00:00
Ali El Gariani
1ac0d31656
use unit overlay as we use bars and crowns:
...
disappear when moving, stay fixed when fighting
2007-06-15 18:48:23 +00:00
Eric S. Raymond
385a00881d
Address a bug reported by two of my test-group users;
...
tutorial was not explicit enough about how to read unit combat stats.
2007-06-15 18:11:05 +00:00
Lari Nieminen
743ff6e339
A few more minor tweaks.
2007-06-15 11:24:40 +00:00
Nils Kneuper
12c8469303
adjusted the images to all be created the same way, way to create them:
...
1) create a new grayscale image in gimp with 100x100 and 72dpi
2) fill the whole with black
3) in layer settings change the opacity to the value wanted
2007-06-15 11:07:42 +00:00
Lari Nieminen
159b7692ec
Off-by-one fixes and some other little tweaks to Closing the Gates.
2007-06-15 11:07:34 +00:00
Nils Kneuper
78ec55f9e8
added quite some more images for transparancy comparison
2007-06-15 10:59:52 +00:00
Ali El Gariani
c34cae2d42
clear the attack direction indicator...
...
...when you do right-click-cancel without moving the mouse
2007-06-15 10:39:28 +00:00
Eric S. Raymond
75f3056f82
Rectify a minor oversight in 2007-06-14T12:29:03Z!esr@thyrsus.com
...
-- failure to add to some deprecated code as needed.
2007-06-15 03:06:08 +00:00
Eric S. Raymond
03297884d1
Add sanity-check production, and a CLEANFILES fix.
2007-06-14 22:36:53 +00:00
Eric S. Raymond
999bc9f943
Fix a wrong fiielname.
2007-06-14 22:09:47 +00:00
Eric S. Raymond
15f631c558
Yet another bit of polishing.
2007-06-14 22:01:36 +00:00
Eric S. Raymond
b18d271fa6
Try a kluge to fix a minor complaint.
2007-06-14 21:44:37 +00:00
Eric S. Raymond
bc242070db
Make sure the right directory test is in place.
2007-06-14 21:21:08 +00:00
Eric S. Raymond
565b25a221
Try to make this secure in the face of interrupts.
...
Not completely possible under Windows, alas.
2007-06-14 20:46:54 +00:00
Eric S. Raymond
ef43328e0c
Fix a typo.
2007-06-14 20:31:12 +00:00
Eric S. Raymond
191f0e1463
Rip out the -i option to prevent style wars.
...
Add rudimentary checks for unbalanced WML.
2007-06-14 20:23:41 +00:00
Ali El Gariani
3d1c61b58f
show resistance of hidden allied units in the damage type tooltip of enemies
2007-06-14 19:58:08 +00:00
Eric S. Raymond
9688592f51
Prototype version of a WML reindenter.
2007-06-14 19:40:49 +00:00
Eric S. Raymond
32f5547ba6
Try to do some more ill-formedness detection in wmllint.
2007-06-14 19:40:10 +00:00
Eric S. Raymond
62f8addbe8
Small refactoring step:
...
consolidate the code for sending end notifications from the server.
2007-06-14 17:24:15 +00:00
Joseph Simmons
7c0d1dd6a6
and convert the old maps (with the correct number of rows) to the new format...
2007-06-14 16:19:56 +00:00
Joseph Simmons
736801cb7c
fixed missing line at the top of some maps in SoF
2007-06-14 16:06:14 +00:00
Eric S. Raymond
6e25c94423
Add a new field to the game state structure: completion,
...
...which may have the values 'running', 'victory', or 'defeat'. It is
set by play_game() and check_victory(). It is loaded and saved.
Presently this is not yet used (though I have tested that it is set properly).
So there are no behavioral changes in the game yet.
What it does is give us a way of setting victory/defeat status that isn't
tied to throwing an end-of-scenario exception. This is a first step to
allowing observer-like game browsing after victory/defeat notification,
with the user choosing to throw end-of-scenario after that.
Doing this required passing a game-state reference into two classes
that didn't have it before, ai_interface and mouse_handler.
2007-06-14 12:29:03 +00:00
Eric S. Raymond
df6be5bf47
Added a production for making Emacs tags.
2007-06-14 09:10:35 +00:00
Lari Nieminen
cc231e539e
Fixed the rod of justice.
2007-06-14 09:06:22 +00:00
Eric S. Raymond
aa8d530622
Another attempt at fulfilling Ivanovic's FR #9154 .
2007-06-14 05:28:15 +00:00
Lari Nieminen
f5ec2e8304
Fixed the bandit leader getting spawned for side 1.
2007-06-14 04:24:49 +00:00
Eric S. Raymond
573d5d6330
Make it possible to stifle wmllint when appropriate, and document how to do it.
2007-06-14 02:35:06 +00:00
Eric S. Raymond
42ccb34324
Stack- and attribute-checking is complete.
2007-06-14 02:04:56 +00:00
Benoît Timbert
ffc8a8e220
Changed the logic for the healthy trait to make the trait more useful.
...
Now "Healthy" no longer bring a double resting bonus, but instead
means that the unit can still rest after a movement.
2007-06-14 00:34:53 +00:00
Eric S. Raymond
9d8c51ba2e
Add more of an offset for dialogs from the top bar
...
(suggestion from freim and zookeeper). Also, make the offset a
symbolic constant so it's easier to modify next time.
2007-06-13 22:38:04 +00:00
Nils Kneuper
c89a0b2bc4
adding various transparancy levels for ingame dialogs
...
atm renaming to translucent-background.png is needed to make them work
2007-06-13 20:26:39 +00:00
Eric S. Raymond
558813e89f
Clean up some macros in UtBS, improve the wmllint stack checker.
2007-06-13 18:41:31 +00:00
Nobuhito Okada
fd504ee721
updated Japanese translation
2007-06-13 16:22:09 +00:00
Lari Nieminen
5038afbff6
An idle animation for the elvish fighter.
2007-06-13 15:45:44 +00:00
Mark de Wever
df5b1f0ca9
fixes a gcc-3.3 specific problem...
...
...the same as in 2007-06-09T09:16:19Z!koraq@xs4all.nl, discovered by uso
2007-06-13 15:43:32 +00:00
Mark de Wever
f7f98e883f
fixes a comment typo
2007-06-13 15:30:33 +00:00
Eric S. Raymond
6b6e384a46
Refactor the macros in this scenario...
...
...so the expansions are syntactically balanced. This makes them
easier to read for humans and avoids spurious error messages from
wmllint.
2007-06-13 10:32:37 +00:00
Eric S. Raymond
1cbf42855a
First version of tag stack checking.
2007-06-13 10:08:50 +00:00
Lari Nieminen
cf0f95df44
Simplified how the WC variations are invoked.
2007-06-13 09:31:24 +00:00
Eric S. Raymond
946203ac8f
Small refactoring step; hide the guts of what the display code uses...
...
...for announcements.
2007-06-13 08:46:18 +00:00
Ali El Gariani
505e760245
commit message of 2007-06-13T07:59:48Z!alinkmaze@gmail.com was inaccurate...
...
...but gives the good idea:
now allow search of your hidden units AND allied hidden units.
2007-06-13 08:21:40 +00:00
Ali El Gariani
05e271f200
2007-06-12T21:29:04Z!alinkmaze@gmail.com was incomplete,
...
...only commited the optimization.
So now also commit the fix for bug #9314 (Search by name shows hidden
units)
The good thing is that now I spotted a little error in my previous
version of the bugfix (search didn't show allied hidden units)
2007-06-13 07:59:48 +00:00
Richard Kettering
b285700603
Updated 'cave' village tiles into troll dens.
2007-06-13 05:06:41 +00:00
Richard Kettering
a776e0085c
New village tile for humans.
2007-06-13 03:47:37 +00:00
Lari Nieminen
6f9b0eba29
Added the macro for spawning WC variations.
2007-06-12 22:12:36 +00:00
Gunter Labes
0c978538b9
added some more monsters
2007-06-12 21:43:14 +00:00
Ali El Gariani
217f7ab5f9
Fix bug #9314 : Search by name shows hidden units
...
Optimize a little by skipping earlier fogged/shrouded hex
2007-06-12 21:29:04 +00:00