Commit graph

70547 commits

Author SHA1 Message Date
sigurdfdragon
81ea433117 Macros: Fix typo 2017-10-12 20:26:33 -04:00
Severin Glöckner
6cd5742370 ThoT: Annalists use flails, not morning stars
[ci skip]
2017-10-12 21:09:27 +02:00
Jyrki Vesterinen
37225d24ea Case sensitive file paths on Windows
The intent is to avoid UMC authors accidentally mistyping a file name
and making an addon that doesn't work correctly on GNU/Linux.

Thanks to @Arcanister for suggesting the GetFinalPathNameByHandle function.
2017-10-12 20:46:10 +03:00
galegosimpatico
640ffe42d4 Adjust block indent. 2017-10-12 10:28:32 +03:00
galegosimpatico
45d69970a7 Usability improvement, mouse interaction.
When the game is cluttered with units from any side, the probability
of 'landing' the mouse cursor on top of a unit after activating the
'show [best possible] enemy moves' facility (via mouse) increases
drastically. In that scenario, the slightest mouse move rewinded back
enemy units movements highlight.

After this rev, if the cursor lands on a unit, an object field gets
toggled and it prevents normal single unit movements highlight until
mouse stops hovering units. Then it gets switched back to normal
interaction.

Final form of changes largely credited to review from @CelticMinstrel,
@jyrkive and @Vultraz. Abstraction `mouse_handler::hex_hosts_unit`
devised by @CelticMinstrel. Abstraction `mouse_handler::hovered_hex`
devised by @jyrkive.

src/menu_events.cpp: Disable unit movements highlighting when mouse
landing on unit after activating 'show [best possible] enemy moves'
via mouse.

src/mouse_events.cpp: On mouse_handler construction, normal units
highlighting is allowed. If the mouse is hovering a unit, do not show
unit paths if the toggle for preventing it is active. If the mouse is
not on a unit, disable the toggle.

src/mouse_events.hpp: Add object field that will be responsible to
control prevention of unit paths highlighting when that gets judged
as improper. Add new public function for querying if a given hex is
occupied by a unit. Add new public function for returning the hex the
mouse is hovering, if any.
2017-10-12 10:28:32 +03:00
Charles Dang
ac5592cd10 Post-release version bump 2017-10-12 12:17:53 +11:00
sigurdfdragon
27bd77b655 Update changelogs 2017-10-11 17:34:22 -04:00
sigurdfdragon
6b70f6944c DM: Add myself as the current maintainer 2017-10-11 17:34:22 -04:00
sigurdfdragon
54bc0b2404 DM S23: Lessen 4th wall break and eliminate repetitiveness 2017-10-11 17:34:22 -04:00
sigurdfdragon
c4437a3b62 DM S13: Lessen 4th wall break and remove spoiler 2017-10-11 17:34:22 -04:00
sigurdfdragon
6a0a588b16 DM: Remove outdated files 2017-10-11 17:34:22 -04:00
sigurdfdragon
ac78e731cb DM: Remove unneeded/no longer needed TODO's 2017-10-11 17:34:22 -04:00
sigurdfdragon
b413ca9f59 DM: Fix music not playing in story only scenarios 2017-10-11 17:34:22 -04:00
sigurdfdragon
01af651402 DM: Make important plot/dialog characters unrenamable 2017-10-11 17:34:22 -04:00
sigurdfdragon
75b69b677b DM: Remove unused die event 2017-10-11 17:34:22 -04:00
sigurdfdragon
1b4f79269d DM: Make Ulrek a hero with traits during his appearance
This accomplishes several things:
1. Harmony with HttT plot point with Relgorn.
2. A free Ulrek in S19 allows another recall, helping with a stronger I-M.
3. Slightly strengthens him in S18, to deal with I-M now having a side.
4. Dialog in S19 helps characterization of Delfador.
2017-10-11 17:34:22 -04:00
sigurdfdragon
0bd5cb646f DM S18: Improve portal closing sequence
Remove unneeded facing.
Give player time to see it.
2017-10-11 17:34:22 -04:00
sigurdfdragon
2655241ef0 DM S18: Adjust unit positioning for appearance 2017-10-11 17:34:22 -04:00
sigurdfdragon
b8029c6829 DM S18: Give Iliah-Malal his own side when he arrives 2017-10-11 17:34:22 -04:00
sigurdfdragon
3a32825ade DM S18: Changes to improve story, feel, difficulty & gameplay
Add character macro for Iliah-Malal.
Make Iliah-Malal an Ancient Lich.
Add Iliah-Malal 'heal when killed' motif from S19.
Improve dialog to better convey reason for running away.
Make portal guardian stronger.
2017-10-11 17:34:22 -04:00
sigurdfdragon
0ed86da234 DM S18: Improve look of map for story purposes
Make Iliah-Malal's castle area look like the one in S11, except ruined.
So they are both elven castles. Slight map tweaks in the area as well.

Use human castles for portal guard so closing portal effects look more natural.
Previously it was going from dwarven castle to ruined human castle.
2017-10-11 17:34:22 -04:00
sigurdfdragon
16d3cb0151 DM S18: Clarify initial objectives 2017-10-11 17:34:22 -04:00
sigurdfdragon
2c77846d86 DM S18: Use a more active voice 2017-10-11 17:34:22 -04:00
sigurdfdragon
fe89c6be89 DM S09: Fix issues by rebalancing scenario
Give player control of the ghosts and ghouls as they are found.
Update dialog to match ghosts and ghouls joining Delfador.
Enable gold carryover so player doesn't pointlessly wait till last turn.
Lower turn limit, as board is easier with additional units on player side.
Set start gold to 0, so final carryover is lower. With gold and turn limit
changes, it lessens amount in next scenario, but 300 is still achievable,
which is plenty.

