24011 Commits

Author SHA1 Message Date
Gregory A Lundberg
3f646cc965 DiD S04 Todo: Add snow
Lifted code from HttT to add snow coverage.
2017-11-29 16:32:44 -06:00
Gregory A Lundberg
128413da5a DiD S02 Fix bug: Swamp only
Use a terrain filter to avoid triggering the Ghouls when ending in forest instead of swamp.
2017-11-29 16:32:44 -06:00
Gregory A Lundberg
a599436ec3 DiD Remove variable artifacts 2017-11-29 16:32:44 -06:00
Gregory A Lundberg
a6fce92585 DiD S02 Cannot undo
The first moveto to 15,11 also causes a capture, which sets some variables and creates some units. So allow_undo has no effect.
2017-11-29 16:32:44 -06:00
Gregory A Lundberg
bdcfe84d6f DiD S01 Fix bug: Allow undo
Be consistent and allow undo on both sign posts.
2017-11-29 16:32:44 -06:00
Jeffrey 'Sigurd' Westcoat
822f98b754 HttT S17: Fix lava issues (#2249)
1. Undo now works again in the scenario.
2. Lava now works again.
3. Triggering on a moveto event was not good, as several shorter moves
   would make rate of lava grow much faster than fewer longer moves.
2017-11-30 00:25:22 +02:00
sigurdfdragon
3213e63efe DM S19: Fix carryover report 2017-11-27 20:15:54 -05:00
sigurdfdragon
4bafb736f0 DM S19: Rebalance scenario for a more exciting battle
1. Increases difficulty
2. Allows player and enemy to field more units
2017-11-27 20:15:54 -05:00
mattsc
b7efaadec4 Protect Unit Micro AI: fix typo/bug in AI aspect change 2017-11-27 06:54:14 -08:00
Jeffrey 'Sigurd' Westcoat
aceabbe018 Macros: Tweak sceptre damage for story reasons (#2220)
Sceptre (15x4) is now stronger than the uncut ruby of fire (14x4) for
regular mainline users Thursagan and Konard II. Level 3 Konrad & Li'sar
in HttT are still exceptional users of the sceptre (18x4 & 16x4).

From discussions with zookeeper in irc.
2017-11-27 13:46:57 +02:00
doofus-01
090810a778
updating Ixthala Demon unit (#2240) 2017-11-25 11:43:49 -08:00
sigurdfdragon
23c23b7a55 WML: Add [show_if] usage in [objectives] subtag [gold_carryover] 2017-11-22 20:27:13 -05:00
sigurdfdragon
64d3aa1ab6 SotA: Fix and improve freeze/thaw unit implementation
Bug was that when a unit was thawed, mouse over in unit sidebar would show
incorrect movement costs (all 1's).

New implementation properly uses {UNREACHABLE} and makes use of the now
available [remove_object] tag.
2017-11-22 17:37:14 -05:00
Charles Dang
976f37c08a Fixed graphical artifacts appearing in Fake Map Border/Off Map terrains with SDL 2.0.6+ (fixes #2061)
[ci skip]

Something was screwy about these image's alpha. Normally when I remove an alpha channel in GIMP,
it shows up white. With these images, it showed up black. Maybe they had an embedded palette or
something, I don't know, but the problem is fixed.

Something must have changed in SDL 2.0.6 that caused this issue to appear. Not sure if anything
needs to be patched in our source code, though (but not likely)
2017-11-21 16:22:12 +11:00
sigurdfdragon
8ba4e33e7a DM S19: Fix dialog 2017-11-18 13:40:49 -05:00
sigurdfdragon
22492fc1b5 DM S19: Have either undead or Delfador be able to kill Iliah-Malal
Previously, there was temptation for players to ditch all of their
undead before leaving the land of the dead scenarios so they had
Delfador instead of the undead able to kill Iliah-Malal.
2017-11-18 13:40:49 -05:00
sigurdfdragon
ac2c6e6e6d DM S08: Use simpler way to keep leader on his keep
He won't attack, but that's not a big deal here.
2017-11-15 20:31:31 -05:00
Alexander van Gessel
ca0b5033f0 Don't break recall/traitless-recruit undo (Fixes #2196) 2017-11-16 00:52:16 +01:00
Jyrki Vesterinen
b0c139c16a Chatbox tabs can no longer shrink vertically 2017-11-15 21:03:44 +02:00
Jyrki Vesterinen
506ee85d2d Revert "GUI2: implemented fixed_width and fixed_height keys for all widgets"
This reverts commit 556331ac3f53f2fd58fd4e137cf86af71d5c064b.

Since the keys aren't working, the implementation shouldn't be in the
Git repository. Otherwise some poor soul will attempt to use them and
face additional work afterwards.
2017-11-15 19:04:47 +02:00
Jyrki Vesterinen
18e208e07c Revert "GUI2: removed GUI_FORCE_WIDGET_SIZE macro in favor of fixed_width/fixed_height keys"
This reverts commit 9f386ed563e84e355130a940be804d13bf5b3d9c.

fixed_width/fixed_height are broken and completely fail to block the
widget from growing.
2017-11-15 19:04:03 +02:00
sigurdfdragon
84e205382f TSG S07b: Prevent Mal M'Brin from leaving his keep
With this, the player should be unable to reach and attack him.
2017-11-15 14:46:15 +02:00
sigurdfdragon
cc38b24c42 TSG S07b: Have undead use encampments instead of castle
Fits the story better.
2017-11-15 14:46:15 +02:00
sigurdfdragon
78d3cb6391 TSG S07b: Fix erroneous dialog 2017-11-15 14:46:15 +02:00
sigurdfdragon
0119f487a8 TSG S07b: Make it explict when the defenses of Westin are strengthened 2017-11-15 14:46:15 +02:00
sigurdfdragon
08ea513130 TSG: Remove redundant title in unit names 2017-11-15 14:46:15 +02:00
sigurdfdragon
431fc60e1b TSG S03: Have elves be on their own side when appearing 2017-11-15 14:46:15 +02:00
ln-zookeeper
34c6fcd0fd Dark Forecast: Fix broken leader/faction/color selection, fixes #2147 2017-11-13 21:09:52 +02:00
sigurdfdragon
b8c90c0fad Fixup 61c33f9
The sergeant's stats are in two places.
2017-11-12 22:35:54 -05:00
josteph
408163e598 AToTB S03: Tweak hint to not assume the AI will make mistakes 2017-11-12 22:31:37 -05:00
doofus-01
70e1447366
more changes to castle to wall layering
further attempt to fix #2190
2017-11-12 17:30:27 -08:00
doofus-01
0857a5a01e
changing castle-wall layering when next to Xos
to address issue #2190
2017-11-12 16:32:27 -08:00
doofus-01
a59965c591 clipping upper tips of diagonal borders to deal with overlap 2017-11-13 10:33:18 +11:00
doofus-01
58ff9c42c8 hack to keep carpets from spilling into castles 2017-11-13 10:33:18 +11:00
doofus-01
e02c4a140d adjust outer edges to avoid borders overlapping interior 2017-11-13 10:33:18 +11:00
Charles Dang
417134a942 EI: further improvements to throne room map
[ci skip]

Carpet, sconces, etc.
2017-11-12 16:00:13 +11:00
sigurdfdragon
61c33f9c4c HttT S19c: Give player a head start on leveling the sergeant 2017-11-12 14:36:40 +11:00
sigurdfdragon
1f77738ef3 HttT S20b: Adjust Saurian gold & income now that there is underground time 2017-11-12 14:36:40 +11:00
sigurdfdragon
28dad5b425 HttT S20b: Fix team name 2017-11-12 14:36:40 +11:00
sigurdfdragon
2fe0ebe48c HttT S20b: Fix punctuation 2017-11-12 14:36:40 +11:00
sigurdfdragon
9629b59d4a HttT S20b: Set time areas for inside and outside of caves
From Alarantalara in the forums:
https://forums.wesnoth.org/viewtopic.php?f=38&t=32861&hilit=underground+channels&start=15#p475971
2017-11-12 14:36:40 +11:00
doofus-01
75a52bd9c6
Three carpet terrains (#2114)
Squash and merge for three carpets terrain PR.

* Initial commit for carpets.  WML, alignment, and demo only, images are unshaded place-holders.

* adding basic shading and better corner images

* completed shading for existing images

* refined large corner carpet rules

* got rid of some commented out leftovers

* initial commit for cave rug, Iwd

* regular carpet files, incomplete for now

* completed regular rug

* changed cave-rug underlayer to cave path instead of dark flagstones, and changed all rug terrain codes

* fixing some transition WML filtering for Urc (cave carpet)
2017-11-11 18:15:22 -08:00
gfgtdf
fcf8272abf
fix bug in feeding code
wesnoth.current.event_context might not contain all information if the die event was triggered by wml ([fire_event]), this made wesnoth.get_unit error (invalid argument)
2017-11-11 13:50:35 +01:00
Charles Dang
9f386ed563 GUI2: removed GUI_FORCE_WIDGET_SIZE macro in favor of fixed_width/fixed_height keys
[ci skip]
2017-11-11 23:12:14 +11:00
Charles Dang
556331ac3f GUI2: implemented fixed_width and fixed_height keys for all widgets
This is meant to be a cleaner replacement to the [size_lock] widget. Both keys are optional,
in which case the layout engine will assume dynamic sizing for that dimension. Dynamic sizing
will also occur if either the fixed with or height evaluates to 0 or less.
2017-11-11 23:11:24 +11:00
ln-zookeeper
ec388ebe55 UtBS S06a: Remove mention of use of poison not usually being tolerated 2017-11-10 13:23:56 +02:00
Charles Dang
457d42f200 Removed unused sort_list and iconize_list MP preferences
These have no effect in the GUI2 lobby, nor do I intend to make use of them (plus the lobby has
its own sort controls anyway). I'm assuming they were for the GUI1 lobby.
2017-11-10 14:31:55 +11:00
Charles Dang
71b32cec16 Lobby Main: tweak player list entry borders
[ci skip]

No wonder this list looked messy. The labels didn't have full borders!
2017-11-10 13:05:29 +11:00
mattsc
3b2077fdc3 Fast Micro AI ai_helper functions: fix rarely occurring bug
When the AI moves a unit out of the way for another unit’s move, it is
occasionally possible for the former unit to use up all its movement
points (e.g. if it has few MP or on narrow crowded maps). If that unit
is on the list to be moved later during the same sequence, this caused
ai_helper.robust_move_and_attack() to return nil, which then made the
Fast Micro AI produce an error message.
2017-11-08 22:33:24 -08:00
Alexander van Gessel
dc873f4627 Add larger blur testcase 2017-11-06 15:58:22 +11:00