diff options
author | Aki <please@ignore.pl> | 2022-04-03 20:33:07 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-03 20:34:15 +0200 |
commit | 0703d8f36d02a4b87a8898cc847dc0d4da7bb27f (patch) | |
tree | ff04769d84ce6e042e3d0d808a6f0444e755f8c0 /StarsEx/Game.cpp | |
parent | 029213d28484dbc4d3f874a88ce4e7b13d68b373 (diff) | |
download | starshatter-0703d8f36d02a4b87a8898cc847dc0d4da7bb27f.zip starshatter-0703d8f36d02a4b87a8898cc847dc0d4da7bb27f.tar.gz starshatter-0703d8f36d02a4b87a8898cc847dc0d4da7bb27f.tar.bz2 |
Moved video and sound related members to GameWinDX9
Diffstat (limited to 'StarsEx/Game.cpp')
-rw-r--r-- | StarsEx/Game.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp index 6cf7321..d4de97c 100644 --- a/StarsEx/Game.cpp +++ b/StarsEx/Game.cpp @@ -31,10 +31,10 @@ const double MAX_FRAME_TIME_NORMAL = 1.0 / 5.0; // +--------------------------------------------------------------------+ -Game::Game() - : world(0), video_factory(0), video(0), video_settings(0), soundcard(0), - screen(0), - status(Game::OK), exit_code(0) +Game::Game() : + world(0), + status(Game::OK), + exit_code(0) { Clock::Init(); if (!game) { @@ -47,8 +47,6 @@ Game::Game() frame_number = 0; max_frame_length = MAX_FRAME_TIME_NORMAL; - - video_settings = new VideoSettings; } else status = TOO_MANY; @@ -62,11 +60,6 @@ Game::~Game() Clock::Close(); delete world; - delete screen; - delete video_factory; - delete video; - delete soundcard; - delete video_settings; } // +--------------------------------------------------------------------+ |