06.05.2015, 15:49
I wouldn't use y_ini for this, I would just write in to the file one line for one actor.
Format would be: actorid, x, y, z, angle
Then you can just read it with fread and parse it with sscanf.
Also, why are you using ClearActorAnimations right after creating an actor? That's pointless.
Format would be: actorid, x, y, z, angle
Then you can just read it with fread and parse it with sscanf.
Also, why are you using ClearActorAnimations right after creating an actor? That's pointless.