Reorganised structure by splitting code into several seperate files
[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 #ifndef HELPER_H
8 #define HELPER_H
9
10 void fileErr(char* fileName);
11
12 texture* loadTexture(char *fileName);
13 mesh* loadMesh(char* fileName);
14
15 void getMesh(int i);
16 void getTexture(int i);
17 int roundUp(int numToRound, int multiple);
18
19 int makeSubmenuFromArray( const char *menuEntries[], unsigned int menuEntriesSize, void *callback );
20
21 void drawSquare(int recurseLevel, float x1, float z1, float x2, float z2);
22 void drawFloor();
23 void drawLine();
24
25 #endif  /* HELPER_H */

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