-
Notifications
You must be signed in to change notification settings - Fork 1
/
shapes.hpp
47 lines (38 loc) · 916 Bytes
/
shapes.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
47
#ifndef SHAPES_HPP
#define SHAPES_HPP
#include <GL/gl.h>
#include <GL/glut.h>
extern double front_legs_angle_param;
extern double back_legs_angle_param;
extern double jump_param;
extern double floor_param;
extern double character_z_param;
extern double objects_rotation_param;
extern int score;
extern int game_ongoing;
extern int current_level;
extern int game_finished;
// Axis of n length
void drawAxis(int n);
// Parts of cat
void makeLegAndPaw();
void clipTailBody();
void clipTailBall();
void clipSmile();
// Parts of floor
void drawBottomPolygon();
void drawSidePolygon();
void drawMainPolygon();
// Misc stuff
void generateMenu();
void generateScore();
void generateLevelResolve();
void generateFinisher();
void generateTexturedPlatform();
void generateWholePlatform();
void generateCatto();
void generateMovingCatto();
void generateObjects();
void initTextures();
void initGlobalIndicator();
#endif