Its just a struct holding variables, noting else really:
#ifndef VARIABLESTRUCT_H_INCLUDED
#define VARIABLESTRUCT_H_INCLUDED
#include <string>
#include <vector>
#include <fstream>
#include <SFML/Graphics.hpp>
struct GameVariables
{
GameVariables(std::string MAPNAME,
std::string TILENAME,
std::string LINE,
std::vector<std::vector<sf::Vector2i> > MAP,
std::vector<sf::Vector2i> TEMPMAP,
sf::Texture TILETEXTURE,
sf::Sprite TILES,
std::vector<std::string> STORETILESHEETNAMES,
std::vector<std::string> STOREMAPNAMES);
std::string mapName;
std::string tileName;
std::string audioFileName;
std::string tempLineStorage; //Temporarily stores the line from MapList.txt
std::string characterName;
std::vector<std::vector<sf::Vector2i> > map;
std::vector<sf::Vector2i> tempMap;
std::vector<std::string> storeTileSheetNames;
std::vector<std::string> storeMapNames;
std::vector<std::string> storeAudioNames;
std::vector<std::string> storeMusicNames;
std::vector<std::vector<sf::Vector2f> > storeNPCLocations;
std::vector<std::string> storeCharacters;
sf::Texture tileTexture;
sf::Sprite tiles;
sf::Sprite playerSprite;
sf::Texture playerTexture;
sf::Vector2i source;
sf::Clock clock;
sf::Texture charTexture;
sf::Sprite charSprite;
sf::Mouse mouse;
//AnimationSpeed
float frameCounter = 0;
float switchFrame = 64; //Speed to switch frame higher = slower, lower = faster
float frameSpeed = 800;
//Player Speed
sf::Vector2f currPlayerPosition;
sf::Vector2f playerVelocity;
float maxSpeed = 1.5f;
float accelSpeed = 1.5f;
float decelSpeed = 0.01f;
int x; //Map width
int y; //Map height
sf::View scrollScreen;
sf::Vector2f screenPosition;
bool isFirstStartup = true; //Check to see if the player has a save file
enum Direction {Down, Left, Right, Up}; // Player Directions
};
#endif // VARIABLESTRUCT_H_INCLUDED