16843 Commits

Author SHA1 Message Date
Anonymissimus
91ae18b6d3 required compatibility changes for Lua 5.2 in extension Lua code
Searched all *.lua and *.cfg (embedded lua) files in data/ for occurences
of the deprecated stuff mentioned in

http://www.lua.org/manual/5.2/manual.html#8.2

The currently compiled-in define LUA_COMPAT_ALL appears to work

like so that both the old and the new syntax work at the same time
(without errors or warnings), while the old one will be an error after
removing it.
2012-02-07 18:05:22 +00:00
Ignacio R. Morelle
12acc65263 Remove useless flag_rgb attribute included in FLAG_VARIANT macro
side.flag_rgb isn't read by anything.
2012-02-07 16:47:46 +00:00
Anonymissimus
8d814efa59 Fix an accidental terrain type change.
reported in the forums:
http://forums.wesnoth.org/viewtopic.php?f=15&t=36067&p=520268#p520268
http://forums.wesnoth.org/viewtopic.php?f=4&t=36047&p=520105#p520105

Ported from 1.10.
2012-02-07 00:47:32 +00:00
Steven Panek
b2bb325104 Removed support for the deprecated [removeitem]. 2012-02-07 00:16:29 +00:00
Jérémy Rosen
cbb063f0f8 apply patch #2642 by faab with khalifate removed.
a similar changed needs to be made there when it's added back to mainline
2012-02-06 20:04:35 +00:00
Alexander van Gessel
6eb9efd2fd Revert "Add a warning for empty [remove_item]"
This reverts commit 2012-02-05T16:05:43Z!ai0867@gmail.com.
2012-02-05 23:08:03 +01:00
Alexander van Gessel
86ef26478c Add a warning for empty [remove_item] 2012-02-05 17:05:43 +01:00
Ignacio R. Morelle
499f879d29 gui2/tunit_create: Right-align dialog control buttons 2012-02-04 05:57:47 +00:00
Ignacio R. Morelle
24dbf0b478 gui2/tunit_attack: Use standard margins for the central listbox 2012-02-04 05:57:33 +00:00
Ignacio R. Morelle
87e482b571 gui2/tsimple_item_selector: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 05:57:18 +00:00
Ignacio R. Morelle
d66571f0b8 gui2/tnetwork_transmission: Simplify layout removing an unneeded spacer 2012-02-04 05:57:03 +00:00
Ignacio R. Morelle
5ec456fa80 gui2/tmp_server_list: UI consistency changes
* Added standard margins for the central listbox

 * Right-align dialog control buttons correctly, eliminating the large
   gap between them
2012-02-04 05:56:49 +00:00
Ignacio R. Morelle
c1e2fa3ad1 gui2/tmp_method_selection: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 05:56:34 +00:00
Ignacio R. Morelle
8b159f268c gui2/tmp_login: Use standard margins for the checkbox 2012-02-04 05:56:20 +00:00
Ignacio R. Morelle
45c7a5ffb7 gui2/tmp_host_network_game_prompt: Right-align dialog control buttons 2012-02-04 05:56:05 +00:00
Ignacio R. Morelle
18aecfcb6d gui2/tmp_connect: Lay out dialog control buttons separately...
...and align them to the right
2012-02-04 05:55:50 +00:00
Ignacio R. Morelle
0933f459b3 gui2/tmp_create_game: UI consistency changes
* Use "OK" for the OK button label instead of "Create game" (sic)
 * Right-align dialog control buttons
2012-02-04 05:55:20 +00:00
Ignacio R. Morelle
a8bbd00166 gui2/tlanguage_selection: Some consistency changes
* Replace "Change Language" button label with the shorter "OK"

 * Right-align dialog control buttons correctly
2012-02-04 04:26:24 +00:00
Ignacio R. Morelle
602eec78f4 gui2/tgame_save*: Various consistency changes
* Give the three dialogs a maximum size of 500x600

 * Lay out the dialog control buttons separately from the rest

 * Right-align the dialog control buttons

 * Removed the now unnecessary spacers
2012-02-04 04:20:01 +00:00
Ignacio R. Morelle
28cd33537d gui2/tgame_save_message: We don't really need a placeholder...
...for a label's contents here

In particular, we don't need a single translatable "x" to confuse
translators.
2012-02-04 03:52:30 +00:00
Ignacio R. Morelle
73c3e54de1 gui2/tgame_save: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:46:21 +00:00
Ignacio R. Morelle
d66169f9da gui2/tgame_load: Some UI consistency changes
* Vertically align the dialog to the center, not the top edge of the screen

 * Gave various widgets a standard margin
