-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
26 lines (22 loc) · 890 Bytes
/
main.cpp
File metadata and controls
26 lines (22 loc) · 890 Bytes
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
/* MAIN REFERENCES :
DOOM github : https://github.com/id-Software/DOOM/tree/master
Raycasting : https://lodev.org/cgtutor/raycasting.html#The_Basic_Idea_
https://github.com/naezith/wolf3d-clone/blob/master/main.cpp
GLUT : https://ogldev.org
openGL tutorials : https://learnopengl.com
Game design : Game Engine Black Book (Doom)
ChatGPT : used both for ideas (indicated in the corresponding classes and functions) and for error handeling. It helped me also
with global architecture of the code and naming of variables or functions.
GDC (on Youtube)
*/
#include <iostream>
#include <GLUT/glut.h>
#include "classes/Game.hpp"
int main(int argc, char** argv) {
std::cout << "DOOMED is starting" << std::endl;
Game game(1024, 768); //start the game
game.initWindow(argc, argv);
game.init();
game.run();
return 0;
}