Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Application initialization ---------------------------------------------------------
- bool Game::Initialize()
- {
- Little::Description::Window windowDesc;
- bool result;
- // Set the frame time
- mFrameTime = 1000 / 60; // 60 FPS target
- // Setup the window
- windowDesc.width = 960;
- windowDesc.height = 640;
- // Create a window and begin initialization
- result = mEngine.Initialize(windowDesc);
- if(!result) { return false; }
- // Setup the scene
- // Load some resources
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment