#include "Quaxbomber.h"
#include "GameArea.h"
#include "GameTile.h"
#include "CoveredGameTileModel.h"
#include "UncoveredGameTileModel.h"
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glut.h>
#include <iostream>
#include <math.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void | display (void) |
void | initGL (void) |
void | keyEvent (unsigned char key, int x, int y) |
int | main (int argc, char **argv) |
void | reshape (int w, int h) |
void | setViewpoint (GLfloat radius, GLfloat rotX, GLfloat rotY) |
Variables | |
GLint | angleX = STARTANGLE |
GLfloat | angleY = STARTANGLE |
GameArea * | gA |
|
Function to process the output to the screen.
Definition at line 59 of file main.cpp. References angleX, angleY, CAMRADIUS, gA, GameArea::renderGameArea(), setViewpoint(), and TILESOFFSET. Referenced by main(). |
|
Function to initialize the OpenGL environment.
Definition at line 88 of file main.cpp. Referenced by main(). |
|
Function that handles the key events.
Definition at line 101 of file main.cpp. References GameArea::dim, gA, and GameArea::uncoverTile(). Referenced by main(). |
|
Main function.
Definition at line 125 of file main.cpp. References display(), gA, initGL(), keyEvent(), and reshape(). |
|
Definition at line 71 of file main.cpp. Referenced by main(). |
|
Function that sets the viewpoint to the scene to the given angle around the x and the y axis at a specified distance.
Definition at line 46 of file main.cpp. Referenced by display(). |
|
Definition at line 32 of file main.cpp. Referenced by display(). |
|
Definition at line 34 of file main.cpp. Referenced by display(). |
|
Definition at line 36 of file main.cpp. Referenced by display(), keyEvent(), and main(). |