2012-02-04 03:29:12 +00:00
Ignacio R. Morelle
41eb90818e gui2/tgame_load: Will people ever pay attention to capitalization guidelines? 2012-02-04 03:19:53 +00:00
Ignacio R. Morelle
9809b728fd gui2/tgame_delete: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:19:32 +00:00
Ignacio R. Morelle
867a9e1842 gui2/tfolder_create: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:16:36 +00:00
Ignacio R. Morelle
25ef4fed16 gui2/teditor_set_starting_position: Right-align dialog control...
...buttons correctly
2012-02-04 03:13:57 +00:00
Ignacio R. Morelle
d9a3b6b3f5 gui2/teditor_resize_map: Various UI consistency changes
* Gave the expand/shrink direction box label a trailing colon, and
   removed gratuituous blanks

 * Gave certain widgets a standard margin

 * Right-aligned dialog control buttons

 * Shortened "Resize Map" button label to just "Resize"
2012-02-04 02:51:48 +00:00
Ignacio R. Morelle
583bc109f6 gui2/teditor_generate_map: Right-align dialog control buttons correctly 2012-02-04 02:51:27 +00:00
Ignacio R. Morelle
65188917ae gui2/tcampaign_difficulty: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 02:40:00 +00:00
Ignacio R. Morelle
020a07894a gui2/taddon_connect: Lay out the dialog control buttons independently...
...of the rest of the dialog
2012-02-04 02:38:27 +00:00
Ignacio R. Morelle
9cc53a86bf gui2/taddon_list: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 02:31:55 +00:00
Ignacio R. Morelle
a78f81f465 gui2/taddon_uninstall_list: Right-align dialog control buttons correctly 2012-02-04 02:28:15 +00:00
Ignacio R. Morelle
f730161174 gui2/teditor_new_map: Couple of consistency changes
* Separated button layout so they can be right-aligned independently of
   other widgets in the dialog
 
* Replaced OK button label with a single word
2012-02-04 02:25:24 +00:00
Ignacio R. Morelle
ad401c5cfd gui2/tedit_label: Right-align dialog control buttons,
...give the checkbox a standard margin
2012-02-04 02:19:47 +00:00
Ignacio R. Morelle
c77565ae76 gui2/teditor_settings: Right-align dialog control buttons 2012-02-04 02:19:23 +00:00
Ignacio R. Morelle
55c8f83bf4 gui2/tmessage: Right-align dialog control buttons 2012-02-04 02:18:46 +00:00
Simon Forsyth
fde98f1884 Reduce animation overhead for animated walls 2012-02-03 02:03:00 +00:00
Iurii Chernyi
2bf6a8fa21 Allow save_index.gz to be gzipped. Patch by Oleg Tsarev. Bug #19396 2012-02-02 19:07:20 +00:00
Fabian Müller
154477cee0 Implemented the feature request in bug #10978 2012-02-02 16:55:59 +00:00
Simon Forsyth
c894369e45 Fix mud-swamp transition when small swamp images used 2012-02-02 02:49:52 +00:00
Simon Forsyth
5b21ae2749 Improve ford-swamp/mud transitions 2012-02-02 02:41:29 +00:00
Simon Forsyth
570563ae74 Drop terrain deprecated in 1.9 2012-02-02 01:11:40 +00:00
Simon Forsyth
a833566383 Add fancy new tropical forests by Mephisto again 2012-02-02 01:05:05 +00:00
Elvish_Hunter
94764d066e Added support for new extra_define ENABLE_TROLL_SHAMAN,
...to optionally allow Troll Whelps advancing as Shamans, but not in multiplayer
2012-02-01 09:10:35 +00:00
Elvish_Hunter
1c6a235fe4 Added support for new extra_define ENABLE_WOLF_ADVANCEMENT,
...to optionally allow Wolves advancing to level 2 and 3
2012-02-01 09:03:32 +00:00
Steven Panek
eb9816e657 Killed 'christenings'. 2012-01-31 23:22:18 +00:00
Ignacio R. Morelle
651d4b9bcf gui2/tcampaign_dialog: convert dialog title label to Title Case 2012-01-31 05:33:37 +00:00
Ignacio R. Morelle
334d978c3a gui2/tmp_host_game_prompt: Converted the initial...
...Host Networked Game/wesnothd launch prompt to GUI2
2012-01-31 04:43:34 +00:00
Ignacio R. Morelle
dd0c7e4f18 gui: Use "Do not show again" instead of "Don't show again"...
...or "Don't ask me again!"
2012-01-31 04:17:06 +00:00
Ignacio R. Morelle
7ddba073ee gui2/tgame_delete: Use more standard (i.e. tmessage) geometry specs...
...for the action buttons for now

This aligns the action buttons at the center of the bottom row instead
of aligning them to the right along with some extra padding (!) at the
left.

It isn't clear to me whether this is the most appropriate layout, but
it's used in other standard GUI2 message/prompt dialogs.
2012-01-31 04:16:51 +00:00