Commit Graph

21345 Commits

Author SHA1 Message Date
Karol Nowak
a801497d8e Add a configure switch to enable building of unit tests. 2007-12-20 22:36:53 +00:00
Karol Nowak
436a3c8655 Start experimenting with Boost's Unit Test Framework. 2007-12-20 22:35:32 +00:00
Benoît Timbert
313353cbf3 French translation update 2007-12-20 22:14:19 +00:00
Gunter Labes
eb396e75cd add a comment 2007-12-20 21:52:48 +00:00
Gunter Labes
047da50f38 use a list for the standard message receiving sound 2007-12-20 21:49:12 +00:00
Nils Kneuper
c236bd83b7 pot-update 2007-12-20 21:46:27 +00:00
Gunter Labes
5538759eb5 don't send empty scenario_diffs 2007-12-20 21:37:52 +00:00
Nils Kneuper
8595056de8 updated Danish manual 2007-12-20 21:35:03 +00:00
Gunter Labes
005bdf1e96 sanitize the [relationship] handling
add handling for some more different chat message sounds
2007-12-20 21:15:19 +00:00
Ali El Gariani
3e0d9927a7 Display a icon into the movement hint where the unit can hide
(to replace the old sidebar use). Maybe later allow [hides] wml
ability to choose the icon.
2007-12-20 21:14:12 +00:00
Gunter Labes
e53670fc74 avoid inserting empty attributes 2007-12-20 21:07:52 +00:00
Ali El Gariani
ccb23fd064 Fix glitches with the unit sidebar status icons (invisible, slowed, poisoned..)
- mouseover on an unit displayed its info in the sidebar but the
status icons disappeared when the mouse leaved the unit.

- stop using the invisible icon about the hex under the mouse (was not
obvious that it was not the current status, see bug #9288, and broke
tooltip use)

