aboutsummaryrefslogtreecommitdiff
path: root/Main.cpp
blob: 16852443ac9d4fe1238b7881ba3924c97de53b4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <cstdio>

/* Include the class SloxApplication which 
 * will be the base class for this */
#include "slox/SloxApplication.hpp"
#include "slox/SloxTextureFactory.hpp"
#include "slox/SloxRawEventHandler.hpp"
#include "slox/events/SloxFunctionQuitListener.hpp"

#include "glox/GloxViewport.hpp"
#include "glox/GloxCommon.hpp"
#include "glox/GloxFirstPersonPerspective.hpp"
#include "glox/objects/GloxTexturedCube.hpp"
#include "glox/GloxColor.hpp"
#include "glox/GloxLookAtPerspective.hpp"

#include "sons_of_sol/SonsOfSolApplication.hpp"

using namespace slox;
using namespace glox;
using namespace std;

void exit( const SDL_QuitEvent& evt ) {
    (void) evt;
    exit( 0 );
}

int main ( int argc, char ** argv ) {
    SonsOfSolApplication game;
    game.run( argc, argv );
    return 0;
}