}
world->get_level()->load_gfx();
- loadshared();
world->activate_bad_guys();
world->activate_particle_systems();
world->get_level()->free_song();
world->arrays_free();
- unloadshared();
return(0);
}
tux.level_begin();
world->get_level()->free_song();
world->arrays_free();
- unloadshared();
return(0);
} /* if (lives < 0) */
}
world->get_level()->cleanup();
world->get_level()->free_song();
- unloadshared();
world->arrays_free();
return quit;
leveleditor_menu->item[3].kind = MN_GOTO;
le_level = 1;
global_world.arrays_free();
- loadshared();
le_current_level = new Level;
if(le_current_level->load(le_level_subset.name.c_str(), le_level) != 0)
{
leveleditor_menu->item[3].kind = MN_GOTO;
le_level = 1;
global_world.arrays_free();
- loadshared();
le_current_level = new Level;
if(le_current_level->load(le_level_subset.name.c_str(), le_level) != 0)
{
le_current_level->free_gfx();
le_current_level->cleanup();
global_world.arrays_free();
- unloadshared();
}
}
Menu::set_current(leveleditor_menu);
global_world.arrays_free();
le_current_level->load_gfx();
- loadshared();
global_world.activate_bad_guys();
}