-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.hpp
31 lines (26 loc) · 810 Bytes
/
main.hpp
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
26
27
28
29
30
31
// Includes
#pragma once
// Bullet
#include "classes/helpers/ColorHelper.hpp"
#include "classes/Player.hpp"
#include "classes/LTimer.hpp"
#include "classes/GameGlobals.hpp"
#include "classes/Trail.hpp"
// System Libraries
#include <SDL2/SDL.h>
#include <SDL2/SDL2_gfxPrimitives.h>
#include <string>
#include <vector>
// Using
using namespace Bullet;
// Variables
bool gameRunning = true;
LTimer stepTimer;
Player player = Player(GameGlobals::screenWidth / 2, GameGlobals::screenHeight / 2, GameGlobals::screenWidth * 0.004);
Trail playerTrail = Trail(&player, GameGlobals::GetTrailLength());
Circle testCircle = Circle(GameGlobals::screenWidth / 2, GameGlobals::screenHeight / 2, 10, GameGlobals::colorCollection.at(13));
// Functions
int main(int argc, char* argv[]);
int Init();
int Quit();
int Draw();