mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-10 16:19:59 +00:00
Added support for world maps in mods.
Mods with a <Properties hasWorldMap="1"> tag in their XML definition can now open a native world map like the original game. Fixed an oversight that the world map visited area was updated while the editor was open; fixed worldmap.txt saving; removed the limitation that world map tiles had to be 256x256 - all tile sizes work now. Improved the builtin worldmap editor a little. The game does now read _mods/#/data/stringbank.txt from a mod and merges it with the main stringbank.txt, and uses _mods/#/data/worldmap.txt as a full replacement. Load _mods/#/[map|premap]_mapname.lua scripts to properly initialize the Naija map token.
This commit is contained in:
parent
d4282221fc
commit
b0d9fdc1cc
9 changed files with 169 additions and 80 deletions
|
@ -3203,12 +3203,12 @@ void Continuity::reset()
|
|||
|
||||
loadTreasureData();
|
||||
|
||||
stringBank.load("data/stringbank.txt");
|
||||
stringBank.load();
|
||||
|
||||
gems.clear();
|
||||
beacons.clear();
|
||||
|
||||
worldMap.load("data/worldmap.txt");
|
||||
worldMap.load();
|
||||
|
||||
ingredients.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue