Hi Folks, I am trying to restart the game upon completing a level, I was wonder what are the things like entites that needs to be reset?

like for entity there is the following is there something like this for panel?
Code:
you = ent_next(NULL);

while(you)
{
	ENTITY* temp = you;
	you = ent_next(you);
	ent_remove(temp);
}



Thanks!