[Commits] [wesnoth/wesnoth] 264b5b: Improve handling of map generator errors
GitHub
noreply at github.com
Wed Oct 26 19:35:01 UTC 2016
Branch: refs/heads/lua_mapgen_stuff
Home: https://github.com/wesnoth/wesnoth
Commit: 264b5b50d756a61395c2aa7aa6532b468ca0dc7b
https://github.com/wesnoth/wesnoth/commit/264b5b50d756a61395c2aa7aa6532b468ca0dc7b
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M src/game_launcher.cpp
M src/play_controller.cpp
Log Message:
-----------
Improve handling of map generator errors
Commit: 1b31646d6d6efc06aba3f639a9b2e0e0b8454ee8
https://github.com/wesnoth/wesnoth/commit/1b31646d6d6efc06aba3f639a9b2e0e0b8454ee8
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M RELEASE_NOTES
M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
M data/campaigns/Sceptre_of_Fire/scenarios/4_Gathering_Materials.cfg
M data/lua/cave_map_generator.lua
M data/lua/location_set.lua
A data/lua/mapgen_helper.lua
Log Message:
-----------
Refactor Lua cave map generator
This accomplishes two main things:
- Creates a mapgen_helper.lua module containing functions useful for Lua map generators
- Paves the way for allowing the cave generator to produce scenarios and accept user configuration
Commit: 024b4f420059ff1dc370d492a9ef3f54f06b2933
https://github.com/wesnoth/wesnoth/commit/024b4f420059ff1dc370d492a9ef3f54f06b2933
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M data/lua/cave_map_generator.lua
Log Message:
-----------
Lua Cave Mapgen: Support [chamber]chance=
The older cave generator supported it, so the new one should too.
Commit: 7a11df76559c73fd5e2107d66d7362d3fa1ca97a
https://github.com/wesnoth/wesnoth/commit/7a11df76559c73fd5e2107d66d7362d3fa1ca97a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
M data/campaigns/Sceptre_of_Fire/scenarios/4_Gathering_Materials.cfg
M data/lua/cave_map_generator.lua
M data/lua/mapgen_helper.lua
Log Message:
-----------
Lua Cave Mapgen: Support random chance of flipping the map
This has a similar effect to the flipx_chance and flipy_chance in the old
cave generator, except only one flip will be applied.
Commit: 7c9f1a2968fcabe201acc25403675cc3ec69055d
https://github.com/wesnoth/wesnoth/commit/7c9f1a2968fcabe201acc25403675cc3ec69055d
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-10-26 (Wed, 26 Oct 2016)
Changed paths:
M data/lua/cave_map_generator.lua
Log Message:
-----------
Lua Cave Mapgen: Support scenario generation
The syntax is mostly the same as the old cave generator - a [settings]
tag for general scenario data, and an [items] subtag of [chamber] for
chamber-specific data. However, the generator assumes that map locations
(from [item_location]) will be used and thus does not support
same_location_as_previous=yes in moveto events within [items].
Compare: https://github.com/wesnoth/wesnoth/compare/bcddcb6b7790...7c9f1a2968fc
More information about the Commits
mailing list