(no commit message)
[atyndall/cits2231.git] / helper.h
1 /**
2  * Helper Function Header File
3  * Contains forward declarations of all of the project's helper functions
4  * @author Ashley Tyndall (20915779), Jenna de la Harpe (20367932)
5  */
6
7 #include "types.h"
8
9 #ifndef HELPER_H
10 #define HELPER_H
11
12 void fileErr(char* fileName);
13
14 texture* loadTexture(char *fileName);
15 mesh* loadMesh(char* fileName);
16
17 void getMesh(int i);
18 void getTexture(int i);
19 int roundUp(int numToRound, int multiple);
20
21 int makeSubmenuFromArray( const char *menuEntries[], unsigned int menuEntriesSize, void *callback );
22
23 void drawSquare(int recurseLevel, float x1, float z1, float x2, float z2);
24 void drawFloor();
25 void drawAxisLines();
26
27 void addSceneObject(int id);
28
29 #endif  /* HELPER_H */

UCC git Repository :: git.ucc.asn.au