This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/main.cpp

30 lines
538 B
C++
Raw Normal View History

/*
* main.cpp
*
* Created on: 19.07.2012
* Author: Felix
*/
#include "Game.h"
#include "util/Loader.h"
#include "util/Yaml.h"
/**
* Creates Game object.
*/
int main(int argc, char* argv[]) {
Yaml::setFolder("resources/yaml/");
Loader::i().setFolder("resources/");
Loader::i().setSubFolder<sf::Texture>("textures/");
2012-10-01 08:47:42 +00:00
sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Dungeon Gunner",
sf::Style::Close | sf::Style::Titlebar);
Game game(window);
game.loop();
return 0;
}