From 3eabf213ecdffd19e6e1097cadb7accd42bcddaa Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Sun, 14 Mar 2004 19:27:28 +0000 Subject: [PATCH] Made SkipFrames global --- src/include/video.h | 2 ++ src/video/sdl.cpp | 1 - src/video/video.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/video.h b/src/include/video.h index 5c9daaf97..e9bc114f4 100644 --- a/src/include/video.h +++ b/src/include/video.h @@ -142,6 +142,8 @@ extern int VideoSyncSpeed; extern volatile int VideoInterrupts; +extern int SkipFrames; + /// Wanted videomode, fullscreen or windowed. extern char VideoFullScreen; diff --git a/src/video/sdl.cpp b/src/video/sdl.cpp index 0ac132cc3..9878e9624 100644 --- a/src/video/sdl.cpp +++ b/src/video/sdl.cpp @@ -91,7 +91,6 @@ global SDL_Surface* TheScreen; /// Internal screen local int FrameTicks; /// Frame length in ms local int FrameRemainder; /// Frame remainder 0.1 ms local int FrameFraction; /// Frame fractional term -local int SkipFrames; /// Skip this frames /*---------------------------------------------------------------------------- -- Functions diff --git a/src/video/video.cpp b/src/video/video.cpp index 888c2f889..54eea2680 100644 --- a/src/video/video.cpp +++ b/src/video/video.cpp @@ -173,6 +173,7 @@ global SDL_Surface* TheScreen; global int VideoSyncSpeed = 100; /// 0 disable interrupts global volatile int VideoInterrupts; /// be happy, were are quicker +global int SkipFrames; /// Skip this frames global int ColorWaterCycleStart; global int ColorWaterCycleEnd;