43 lines
804 B
C++
43 lines
804 B
C++
#ifndef HEADER_H
|
|
#define HEADER_H
|
|
|
|
|
|
#include <string>
|
|
#include <math.h>
|
|
#include <random>
|
|
#include <unistd.h>
|
|
|
|
#include <GL/gl.h>
|
|
#include <GL/glu.h>
|
|
#include <GL/glut.h>
|
|
|
|
#include "case.h"
|
|
#include "options.h"
|
|
|
|
|
|
void game(int*, char**);
|
|
void initializationGlut(int*, char**);
|
|
void resetDisplay(bool);
|
|
void display(void);
|
|
void reshape(int, int);
|
|
void keyboard(unsigned char, int, int);
|
|
void special(int, int, int);
|
|
void displayNumber(short, short, unsigned int, short, short);
|
|
void displayText(std::string);
|
|
|
|
void getRandomNewCase(void);
|
|
bool caseFree(void);
|
|
bool gridFinished(void);
|
|
bool matriceGot(unsigned int);
|
|
bool matriceHavePowers(void);
|
|
bool matriceDidChanged(void);
|
|
bool collision(Case, Case);
|
|
|
|
void motionUp(void);
|
|
void motionDown(void);
|
|
void motionLeft(void);
|
|
void motionRight(void);
|
|
|
|
|
|
#endif
|