This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set project as empty windows project. | |
// A game loop using PeekMessage function. | |
// Uses double buffering. | |
#include <Windows.h> | |
#include <time.h> | |
#include <math.h> | |
#pragma comment(lib, "winmm.lib") |