summaryrefslogtreecommitdiffhomepage
path: root/Stars45
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-07 23:32:17 +0100
committerAki <please@ignore.pl>2022-03-07 23:32:17 +0100
commita80a4f25fe4f7b235443c87ff840e5e06a41290e (patch)
tree71c6a5f8075b2739727605f42d8d81e29f261bc3 /Stars45
parentd45c12bbbb34c2e4e40d17080d888e2c7a4ea06e (diff)
downloadstarshatter-a80a4f25fe4f7b235443c87ff840e5e06a41290e.zip
starshatter-a80a4f25fe4f7b235443c87ff840e5e06a41290e.tar.gz
starshatter-a80a4f25fe4f7b235443c87ff840e5e06a41290e.tar.bz2
Removed minimum frame length from Game
Diffstat (limited to 'Stars45')
-rw-r--r--Stars45/Game.cpp2
-rw-r--r--Stars45/Game.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp
index 82b20d8..6d91489 100644
--- a/Stars45/Game.cpp
+++ b/Stars45/Game.cpp
@@ -33,7 +33,6 @@ Game* game = 0;
const int VIDEO_FPS = 30;
const double MAX_FRAME_TIME_VIDEO = 1.0 / (double) VIDEO_FPS;
const double MAX_FRAME_TIME_NORMAL = 1.0 / 5.0;
-const double MIN_FRAME_TIME_NORMAL = 1.0 / 60.0;
static LARGE_INTEGER perf_freq;
static LARGE_INTEGER perf_cnt1;
@@ -61,7 +60,6 @@ Game::Game()
frame_number = 0;
max_frame_length = MAX_FRAME_TIME_NORMAL;
- min_frame_length = MIN_FRAME_TIME_NORMAL;
video_settings = new(__FILE__,__LINE__) VideoSettings;
diff --git a/Stars45/Game.h b/Stars45/Game.h
index 694a905..5ce1756 100644
--- a/Stars45/Game.h
+++ b/Stars45/Game.h
@@ -87,9 +87,7 @@ public:
double FrameTime();
double GUITime();
void SetMaxFrameLength(double seconds) { max_frame_length = seconds; }
- void SetMinFrameLength(double seconds) { min_frame_length = seconds; }
double GetMaxFrameLength() { return max_frame_length; }
- double GetMinFrameLength() { return min_frame_length; }
Video* GetVideo();
Color GetScreenColor();
@@ -188,7 +186,6 @@ protected:
DWORD frame_number;
double max_frame_length;
- double min_frame_length;
};
// +--------------------------------------------------------------------+