	while (TRUE)
	{
		long next_surface_index;
