Commit Graph

17330 Commits

Author SHA1 Message Date
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
Ali El Gariani
c45516d1a0 Searching or modify worked only for team-only map label. Now works for all labels 2007-06-12 21:14:26 +00:00
John W. C. McNabb
eff542e7e6 empty user_team_name remains empty (bug 9310). 2007-06-12 16:54:21 +00:00
Ali El Gariani
4965604ee9 improvement of a small "bug" in the fix of bug #9119.
If all *your* woses are hidden, tooltips of the enemies weapons didn't
show damage against woses

It can be see as a feature to confirm that all your woses are hidden,
but this info seems easier to get and less usefull than the woses
resistance.  So now continue to hide resistance of hidden enemies
units but show yours
2007-06-12 16:27:28 +00:00
Ali El Gariani
1d2bf59c2b in my last commit about invisibility test,
shrouded implies fogged, so just check fogged
2007-06-12 14:56:49 +00:00
Ali El Gariani
e140c7e9e6 Fix the automatically closing dialog bug 2007-06-12 12:40:25 +00:00
Ali El Gariani
7c2ea9487c Fix bug #9119 (Resistance info popup informs about hidden units) 2007-06-12 11:25:53 +00:00
Ali El Gariani
d8f4ad34cd Fix an other cheat using hidden icon in sidebar:
Woses can detect forest under shroud.
2007-06-12 10:48:21 +00:00
Ali El Gariani
0d9c9d9fbc Use the new parameter see_all of unit::invisible...
...to fix cheats spotted in bug #9288 :

detection of hidden enemies by using the hidden possibility displayed
in sidebar "hidden enemies" here means invisible, shrouded or fogged
2007-06-12 10:35:37 +00:00
Ali El Gariani
a801aff86e Add a bool "see_all" to unit::invisible().
The main use is to help fixing cheats spotted in bug #9288 But there
is some tricky problem here. For checking if we can be invisible at a
location, we check if we see visible enemies in adjacent tiles, so we
check if they are invisible there etc... 

 Also skip the invisible_cache in the new particular case, since
currently caching this will only helps repetitive mouse movements
after selecting a unit with invisible abilities
2007-06-12 10:31:00 +00:00
Patrick Parker
c610b1e013 the skip_messages feature should work again for WML event messages
move the special-case handling of ESCAPE_DIALOG out of the parent class
2007-06-12 01:32:13 +00:00
Eric S. Raymond
4d53bec8d9 Beef up the sanity-check production for campaign data. 2007-06-11 22:21:12 +00:00
Eric S. Raymond
7c34c85c34 Two more popup conversions. 2007-06-11 20:17:34 +00:00
Eric S. Raymond
c9656c5e1a Eric learns that he has to be sure --enable-editor is on when test-building. 2007-06-11 18:43:14 +00:00
Eric S. Raymond
9f8b5d246c Fix a typoed option decscription. 2007-06-11 18:22:42 +00:00
David Philippi
7a75602595 spanish translation update 2007-06-11 08:54:01 +00:00
Eric S. Raymond
3c04fcb577 Convert some more OK_ONLY windows to new-style transient popups. 2007-06-11 08:37:02 +00:00
Patrick Parker
b76a3fe4d6 prevent spurious "0 enemies sighted" message
make the fake bandit move across land instead of water
2007-06-11 03:34:15 +00:00
Patrick Parker
c2c4ceeae4 Prevent the Bandit leader from moving so his sighted event will fire correctly 2007-06-11 03:06:26 +00:00
Patrick Parker
e4e1b2fcaf fix bug #9299: Minor preferences dialog layout request 2007-06-11 00:58:02 +00:00
Patrick Parker
8d89088fa0 fix most of the complaints in bug #9309: 1.3.3 Statistics dialog usability 2007-06-11 00:03:18 +00:00
Benoît Timbert
e1f0fd9c2e Fix the healthy trait comment 2007-06-10 23:27:20 +00:00
J.W. Bjerk
a31f8421cb modified attack direction indicators.
Not necessarily the final word on the subject, but they show up
against snow terrain.
2007-06-10 18:38:22 +00:00
Ali El Gariani
7615ede817 Add a new automatic WML-define "TINY" when using tiny-gui.
The main use will be to help to move/add some hard-coded values to
game_config (where we can't use the c++ #ifdef USE_TINY_GUI).

I also hope that it will allow some finer tuning about images which
looks bad/useless in tiny_gui.

I also boosted the limit of number of WML define from 4 to 5 (which
seems used only for the cache's name)

But the maximum was hit only when using MEDIUM+NORMAL+APPLE+PYTHON+TINY
2007-06-10 15:50:28 +00:00
Ali El Gariani
0943b39b79 The "sunset" command is a movement detector...
...and so can be used to cheat by spying moves of invisible units.

Hopefully, these units seems to causes very rare invalidated hexes,
but hard to verify all the cases.

So now allow to use this command only in debug mode.
2007-06-10 15:28:34 +00:00
Lari Nieminen
83dcb8ffb6 Updated changelog with some new animations. 2007-06-10 13:04:39 +00:00
Nobuhito Okada
509cb60db0 updated Japanese translation 2007-06-10 12:53:44 +00:00
Ali El Gariani
eb9d6c26db Activate the use of game_config::defense_color_scale...
...for coloring the movement hint
2007-06-10 12:15:41 +00:00