if (surface_exists(surf1)) surface_free(surf1); if (surface_exists(surf2)) surface_free(surf2); if (surface_exists(surf3)) surface_free(surf3); if (surface_exists(surf4)) surface_free(surf4); if (surface_exists(surf5)) surface_free(surf5); if (surface_exists(surf6)) surface_free(surf6); if (surface_exists(surf1b)) surface_free(surf1b); if (surface_exists(surf2b)) surface_free(surf2b); if (surface_exists(surf3b)) surface_free(surf3b); if (surface_exists(surf4b)) surface_free(surf4b); if (surface_exists(surf5b)) surface_free(surf5b); if (surface_exists(surf6b)) surface_free(surf6b); camera_destroy(view_camera[1]); camera_destroy(view_camera[2]); camera_destroy(view_camera[3]); camera_destroy(view_camera[4]); camera_destroy(view_camera[5]); camera_destroy(view_camera[6]);