EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
Main.cpp File Reference
#include <SFML/Graphics.hpp>
#include "StateManager.h"
#include "Traversal.h"
#include "Config.h"
#include <iostream>
#include <Windows.h>
#include <lmcons.h>

Macros

#define NOMINMAX
 
#define WIN32_LEAN_AND_MEAN
 

Functions

int main ()
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Function Documentation

◆ main()

int main ( )

sf::RenderWindow window(sf::VideoMode(1280, 720), "EchosOfTime");

Unique pointer used for exclusive access and it has automatic cleanup preventing memory leaks

Ensure state changes take effect

Used for handling input and game updates

Used to render current state

QuestionList created from reading in questions and options from Egypt_Questions.txt textfile and created the Question and Option objects Outputs to the console but need to comment out the above code in order to see the output