Set up a Visual Studio project and tweak things until it compiles

- It doesn't link yet, but that was expected
- Fixed some issues with global variables having different types in different files.
This commit is contained in:
2014-12-29 14:52:54 -05:00
parent fdb98bf34a
commit b11199d7d9
56 changed files with 1412 additions and 153 deletions

View File

@@ -172,7 +172,7 @@ void adjust_window_mode() {
if(display_mode == 5) {
ul.x = 14; ul.y = 2;
mainPtr.create(sf::VideoMode(605,430,32), "Blades of Exile", sf::Style::Titlebar | sf::Style::Close, winSettings);
mainPtr.setPosition({(desktop.width - 605) / 2, (desktop.height - 430) / 2});
mainPtr.setPosition({static_cast<int>((desktop.width - 605) / 2), static_cast<int>((desktop.height - 430) / 2)});
r = rectangle(mainPtr);
}
else {