forked from godnondsilva/town-life-simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.hpp
46 lines (40 loc) · 1.32 KB
/
functions.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Handlers
void handleDisplay();
void handleKey(unsigned int, char, char);
void handleMainMenu(int);
void handleModesMenu(int);
// Render functions
void renderScene();
void renderObjects();
void renderGrass(float, float, float);
void renderClouds(float, float, float, float);
void renderPlanet(float, float, float);
void renderSky(float, float, float);
void renderBuildings(float, float, float);
void renderRoads();
void renderHorizon(float, float, float, float);
void renderCarOneModel(int);
void renderCarTwoModel(int);
// Render object functions
void renderDawn();
void renderMorning();
void renderEvening();
void renderNight();
// Render menu functions
void renderSceneTitle(float, float, char*);
void renderPauseScreen();
void renderTitleScreen();
// Render menu background objects
void renderSceneTitleBox();
void renderPauseDialogBox();
void renderTitleScreenObjects();
// Utility Functions
void displayString(float, float, char*, int);
void pauseScene();
void resetScene();
void lockPosition();
void callMainMenu();
// Utility Drawing functions
void drawCircle(GLfloat, GLfloat, GLfloat, GLfloat);
void drawRectangle(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, float, float, float);
void drawAlphaRectangle(GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, float, float, float, float);