Commit graph

19991 commits

Author SHA1 Message Date
Ignacio R. Morelle
92760fe1e5 wmllint: Ignore id in [trait] for unit id checks 2015-11-06 00:08:49 -03:00
Wedge009
f421d837f7 Properly correct the broken Desert Sands / Oasis help entry (bug #23023)
Reverts the previous change to the terrain.cfg and allows the terrain code to fall back to name if editor name is unavailable.
2015-10-30 00:21:41 +11:00
Wedge009
8365d0e2ee Fixed broken Oasis terrain help entry (bug #23023) 2015-10-27 21:26:32 +11:00
Ignacio R. Morelle
2cd9cfe176 Update credits 2015-10-24 23:02:58 -03:00
Ignacio R. Morelle
cb7b2173aa editor: Make Recent Files limit customizable and increase default to 10 2015-10-09 19:44:26 -03:00
Ignacio R. Morelle
744dd6cd39 editor: Add Recent Files menu with recently loaded/saved files
File paths are recorded into the game preferences up to a (currently
hardcoded) limit of 6 and opening or saving maps adds or bumps existing
entries to the top. We may allow users to change the MRU limit in
Advanced Preferences in a later commit.

Adds two translatable strings.

In order to fit file paths in the menu without filling up the whole
screen sideways, we use only the file names for now. Because identical
file names could prove to be an actual issue later, I intend to look
into ellipsizing paths correctly in a later step.

(Note that I'm piggybacking on the crummy submenu support we already had
in the themable UI so that this can be safely backported to 1.12. It's
decidedly not optimal usability-wise, but it'll have to do for now.)
2015-10-09 19:27:51 -03:00
Charles Dang
cafd94f18d Add missing [ai] block to Drakes (default) faction (bug #23404) 2015-10-01 13:32:03 +11:00
Charles Dang
a175966610 E1 S10: end scenario when research begins if enemies are defeated (bug #23899) 2015-10-01 00:28:31 +11:00
Ignacio R. Morelle
54d542033b Rephrase a bit of unwieldy Lua that causes issues with my text editor 2015-09-07 20:23:19 -03:00
mattsc
f749bbdb0b Micro AI test scenario: fix broken image path 2015-09-02 17:23:57 -07:00
Nils Kneuper
cc304dc41c updated Japanese translation 2015-08-29 10:41:42 +02:00
Ignacio R. Morelle
417b5acff2 Make hanging, chasm stone, and plank bridges conform to naming conventions
Namely, make the long descriptive name be displayed only in the editor,
and use the "Bridge" shorthand in-game instead.
2015-08-25 02:31:35 -03:00
Ignacio R. Morelle
43ddf82e31 Fix hanging, chasm stone, and plank bridge elevations
The N-S hanging bridge variant does not need an elevation shift, and
all diagonal variants of the other two were missing their own.
2015-08-25 02:31:35 -03:00
Charles Dang
8f005bb0d8 DiD S7: apply TC to dummy images 2015-08-25 08:59:10 +11:00
Nils Kneuper
a3f139fa4b updated Latvian credits 2015-08-13 22:49:05 +02:00
Ignacio R. Morelle
6464c6e1b8 Fix WML variable leak in RECRUIT_UNIT_VARIATIONS 2015-08-09 01:52:35 -03:00
Ignacio R. Morelle
20ec8f9893 Add myself to administration 2015-07-30 03:11:13 -03:00
Ignacio R. Morelle
cff164ef78 Update and reorganize Packagers section in the credits
Now the list is split between active and inactive packagers, and we also
list SDK maintainers (aquileia, loonycyborg).

Also restored alphabetical order, fixed comments and names, and added
aquileia, ancestral, mattsc, and vincent_c.
2015-07-30 03:10:46 -03:00
ln-zookeeper
1d5c799f5f Fixed troll sighting filter brokenness on easy 2015-07-11 12:26:06 +03:00
gfgtdf
32862cf1a6 Fix Low Carryover
http://gna.org/bugs/?23674

We don't want to use the units and gold stored in the global variables if we already get them from normal carryover becasue that results in having them twice.
2015-07-03 16:26:10 +02:00
gfgtdf
cea832c8fa Fix LoW scenario12
without {PLAYABLE} those sides have controller=ai (default) and persistent=no (default for controller=ai) which breaks carryover.
2015-07-03 00:05:09 +02:00
gfgtdf
58fb30d5cc Update 11_Battle_of_the_Book.cfg 2015-07-02 01:12:13 +02:00
gfgtdf
0ec72492a3 Fix LoW scenario11 2015-07-01 23:32:39 +02:00
gfgtdf
029c26b1ce Update 10_Cliffs_of_Thoria.cfg 2015-07-01 23:02:22 +02:00
gfgtdf
97e7a86a56 Fix LoW scenario10 2015-07-01 21:52:40 +02:00
gfgtdf
bae8e89e65 Fix LoW scenario14 2015-07-01 18:07:00 +02:00
gfgtdf
02b8f5372e Fixes to LoW scenario3 2015-07-01 18:06:11 +02:00
gfgtdf
c2c405c196 Update 03_Kalian_under_Attack.cfg 2015-07-01 00:17:40 +02:00
gfgtdf
df4fb5c831 Fixes to LoW scenario7 2015-07-01 00:10:26 +02:00
gfgtdf
c2e76919b2 Fix LoW scenario7 2015-07-01 00:04:41 +02:00
Ignacio R. Morelle
436e808528 wmllint: Recognize [background_layer] in [part] 2015-06-27 18:25:45 -03:00
Ignacio R. Morelle
a1e2903c59 wmllint: Quick and dirty hack to recognize [+tags] in [part] 2015-06-27 18:25:24 -03:00
Ignacio R. Morelle
3f74235311 wmliterator: Add function to detect [+tags] 2015-06-27 18:10:12 -03:00
Ignacio R. Morelle
42cd28682d Remove broken Python port of wmlxgettext 2015-06-21 22:43:45 -03:00
Ignacio R. Morelle
d8db51fa94 ANL: Work around recruit lists being overridden by factions (bug #23593)
This only seems to happen when Use Map Settings is enabled. Using
faction_lock in that case forces the "Custom" faction selection, which
offers all possible leaders from all factions and doesn't override the
recruit lists.

faction_from_recruit would limit the faction selection to Loyalists in
1.10, thus ensuring all leaders are Loyalists with Use Map Settings on,
but that doesn't seem to work right now either. It shouldn't matter for
this scenario anyway as long as the recruit lists are the ones defined
here rather than the faction's.
2015-06-12 05:58:30 -03:00
gfgtdf
1b855b92c1 Fixes to LoW scenario6 2015-06-07 00:07:43 +02:00
gfgtdf
e4448490bd LoW fixes 2015-06-07 00:05:44 +02:00
gfgtdf
914a0ac73d Fixes to LoW scenario5 2015-06-06 23:52:50 +02:00
Nils Kneuper
75ab0e03b2 updated Chinese (Simplified) translation 2015-06-06 18:29:26 +02:00
Elvish_Hunter
7339dc9a12 Removed Silver Mage from the Rebels' leaders in Age of Heroes
See bug report at http://forums.wesnoth.org/viewtopic.php?f=4&t=42588
2015-06-04 23:25:46 -03:00
Ignacio R. Morelle
a26de26fdd Use a larger silence.ogg to work around bug #23633
See the bug report for details. See also bug #23599, bug #23202, and
bug #23026.
2015-06-04 22:22:03 -03:00
Ignacio R. Morelle
dab5668e4d gui2/tmp_cmd_wrapper: Regroup mod options into a grid that's hidden by default
This makes it so the grid and its children are only displayed when the
client has mod access to the sever, rather than keeping them visible at
all times and graying them out when not available.
2015-06-01 23:04:03 -03:00
Elvish_Hunter
32fb510a29 wmlindent: backported b6250ff 2015-05-29 11:48:56 +02:00
Charles Dang
e7896f14d7 DM S16: cutscene scenario - do not save replay and give 100% carryover 2015-05-25 12:02:15 +11:00
mattsc
e94a6775ce Lua AI helper functions: modify a comment 2015-05-20 07:12:30 -07:00
mattsc
ae8017d8d2 Lua AIs: fix bug occurring when number= in an attack is set to zero
Apparently, when this is the case, the number key is not included at
all, rather than set to zero, when the Lua table containing the attack
information is retrieved.
2015-05-19 19:54:09 -07:00
mattsc
86b043348c Micro AIs: issue warning if side defined in [micro_ai] tag does not exist
Previously this would cause a whole series of Lua error messages and,
potentially, some code not being executed.
2015-05-19 19:43:23 -07:00
Groggy Dice
86b065fd79 wmliterator: fix unterminated loop in lua-strip
An old add-on triggered a wmliterator crash with this comment:

    #>>>> !!!!! REMOVE THIS AFTER TEST !!!!! <<<<#

The traceback showed that the crash came from the lua-stripping
code, which interprets "<<" as the start of a lua string. But below
it is code to remove quoted strings, and it doesn't crash, even
though there are cases where authors forgot to close a quote.

Two key differences stood out in the otherwise similar second
code: only looking for the endquote string in the text after
beginquote, and testing that endquote was less than 0, not -1.

Changing both gets the loop to terminate. Making it search the
text only after "beginquote+2" means that ">>" will no longer
be found, giving endquote a value of -1. But -1 is not less than
-1, so that must be changed to " < 0" to close the loop.
2015-05-11 02:40:00 -04:00
Charles Dang
8347672d8a Updated the hp bars help image 2015-05-08 18:12:38 +11:00
Charles Dang
67a5a89b40 Updated green cloak item image
http://forums.wesnoth.org/viewtopic.php?p=554997#p554997
2015-05-01 13:47:00 +11:00