#include "../init.h" #include #include #include "../Video.h" namespace System { void init() { if (SDL_Init( SDL_INIT_VIDEO | SDL_INIT_TIMER ) < 0) { std::cerr << "Error initializing SDL: " << SDL_GetError() << std::endl; abort(); } } void terminate() { video.Exit(); SDL_Quit(); } }