Commit Graph

48269 Commits

Author SHA1 Message Date
Steven Panek
c023cd71af If Li'sar is selected in the tutorial,
...change the current_player attribute to suit her. Fixes bug #19188.
2011-12-16 04:08:22 +00:00
Steven Panek
8eaa9c2ec6 Made it so that [modify_side] is able to change...
...the current_player attribute; made the Lua stuff return the
attribute in the form of t_strings.
2011-12-16 04:06:47 +00:00
Ali El Gariani
62d2e838c6 Optimize ToD update by skipping an useless step in lightmap application 2011-12-16 03:39:04 +00:00
Ali El Gariani
1e12b3b999 Remove internal image path function ~L() which applied lightmap.
Not used anymore by the ToD engine. I hesitated to let it live there
but just realised that it requires lightmap having same width as the
image, which makes it too limited.
2011-12-16 03:38:59 +00:00
Anonymissimus
c3e5ea2068 changelog update 2011-12-16 01:30:47 +00:00
Anonymissimus
84daf26ecf add lua getter and setter for [side]current_player 2011-12-16 01:24:54 +00:00
Ali El Gariani
a97f15e7c9 Optimize framerate and memory for complex ToD areas
(perf cost is now minimal)

Manipulate light info in a small binary format with a dedicated cache
instead of abusing image path functions for every terrain images.
This is much faster and fix any risks of growing image cache when
overusing ToD effects.
2011-12-15 21:42:00 +00:00
Nils Kneuper
91a4c37692 updated Galician and Lithuanian translation 2011-12-15 21:04:44 +00:00
Nils Kneuper
f2c86fb879 pot-update (with string changes, cf wesnoth-i18n ml post)
regenerated doc files
2011-12-15 09:48:20 +00:00
Ignacio R. Morelle
ec8ea584ca Make the Water Lilies terrain descriptions visible only in the editor 2011-12-15 02:52:15 +00:00
Ignacio R. Morelle
3994be5e84 Fix inaccuracy in the description of the APPEND_MUSIC macro 2011-12-14 22:13:15 +00:00
Anonymissimus
58bb1c6380 fix a copy paste error in 2011-12-10T15:37:06Z!koraq@xs4all.nl
This showed wrong error messages for me.
2011-12-14 14:50:57 +00:00
Anonymissimus
14de8db5da testwise enable --std=c++0x in CodeBlocks
Works for me after mordante's fix.
2011-12-14 14:50:39 +00:00
Elvish_Hunter
332072a5ff SotBE: fixed a sighted event in The Desert of Death 2011-12-14 14:17:32 +00:00
Elvish_Hunter
aaa35d30a0 SoF: fixed a sighted event in Caverns of Flame 2011-12-14 14:14:36 +00:00
Elvish_Hunter
c4fa1d7aa7 EI: fixed a sighted event in Captured 2011-12-14 14:10:38 +00:00
Simon Forsyth
a73918715f Improve appearance of rough cave wall 2011-12-14 00:07:04 +00:00
Ignacio R. Morelle
98913c2e52 gui2/tchat_log: Remove redundant widget border 2011-12-13 23:01:10 +00:00
Ignacio R. Morelle
e2ca683549 Remove useless "Note:" prefix in a translatable string...
...in tutorial scenario 1, fixes bug #18969
2011-12-13 22:44:48 +00:00
Steven Panek
b3b83f9780 Made the strings in TURNS_OVER_ADVANTAGE translatable. 2011-12-13 21:38:58 +00:00
Nils Kneuper
08336216dd updated German and Korean translation 2011-12-13 10:52:41 +00:00
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