Sector::show_collrects = enable;
}
-void debug_draw_fps(bool enable)
+void debug_show_fps(bool enable)
{
config->show_fps = enable;
}
tux->invincible_timer.start(10000);
}
+void ghost()
+{
+ if (!validate_sector_player()) return;
+ ::Player* tux = Sector::current()->player;
+ tux->set_ghost_mode(true);
+}
+
void mortal()
{
if (!validate_sector_player()) return;
::Player* tux = Sector::current()->player;
tux->invincible_timer.stop();
+ tux->set_ghost_mode(false);
}
void restart()