|
|
@ -2,8 +2,10 @@ |
|
|
|
#include "textures.hpp" |
|
|
|
#include "textures.hpp" |
|
|
|
#include "sound.hpp" |
|
|
|
#include "sound.hpp" |
|
|
|
#include "autowalker.hpp" |
|
|
|
#include "autowalker.hpp" |
|
|
|
|
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* argv[]) { |
|
|
|
int main(int argc, char* argv[]) { |
|
|
|
|
|
|
|
try { |
|
|
|
textures::init(); |
|
|
|
textures::init(); |
|
|
|
sound::init(); |
|
|
|
sound::init(); |
|
|
|
sound::mute(false); |
|
|
|
sound::mute(false); |
|
|
@ -39,4 +41,10 @@ int main(int argc, char* argv[]) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
|
|
|
|
} catch(const std::system_error& e) { |
|
|
|
|
|
|
|
std::cout << "WARNING: On OSX you'll get this error on shutdown.\n"; |
|
|
|
|
|
|
|
std::cout << "Caught system_error with code " |
|
|
|
|
|
|
|
"[" << e.code() << "] meaning " |
|
|
|
|
|
|
|
"[" << e.what() << "]\n"; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|