34 lines
428 B
C++
Executable File
34 lines
428 B
C++
Executable File
#include <string>
|
|
#include <map>
|
|
#include <vector>
|
|
|
|
#include <SDL/SDL.h>
|
|
#include <GL/gl.h>
|
|
#include <GL/glu.h>
|
|
|
|
#include "sdlglutils.h"
|
|
|
|
#include "types.h"
|
|
#include "init.h"
|
|
#include "map.h"
|
|
#include "cube.h"
|
|
#include "biome.h"
|
|
#include "player.h"
|
|
#include "scene.h"
|
|
|
|
int main() {
|
|
// Init SDL and OpenGL
|
|
initSDL();
|
|
initOpenGL();
|
|
|
|
// Scene execution
|
|
Scene scene;
|
|
scene.exec();
|
|
|
|
// Stop SDL
|
|
SDL_Quit();
|
|
|
|
return 0;
|
|
}
|
|
|