blob: 96eb7daa449e0f81edcbdbbb70af4f7d10569073 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <ctime>
#include <list>
#include "renderer.h"
#include <cstdlib>
#include "game.h"
#include "muxer.h"
int main()
{
srand(time(NULL));
GLFWwindow* window = initRenderer();
initMuxer();
// Put this in a block so game goes out of scope before we destroy the renderer
{
Game game;
game.execute(window);
}
destroyMuxer();
destroyRenderer();
return 0;
}
|