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

@@ -17,7 +17,7 @@
* Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files.
*/
#define EDITLEVEL 90
#define EDITLEVEL 91
/*
* Development status possibilities.