Blame src/common.h

3f9996
#ifndef HELI_COMMON_H
3f9996
#define HELI_COMMON_H
3f9996
3f9996
3f9996
#ifndef TRUE
3f9996
#define TRUE  1
3f9996
#endif
3f9996
3f9996
#ifndef FALSE
3f9996
#define FALSE 0
3f9996
#endif
3f9996
8535a3
#ifndef PI
8535a3
#define PI 3.14159265358979323846
8535a3
#endif
8535a3
3f9996
1015c5
typedef struct _Directory *Directory;
1015c5
1015c5
3f9996
int randomNumber(int min, int max);
3f9996
double randomFloat();
3f9996
1015c5
Directory openDirectory(const char *path);
1015c5
void closeDirectory(Directory directory);
1015c5
int directoryGetCount(Directory directory);
1015c5
const char* directoryGet(Directory directory, int i);
1015c5
1015c5
int fileExists(const char *path);
1015c5
int directoryExists(const char *path);
1015c5
3f9996
3f9996
#endif