przenieś fabułę i teksturowane obiekty do osobnych plików
This commit is contained in:
18
fabula.hpp
Normal file
18
fabula.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user