Add cave wall to map around tomb. Otherwise a ghost going through the
secret passage causes an akward triggering of the village warning dialog.
Also makes it harder to get to the staff without using the secret passage.
2017-10-11 17:34:22 -04:00
sigurdfdragon
04667ded05 DM S09: Make secret passage bi-directional and open to all
Only after the player goes through it first.
2017-10-11 17:34:22 -04:00
sigurdfdragon
e8e1692ea7 DM S09: Add intended name for enemy leader 2017-10-11 17:34:22 -04:00
sigurdfdragon
ab5de6317b DM S09: Fix incomplete/missing objectives issues
Add dialog and fixe objectives to ensure that player will hear about
the magical artifact (staff) instead of relying on finding a specifc ghost
in a village. This prevents situations where the player can reach the
signpost without having heard of the staff.
2017-10-11 17:34:22 -04:00
sigurdfdragon
c71d0e2179 DM: Use Cutscene_Minimal where appropriate 2017-10-11 17:34:22 -04:00
sigurdfdragon
92ad6a59fd DM: Use unit macros 2017-10-11 17:34:22 -04:00
sigurdfdragon
5de0df1034 DM S20: Improve Delfador's arrival
He now comes from the edge of the map, and there's no longer a brief
moment where he is not visible after appearing.
2017-10-11 17:34:22 -04:00
sigurdfdragon
8b804341a3 DM S20: Make the generals visible during the opening sequence
So the prince can be seen.
2017-10-11 17:34:22 -04:00
sigurdfdragon
a61fa59dd5 DM: If player has elves in S19, store them at victory 2017-10-11 17:34:22 -04:00
sigurdfdragon
0d2519c981 DM S19: Eliminate gold carryover as next scenario is 26 years later
No real change to difficulty as it was only practical to get above
minimum gold on easy.
2017-10-11 17:34:22 -04:00
sigurdfdragon
af78b1279b DM S19: Reorder objective for emphasis 2017-10-11 17:34:22 -04:00
sigurdfdragon
0783a6ccd2 DM S18: Fix units getting on recall list without being healed 2017-10-11 17:34:22 -04:00
sigurdfdragon
53d83ba872 DM S18: Fix mine image disappearing during use of go here image 2017-10-11 17:34:22 -04:00
sigurdfdragon
36f67bd4ff DM S17: Fix and simplify filter 2017-10-11 17:34:22 -04:00
sigurdfdragon
9dcfe02be7 DM S17: Remove duplicate key already in {ULREK} macro 2017-10-11 17:34:22 -04:00
sigurdfdragon
1ca8cb3770 DM S15: Use the portrait for Zorlan 2017-10-11 17:34:22 -04:00
sigurdfdragon
cd8a79fe12 DM S14: Lift fog on speaking enemy units 2017-10-11 17:34:22 -04:00
sigurdfdragon
77976defba DM S12: Swap burned village moveto exploration effects
It makes more sense for the check for survivors dialog to be in the
first village the player is likely to explore.
2017-10-11 17:34:22 -04:00
sigurdfdragon
9877990c90 DM S12: Give units traits for consistency
As these were the only ones left that end up on the players recall list
without traits.
2017-10-11 17:34:22 -04:00
sigurdfdragon
4ceda6a350 DM S12: Ensure fort Commander is visible during dialog 2017-10-11 17:34:22 -04:00
sigurdfdragon
c23fe8dd7f DM S10: Add unit animation to portal opening 2017-10-11 17:34:22 -04:00
sigurdfdragon
6c84d63795 DM S10: Fix Iliah-Malal not attacking or moving
It looks like this was done in the days when [move_unit_fake] was the
only option, and thus needed to keep the unit in a certain spot for the
animation to work right. With [move_unit], it is no longer needed.
2017-10-11 17:34:22 -04:00
sigurdfdragon
e9742f8dfb DM S08: Fix issue with objectives and improve closing scene
If Ur-Thorodor moves off of keep and Delfador is next to him, scenario
doesn't end, which looks odd. So prevent Ur-Thorodor from moving.

Make end scene look better by moving Delfador to the keep for meditating.
2017-10-11 17:34:22 -04:00
sigurdfdragon
253700e540 DM S07: Specify alternative objective and adjust difficulty
Also fixes dialog refering to 'stones' by ensuring all difficulies have at
least two stones. The addtional stone on easy is added where it can be
easily destroyed right away. A third stone is added on hard.
2017-10-11 17:34:22 -04:00
sigurdfdragon
e6b1fadb70 DM S05: Remove unneeded guardian ai_special 2017-10-11 17:34:22 -04:00
sigurdfdragon
5de1426096 DM S04: Replace elven villages with human ones
Because we are in Wesnoth in this scenario.
2017-10-11 17:34:22 -04:00
sigurdfdragon
81506e7eee DM S03: Specify enemy leader to be defeated
It is done everywhere else in the campaign.
2017-10-11 17:34:22 -04:00