Renamed source/ to src/ and resources/ to res/.
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 912 B |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
@ -14,16 +14,16 @@
|
|||
* Creates Game object.
|
||||
*/
|
||||
int main(int argc, char* argv[]) {
|
||||
Yaml::setFolder("resources/yaml/");
|
||||
Yaml::setFolder("res/yaml/");
|
||||
|
||||
Loader::i().setFolder("resources/");
|
||||
Loader::i().setFolder("res/");
|
||||
Loader::i().setSubFolder<sf::Texture>("textures/");
|
||||
|
||||
tgui::Window window(sf::VideoMode(800, 600, 32), "Dungeon Gunner",
|
||||
sf::Style::Close | sf::Style::Titlebar);
|
||||
|
||||
if (!window.globalFont.loadFromFile("resources/DejaVuSans.ttf"))
|
||||
LOG_W("Failed to load font at 'resources/DejaVuSans.ttf'");
|
||||
if (!window.globalFont.loadFromFile("res/DejaVuSans.ttf"))
|
||||
LOG_W("Failed to load font at 'res/DejaVuSans.ttf'");
|
||||
|
||||
Game game(window);
|
||||
|