Mercurial > mm7
comparison Game.cpp @ 2123:de5cdcb03fda
sky for snow
author | Ritor1 |
---|---|
date | Thu, 26 Dec 2013 00:19:49 +0600 |
parents | 5b654c03a11e |
children | 7f403ebf619f |
comparison
equal
deleted
inserted
replaced
2122:5b654c03a11e | 2123:de5cdcb03fda |
---|---|
203 static bool render_framerate = false; | 203 static bool render_framerate = false; |
204 static float framerate = 0.0f; | 204 static float framerate = 0.0f; |
205 static uint frames_this_second = 0; | 205 static uint frames_this_second = 0; |
206 static uint last_frame_time = GetTickCount(); | 206 static uint last_frame_time = GetTickCount(); |
207 static uint framerate_time_elapsed = 0; | 207 static uint framerate_time_elapsed = 0; |
208 if ( pCurrentScreen == SCREEN_GAME ) | 208 if ( pCurrentScreen == SCREEN_GAME && uCurrentlyLoadedLevelType == LEVEL_Outdoor) |
209 pWeather->Draw();//Ritor1: my include | 209 pWeather->Draw();//Ritor1: my include |
210 | 210 |
211 uint frame_dt = GetTickCount() - last_frame_time; | 211 uint frame_dt = GetTickCount() - last_frame_time; |
212 last_frame_time = GetTickCount(); | 212 last_frame_time = GetTickCount(); |
213 | 213 |