First attempt of defining the main arch.
[SoftCat.git] / SoftCat / SCLoader.cpp
blobd96f4855ad24d03d6f1147b9df024f523e1f3b89
1 #include "SCLoader.h"
3 namespace SC {
4 SCLoader::SCLoader() {
5 // initialize the video subsystem
6 if ( SDL_Init( SDL_INIT_VIDEO ) < 0 ) {
7 //TODO: BETTER ERROR HANDLING?
8 printf("Unable to initialize SDL: %s\n", SDL_GetError());
9 exit(EXIT_FAILURE);
13 SCLoader::~SCLoader() {
14 SDL_Quit();