1
0
Fork 0
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 missing field in worldmap.txt saving.
Removed the limitation that world map tiles had to be 256x256 -
all tile sizes work now.

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.

Improved the builtin worldmap editor a little.
This commit is contained in:
fgenesis 2011-11-20 17:16:48 +01:00
parent e7c8b0093b
commit b250d4c1bd
9 changed files with 155 additions and 66 deletions

View file

@ -3207,12 +3207,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();