EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
Config.cpp File Reference
#include "Config.h"

Functions

sf::Vector2f BASE_RESOLUTION (1280, 720)
 
sf::Vector2u WINDOW_SIZE (BASE_RESOLUTION.x, BASE_RESOLUTION.y)
 Set your base resolution.
 
sf::Vector2f SCALE_FACTOR ((WINDOW_SIZE.x/BASE_RESOLUTION.x),(WINDOW_SIZE.x/BASE_RESOLUTION.x))
 Start with base resolution.
 

Function Documentation

◆ BASE_RESOLUTION()

sf::Vector2f BASE_RESOLUTION ( 1280 ,
720  )

◆ SCALE_FACTOR()

sf::Vector2f SCALE_FACTOR ( (WINDOW_SIZE.x/BASE_RESOLUTION.x) ,
(WINDOW_SIZE.x/BASE_RESOLUTION.x)  )

Start with base resolution.

◆ WINDOW_SIZE()

sf::Vector2u WINDOW_SIZE ( BASE_RESOLUTION. x,
BASE_RESOLUTION. y )

Set your base resolution.