src/supertux/screen_manager.cpp File Reference

#include "supertux/screen_manager.hpp"
#include "audio/sound_manager.hpp"
#include "control/joystickkeyboardcontroller.hpp"
#include "gui/menu.hpp"
#include "gui/menu_manager.hpp"
#include "scripting/squirrel_util.hpp"
#include "scripting/time_scheduler.hpp"
#include "supertux/constants.hpp"
#include "supertux/console.hpp"
#include "supertux/gameconfig.hpp"
#include "supertux/globals.hpp"
#include "supertux/main.hpp"
#include "supertux/player_status.hpp"
#include "supertux/resources.hpp"
#include "supertux/screen_fade.hpp"
#include "supertux/screen.hpp"
#include "supertux/timer.hpp"
#include "video/drawing_context.hpp"
#include "video/renderer.hpp"

Go to the source code of this file.

Variables

static const Uint32 TICKS_PER_FRAME = (Uint32) (1000.0 / LOGICAL_FPS)
 ticks (as returned from SDL_GetTicks) per frame
static const int MAX_FRAME_SKIP = 2
 don't skip more than every 2nd frame


Variable Documentation

const int MAX_FRAME_SKIP = 2 [static]

don't skip more than every 2nd frame

Definition at line 41 of file screen_manager.cpp.

const Uint32 TICKS_PER_FRAME = (Uint32) (1000.0 / LOGICAL_FPS) [static]

ticks (as returned from SDL_GetTicks) per frame

Definition at line 39 of file screen_manager.cpp.

Referenced by ScreenManager::run().


Generated on Mon Jun 9 03:38:27 2014 for SuperTux by  doxygen 1.5.1