diff Game.cpp @ 2461:ff7f4995aa25

function MakeScreenshot()
author Ritor1
date Tue, 05 Aug 2014 17:00:35 +0600
parents 1921b140607a
children 0f17a30149ec
line wrap: on
line diff
--- a/Game.cpp	Thu Jul 31 13:18:42 2014 +0600
+++ b/Game.cpp	Tue Aug 05 17:00:35 2014 +0600
@@ -208,9 +208,11 @@
   static uint frames_this_second = 0;
   static uint last_frame_time = GetTickCount();
   static uint framerate_time_elapsed = 0;
+
   if ( pCurrentScreen == SCREEN_GAME && uCurrentlyLoadedLevelType == LEVEL_Outdoor)
     pWeather->Draw();//Ritor1: my include
 
+  //while(GetTickCount() - last_frame_time < 33 );//FPS control 
   uint frame_dt = GetTickCount() - last_frame_time;
   last_frame_time = GetTickCount();