aboutsummaryrefslogtreecommitdiff
path: root/Main.cpp
blob: d6ee2fb13b647616bdc7615ee497ca0c7e0338f0 (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 "glox/GloxCommon.hpp"
#include "slox/SloxApplication.hpp"
#include "slox/SloxRawEventHandler.hpp"
#include "slox/SloxTextureFactory.hpp"
#include "slox/events/SloxFunctionQuitListener.hpp"

#include "glox/GloxColor.hpp"
#include "glox/GloxFirstPersonPerspective.hpp"
#include "glox/GloxLookAtPerspective.hpp"
#include "glox/GloxViewport.hpp"
#include "glox/objects/GloxTexturedCube.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;
}