Commit Graph

48124 Commits

Author SHA1 Message Date
Ali El Gariani
4d0972b7c4 Use better parameters order for get_time_of_day() 2011-12-11 22:02:42 +00:00
Ali El Gariani
86d535e36e Optimize get_time_of_day()
Split in 2 functions depending if illumination is needed.

This allows to use reference for the common case.
2011-12-11 22:02:39 +00:00
Alexander van Gessel
28a740309d Fix help-links from sidebar for female abilities. (bug #18745) 2011-12-11 21:46:30 +01:00
Alexander van Gessel
7f7d37f60d Dutch translation fixes for problems found by posieve 2011-12-11 18:27:27 +01:00
Ali El Gariani
0d391b6d44 Fix selection under brush in editor.
It disabled selection brightening under the brush, making the brush
more visible but the selection area less clear in some cases. Looking
at the code, it looks like an unwanted result from another change. I
also move the brush layer to the cursor layer.  Make sense and help to
better see the brush to compensate the first change.
2011-12-11 17:23:22 +00:00
Ali El Gariani
98ec7151a2 Fix lingering dead code for brightened hexes.
It was disabled since the new golden hex cursor. Also rename
"semi-brightened" (still used for editor selection) as "brightened"
2011-12-11 17:04:30 +00:00
Alexander van Gessel
b091953eee Add test case for bug #17961 and bug #18686 to test scenario 2011-12-11 16:56:50 +01:00
Ali El Gariani
92dc243aa3 update changelog 2011-12-11 15:54:53 +00:00
Ali El Gariani
8aef7911ce Remove disabled code for ~LOC 2011-12-11 15:47:10 +00:00
Ali El Gariani
71f833a06c Fix hex-cut images in :layers
This remove the need of ~LOC (which was broken some time ago) by using
~CROP~MASK instead.
2011-12-11 15:47:06 +00:00
Nils Kneuper
df233cea55 fix changelogs to only use 80 chars per line 2011-12-11 14:32:59 +00:00
Nils Kneuper
634f74fb9a updated Czech and German translation 2011-12-11 14:31:32 +00:00
Chusslove Illich
02cd58a3a2 Updated translations for Serbian. 2011-12-11 12:18:28 +00:00
Elvish_Hunter
90d723b7ca EI: fixed a typo in Konrad's last breath event 2011-12-11 10:43:52 +00:00
Elvish_Hunter
58c0a8d6d3 EI: fixed sighted event in The Escape Tunnel 2011-12-11 10:40:16 +00:00
Elvish_Hunter
2f2812a076 NR: fixed music playlist in Epilogue 2011-12-11 10:32:42 +00:00
Elvish_Hunter
6a82efa271 NR: fixed Hamel's death as defeat condition in Showdown 2011-12-11 10:27:46 +00:00
Elvish_Hunter
87fed4e30f NR: the two Liches lose the hero overlay if they're leaders in Showdown 2011-12-11 10:25:00 +00:00
Elvish_Hunter
4ac7902808 NR: fixed the fake Gryphon's movement in The Eastern Flank 2011-12-11 10:19:34 +00:00
Elvish_Hunter
c0978f3a0b NR: fixed a couple of minor bugs in Stolen Gold 2011-12-11 10:13:35 +00:00
Elvish_Hunter
7bb4cc424d NR: added expendable leader overlay to Krash and Eryssa 2011-12-11 10:07:34 +00:00
Elvish_Hunter
ed820e4e2a NR: used ON_SIGHTING in Introductions 2011-12-11 10:01:21 +00:00
Elvish_Hunter
8741b8d82e NR: added hero overlay to Ro'Arthian and Ro'Sothian 2011-12-11 09:56:41 +00:00
Elvish_Hunter
b9be7d44b0 NR: fixed sighted events in The Pursuit 2011-12-11 09:51:53 +00:00
Elvish_Hunter
653ee96f69 NR: fixed Dwarves recruitment not being disallowed in Clearing the Mines 2011-12-11 09:41:15 +00:00
Elvish_Hunter
fc7d0d6486 NR: fixed Hamel not having the hero overlay 2011-12-11 09:35:52 +00:00
Elvish_Hunter
98b79bd20f NR: fixed sighted events in Infested Caves 2011-12-11 09:31:38 +00:00
Mark de Wever
6ca1838a92 Initialize all members. 2011-12-11 09:16:14 +00:00
Ali El Gariani
0306759c54 Small optimization of ToD local light and code simplification.
Add a ToD color struct and operators to easily kill some wasteful
~CS(0,0,0) (which were common for some ToD cases)
2011-12-11 01:01:54 +00:00
Gabriel Morin
03f0abb017 Additional checks to see if unit still exists,
...before trying to reset its appearance.  Tentative fix for bug
#19135
2011-12-10 22:54:26 +00:00
Nils Kneuper
b69d94ad6c forgot to empty the RELEASE_NOTES after announcing 1.9.12,
...doing so now (leaving the new stuff from mordante in)
2011-12-10 21:17:11 +00:00
Nils Kneuper
4158eb059c updated French and Polish translation 2011-12-10 21:15:21 +00:00
Gabriel Morin
ac9feb2eaa Changelog entries 2011-12-10 21:10:18 +00:00
Gabriel Morin
53c416b65f Reimplement and enable auto-execution of planned actions at end of turn 2011-12-10 21:10:12 +00:00
Gabriel Morin
af6d3d232b Fix bugs with attacks not completing...
...when executing all planned actions in a multiplayer game.

Other clients were executing it but local client didn't get a chance
to receive the random seed and finish the attack.
2011-12-10 21:10:03 +00:00
Mark de Wever
74c0952055 Update player changelog and release notes.
The last commit (2011-12-10T20:55:57Z!koraq@xs4all.nl), will need some testing on various
screens so mention it in the release notes as well.
2011-12-10 21:06:40 +00:00
Mark de Wever
2ad130f2a0 Shows of big portraits on smaller screens.
The code might need some polishing later on, but seems to work now.
(Fixes bug #17961 and #18686.)
2011-12-10 20:55:57 +00:00
Mark de Wever
b3434d95f9 Make click dismiss work properly.
(Fixes bug #19121).
2011-12-10 18:50:39 +00:00
Mark de Wever
1f43c12c81 Fixed ~BLIT() to access images out of bounds.
This also adds an exception structure for image modifications, at the moment
only used for the ~BLIT() function. (Fixes bug #18832).
2011-12-10 15:37:06 +00:00
Mark de Wever
fb5996d19c Add extra tests in blit_surface.
These tests should prevent invalid memory accesses when the pre
conditions are violated. Done to since bug #18832 shows preconditions
are violated at times.
2011-12-10 15:33:39 +00:00
Ali El Gariani
3dcb910d92 Fix local-ToD transitions for big RGB values (was clamped to +/-128) 2011-12-09 22:42:12 +00:00
Mark de Wever
7bf0d99dd4 Also commit the changelog update... 2011-12-09 19:25:28 +00:00
Mark de Wever
20e58403bc Use a stable sort for sorting campaigns.
Changed upon shadow_master's request.
2011-12-09 19:25:12 +00:00
Mark de Wever
6384943776 Fixes compilation with clang 3.0 in C++11 mode.
The actual problem was in the linking phase. Anonymissimus had a similar
problem in MSVC in C++11 mode, this change might fix that as well.
2011-12-09 19:07:23 +00:00
Gabriel Morin
2c87771745 Revert 2011-11-23T13:40:40Z!gabrielmorin@gmail.com
"Auto-execute remaining whiteboard planned actions at end of turn" for now.

Attacks were executing on remote clients but not locally, because of
the seed callback mechanism no having a chance to trigger.
2011-12-09 08:31:05 +00:00
Anonymissimus
a923a41598 ignore unit_types with empty id= (bug #19133) 2011-12-08 00:43:36 +00:00
Nils Kneuper
a768bc5bad updated Czech translation 2011-12-07 23:30:10 +00:00
Steven Panek
a2c34fc2dd Removed some now-redundant undead_variation= keys. 2011-12-07 20:52:31 +00:00
Steven Panek
c28d6c5845 Prevent the generation of more useless epilogue replay saves. 2011-12-07 14:40:30 +00:00
Steven Panek
6695d6d266 Do not generate replay saves for TSG's epilogues. 2011-12-07 14:33:03 +00:00