[Commits] [wesnoth/wesnoth] ae1958: Tunnels: fix vision not being propagated through t...
GitHub
noreply at github.com
Tue Sep 20 13:52:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: ae19588a37ce901a03ad17cefb6b2664209e7e2d
https://github.com/wesnoth/wesnoth/commit/ae19588a37ce901a03ad17cefb6b2664209e7e2d
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-18 (Sun, 18 Sep 2016)
Changed paths:
M src/pathfind/pathfind.cpp
M src/pathfind/teleport.cpp
M src/pathfind/teleport.hpp
Log Message:
-----------
Tunnels: fix vision not being propagated through tunnels
Commit: f6016500705e4aac15327db1e1a996490bf54427
https://github.com/wesnoth/wesnoth/commit/f6016500705e4aac15327db1e1a996490bf54427
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-18 (Sun, 18 Sep 2016)
Changed paths:
M src/pathfind/teleport.cpp
M src/pathfind/teleport.hpp
Log Message:
-----------
[tunnel] tag: add new optional parameter allow_vision=yes/no
This can be used to choose whether vision is enabled through tunnels.
Defaults to ‘yes’.
Commit: f13123648eea920ac18f3a955a58ae7c0e5d2e5a
https://github.com/wesnoth/wesnoth/commit/f13123648eea920ac18f3a955a58ae7c0e5d2e5a
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-19 (Mon, 19 Sep 2016)
Changed paths:
M src/actions/move.cpp
M src/pathfind/teleport.cpp
Log Message:
-----------
Tunnels: fix issues when exit hex is occupied by invisible unit
This can happen when enemy units are hidden under fog or have the hides
ability. Either way, enemy units always blocks the tunnel.
Invisible allied units may or may not block the tunnel, depending on
the setting of pass_allied_units in the [tunnel] tag. It is therefore
necessary to get and check the full teleport map during a unit’s move
through a teleport, but with see_all=true (while the path finding uses
see_all=false).
This commit fixes the behavior and reinstates the ‘failed teleport’
message.
Commit: aae3b6713261715b6a4672e4487b693b17ff2ea8
https://github.com/wesnoth/wesnoth/commit/aae3b6713261715b6a4672e4487b693b17ff2ea8
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-19 (Mon, 19 Sep 2016)
Changed paths:
M src/pathfind/teleport.cpp
Log Message:
-----------
Fix indenting
Commit: 09248c7deae83673aac4dc8e980cf8824028b6d9
https://github.com/wesnoth/wesnoth/commit/09248c7deae83673aac4dc8e980cf8824028b6d9
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-20 (Tue, 20 Sep 2016)
Changed paths:
M src/actions/move.cpp
M src/pathfind/pathfind.cpp
M src/pathfind/teleport.cpp
M src/pathfind/teleport.hpp
Log Message:
-----------
Merge pull request #790 from wesnoth/fix-tunnel-issues
Tunnels: fix issues with vision
Compare: https://github.com/wesnoth/wesnoth/compare/ad0a9768b903...09248c7deae8
More information about the Commits
mailing list