PS: I will commit later a new visual clue to replace this mouseover feature.
2007-12-20 21:07:16 +00:00
Gunter Labes
824ad1e729 change the standard message receiving sound
and add some more for highlighting, etc.
2007-12-20 20:52:37 +00:00
Gunter Labes
46b751b2fd small improvement 2007-12-20 19:59:14 +00:00
Gunter Labes
7bc5ae0933 add a little const 2007-12-20 19:56:41 +00:00
Nils Kneuper
170c33654e seperate 'Special Notes:' from the units into a macro on its own (patch #889) 2007-12-20 19:23:12 +00:00
Elias Pschernig
6a7b08b6fc Sehr leicht -> Sehr einfach 2007-12-20 18:33:40 +00:00
Elias Pschernig
99e3a18789 -fuzzy 2007-12-20 18:31:47 +00:00
Mark de Wever
36a56d7e58 Remove an unused duplicate function. 2007-12-20 16:21:04 +00:00
Nils Kneuper
69b4be8cd4 updated Czech and Polish translation 2007-12-20 16:02:49 +00:00
Ignacio R. Morelle
ef647f8f48 New single-bladed axe item pickup graphic by Syntax_Error 2007-12-20 15:02:30 +00:00
Ignacio R. Morelle
5e5b57e2a6 New flamesword item pickup graphic by Syntax_Error 2007-12-20 15:01:56 +00:00
Ignacio R. Morelle
f4f46a8ac9 New elven bow pick-up graphic by Syntax_Error 2007-12-20 15:01:26 +00:00
Ali El Gariani
44ef7ee59b Stop abusing the meaning of "1 turn to reach" to give ZoC anc capture info.
(was inconsistent with other numbers and all moves need "1 turn")

Instead, use "1" only for multiple turns moves and introduce little
icons at the same place to show ZoC and capture end-of-move.

As always, these images are working placeholders (but not too ugly, I
think) Note that icons and numbers must stay visible when mixed (but
it's rare)
2007-12-20 13:36:58 +00:00
Gunter Labes
7e220b6d6d add a log message 2007-12-20 13:14:39 +00:00
Lari Nieminen
537ebff997 Experimental new chat sounds. 2007-12-20 12:37:47 +00:00
Lari Nieminen
ace0c4dd98 Applied proper contrast to the fire dragon. 2007-12-20 09:51:23 +00:00
Eric S. Raymond
ae04446785 Reindent code and create a death event for Dulcatulos. 2007-12-20 04:46:51 +00:00
Jérémy Rosen
5a54d031f7 port movement anim to the new framework.
* if animations are jumpy, this should be the first suspect

* slowing down on hard to cross tiles has been removed as discussed on
  IRC

* i'm not satisfied with that completely yet, expect some more work
  here...
2007-12-19 23:23:33 +00:00
Gunter Labes
0fdf3c8cdb oops, do not return early when the disconnect succeeded.. 2007-12-19 23:20:30 +00:00
Taurus
d85f983815 THoT - Underlevels Balancing 2007-12-19 23:14:10 +00:00
Gunter Labes
b63cbfd1ea force disconnects on server shut down 2007-12-19 23:12:54 +00:00
Taurus
fb4cc0c212 THoT - Underlevels, new event 2007-12-19 08:19:41 +00:00
Taurus
b2cb561bbb More Broken WML Fixing 2007-12-19 04:16:44 +00:00
Dimitar Ilccov
e8e89ed581 Fixed an error in a dialog message in HttT's 13_The_Dwarven_Doors.cfg 2007-12-18 19:32:18 +00:00
Nils Kneuper
ad74e78e41 updated Chinese translation 2007-12-18 19:02:50 +00:00
Ali El Gariani
cbb841d226 Give a WML topic to the Units section, so we can easily add text there.
And allow dynamic contents generator to also list links to child sections
2007-12-18 14:23:25 +00:00
Ali El Gariani
ebcbdacd70 Remove the obsolete tome_title game_config key,
since attributions are now defined directly in each tips of the day.
2007-12-18 13:49:39 +00:00
Ali El Gariani
beacf600b8 Add a "encountered_units" key to filter tips-of-the-days.
This meet a frequent FR for displaying only simple tips for beginners
and later show more advanced ones. The key accept number (at least N
units) and list of id (at least one of them) and you can mix it
("Troll,30"), using a OR base.

This allow to show very specific tip (e.g. teleport) only after having
encountered units with this abilities. You can also use
campaign-specific units to detect if already played and so maybe make
reference about it.
2007-12-18 13:30:52 +00:00
David Philippi
3befb13fe5 danish translation update 2007-12-18 12:31:22 +00:00
Taurus
c86b0610c3 Fixed bug #10544 2007-12-18 09:12:37 +00:00
Ali El Gariani
59b3d34bd4 Quickly add of the races list in the contents page of the Units section 2007-12-17 22:45:41 +00:00
Benoît Timbert
79b0e735aa Get rid of an unecessary translatable string ( _"\n\n" ) 2007-12-17 21:36:11 +00:00
Benoît Timbert
faaa337d9b French translation update 2007-12-17 21:28:10 +00:00
Nils Kneuper
687626b6c0 pot-update 2007-12-17 20:18:31 +00:00
Ali El Gariani
c9e457eb44 Kill an old, obsolete and unused function (remove only one footstep) 2007-12-17 18:32:10 +00:00
Ali El Gariani
ec62ad9c4a Add useful info into the "turn to reach" number and clean relative code
The idea is to better show the end-of-turn rules to beginners (or special case)

- Use red color for end of turn caused by ZoC

- Use bracketed number for end of turn caused by village capture

- Remove the old parentheses (a relic from the "all in one line" times)

- Also display turn to reach > 9, we have enough space now

- Don't use "1" just because no MP left (on rough terrains, you can
have only 1 MP left, so be forced to end your turn there and a missing
"1" is misleading) PS: we can also display this by using other clues
(images, etc..), but like this it's stay simple (more info with only
one number)
2007-12-17 18:22:38 +00:00
Lari Nieminen
0eff98ff65 Converted wardrums.wav to .ogg and moved it to core/sounds/ambient/. 2007-12-17 17:56:26 +00:00
Jérémy Rosen
5aba45d829 first go at the new animation API, still a WIP.
No regression expected. if anything changes, please tell me.

Note that:

* Fire and forget doesn't work yet, don't try using it

* I will probably change how mvt anims work as discussed in IRC, but
  that's for a future commit
2007-12-17 17:51:36 +00:00
Nils Kneuper
38bad0370e updated Chinese translation 2007-12-17 16:16:03 +00:00