Commit Graph

48248 Commits

Author SHA1 Message Date
Ignacio R. Morelle
705ef73b7f gui2/tchat_log: More minor cosmetic changes
* Get rid of a useless column with spacers and the Close button; the
   latter has been moved to the previous column and its horizontal
   alignment changed accordingly.

 * Disable the pages slider when the page count is 1.
2011-12-12 18:31:30 +00:00
Ignacio R. Morelle
8b09ec13e8 gui2/tchat_log: Dialog titles should use Title Case 2011-12-12 18:04:15 +00:00
Ignacio R. Morelle
8d6da5e796 gui2/tchat_log: Set size constraints to match the campaign menu,
...and add standard border size
2011-12-12 18:03:03 +00:00
Ignacio R. Morelle
8601357d78 gui2/tchat_log: Empty strings can't be marked as translatable! 2011-12-12 17:57:39 +00:00
Ignacio R. Morelle
343fa84a27 gui2/tchat_log: Add a colon to a slider label...
...for consistency with other GUI1 and GUI2 dialogs
2011-12-12 17:55:16 +00:00
Ignacio R. Morelle
d8b4073a53 gui2/tchat_log: GUI2 window definition descriptions...
...aren't supposed to be translatable yet
2011-12-12 17:54:33 +00:00
Ignacio R. Morelle
318143242d gui2/tchat_log: Add tooltip/helptip class ids
This removes the following error:

  Invalid WML found: Window builder: parsing resolution tip with empty
  'id' field. Will become mandatory in 1.9.7. (2)
2011-12-12 17:51:49 +00:00
Ignacio R. Morelle
6a55c2d730 gui2/tchat_log: Fix "Invalid key 'maximumvaluelabel='" error 2011-12-12 17:49:31 +00:00
Ignacio R. Morelle
39776fb68e Revert 2010-10-03T04:56:34Z!guillaume.melquiond@gmail.com in order to fix bug #18983 2011-12-12 17:21:28 +00:00
Ignacio R. Morelle
a685bd7440 L::3: make Relana start facing in Baldras' direction 2011-12-12 17:03:32 +00:00
Ali El Gariani
c7ae9699af Remove a misplaced and always true validation
(by construction, see parse_times)
2011-12-12 03:02:07 +00:00
Ali El Gariani
ed2796b5d1 Move code around for better readability. No logic change 2011-12-12 03:02:04 +00:00
Ali El Gariani
62cd03c405 Clean get_time_of_day function names:
get_time_of_day() = global ToD

get_time_of_day(loc) = local ToD using ToD areas

get_illuminated_time_of_day(loc) = local ToD using ToD areas and illumination
2011-12-12 03:02:01 +00:00
Ali El Gariani
da80e7cf0b Make Lua get_time_of_day() handles off-map correctly and consistently
(same way regardless of the illumination parameter, and also as all
the rest of the game does)
2011-12-12 03:01:57 +00:00
Ali El Gariani
0d4ac7d811 Remove never reached code randomly added by the messy 2011-08-06T11:32:19Z!thonsew@yahoo.com.
Because tod_manager is only enabled in game but then game_display
override this.
2011-12-12 03:01:53 +00:00
Steven Panek
e80b3d5d9c Ran umcpropfix. 2011-12-12 01:29:49 +00:00
Alexander van Gessel
36c91b8da7 Forward port 2011-05-11T05:42:15Z!terraninfo@terraninfo.net from 1.8
in chat log window, try to escape some chars which might break pango
markup.
2011-12-12 02:27:31 +01:00
Alexander van Gessel
aec9f21cdb Forward port 2011-05-11T05:42:11Z!terraninfo@terraninfo.net from 1.8
wrap messages in chat log dialog in a scroll label
2011-12-12 02:27:19 +01:00
Alexander van Gessel
a6ede24c02 Forward port 2011-05-11T05:42:07Z!terraninfo@terraninfo.net from 1.8
add borders to chat log dialog to make it look nicer
2011-12-12 02:27:07 +01:00
Alexander van Gessel
1ff3eb7e13 Forward port 2011-05-11T05:42:00Z!terraninfo@terraninfo.net from 1.8
reindent chat_log.cfg and fix a harmless error message in the logs
2011-12-12 02:26:55 +01:00
Alexander van Gessel
cb6e808ff9 Forward port and update 2011-05-02T19:26:31Z!terraninfo@terraninfo.net from 1.8:
fix a TODO with slider in chat_log GUI2 dialog, change per-page count
to 1000, and correctly disable the 'next' and 'previous' buttons when
pages are not available
2011-12-12 02:26:42 +01:00
Alexander van Gessel
509655682e Merge and update 2011-05-02T18:52:36Z!terraninfo@terraninfo.net from 1.8 branch
rework MP chat log as a GUI2 dialog with colored display of messages
2011-12-12 02:26:27 +01:00
Gunter Labes
6338dc7d1b do side init on controller change/side drop if necessary
properly fixes bug #16299

might fix bug #19161
2011-12-11 22:48:19 +00:00
Steven Panek
562bb5c2a3 Updated the British English translation. 2011-12-11 22:41:45 +00:00
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