Ember

rgrgrgrgr

Feb 25th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. // Application initialization ---------------------------------------------------------
  2. bool Game::Initialize()
  3. {
  4.     Little::Description::Window windowDesc;
  5.     bool result;
  6.  
  7.     // Set the frame time
  8.     mFrameTime = 1000 / 60; // 60 FPS target
  9.  
  10.     // Setup the window
  11.     windowDesc.width = 960;
  12.     windowDesc.height = 640;
  13.  
  14.     // Create a window and begin initialization
  15.     result = mEngine.Initialize(windowDesc);
  16.     if(!result) { return false; }
  17.  
  18.     // Setup the scene
  19.  
  20.     // Load some resources
  21.  
  22.     return true;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment