19 lines
625 B
C++
19 lines
625 B
C++
#pragma once
|
|
#include <iostream>
|
|
#include "GL/glew.h"
|
|
#include <vector>
|
|
|
|
extern short biezacy_wzor;
|
|
extern float Foward;
|
|
extern float Sides;
|
|
extern float Rotation;
|
|
extern void platforma(GLfloat xc, GLfloat yc, GLfloat zc, GLfloat xlen, GLfloat zlen);
|
|
|
|
void sprawdzPostepGry();
|
|
void ustalPozycjeGracza(GLfloat gracz_x, GLfloat gracz_z, short &grid_x, short &grid_z);
|
|
void ustawSiatkeNaWzorNieNadpisujacPostepu();
|
|
void nadpiszNowaSiatke(short nowy_wzor);
|
|
void tworzKratke(unsigned int grid_x, unsigned int grid_z, unsigned short grid_value);
|
|
void tworzKratkiZSiatki();
|
|
void aktualizujBiezacaKratke(short grid_x, short grid_z);
|