Thanks Uhrwerk asave.htm is samething that I was looking for.
But I still dont't get it, how do I call game_save and game_load from the same function and plus I have to do that for every lvl.
All game_saves I have to save them under the same STRING* name and number or do I have to save them under different STRING* name and number, same for game_load?
Do I have to call it throughout example:
while(level_load)
{
game_save("main", 1, SV-ALL);
else
game_load("main", 1);
}
I tried calling it as just
game_save("main", 1, SV-ALL); // before exiting level 1
and
game_load("main", 1);// after exiting level 2
that only works for one of the levels but the rest of levels still get reset.