16
General / Re: How should the code be organized?
« on: December 23, 2014, 01:01:37 pm »
Let's say something like:
Quote
#pragma once
#include <SFML/Graphics.hpp>
#include <string>
namespace Resources
{
const std::string GAME_SPRITES_PATH = "Assets/Sprites/Game/";
const std::string GUI_SPRITES_PATH = "Assets/Sprites/GUI/";
sf::Texture mouseover_texture;
sf::Sprite mouseover_sprite;
bool LoadSprites();
}