Save and restore hero tracks

The tracks left by hero were cleared when player saved and
restored the game, or changed levels.  Now the tracks are
saved in the dungeon level, so changing levels keeps the tracks
left by hero in that level.

Also increased the length of tracks from 50 to 100, and
simplify the tracking function.

Thing not done: fade out old tracks when returning to a level.

Breaks saves and bones.
This commit is contained in:
Pasi Kallinen
2023-12-04 17:44:51 +02:00
parent 2713853f28
commit d8421aa219
9 changed files with 51 additions and 17 deletions

View File

@@ -1311,6 +1311,7 @@ if a monster fled from hero by intentionally jumping into a vault teleporter,
but the spot would remain a secret corridor and not become accessible
spellbooks weight 50 units but Book of the Dead only 20, and novels only 1;
the Book of the Dead has been changed to 50 and novels to 10
save and restore hero tracks, increase track length
Fixes to 3.7.0-x General Problems Exposed Via git Repository