2015-06-21 09:33:46 -06:00
|
|
|
/*
|
|
|
|
* common.h
|
|
|
|
* written by Holmes Futrell
|
|
|
|
* use however you want
|
|
|
|
*/
|
|
|
|
|
2016-09-13 19:18:06 -06:00
|
|
|
#if __TVOS__
|
|
|
|
#define SCREEN_WIDTH 1920
|
|
|
|
#define SCREEN_HEIGHT 1080
|
|
|
|
#else
|
2015-06-21 09:33:46 -06:00
|
|
|
#define SCREEN_WIDTH 320
|
|
|
|
#define SCREEN_HEIGHT 480
|
2016-09-13 19:18:06 -06:00
|
|
|
#endif
|
2015-06-21 09:33:46 -06:00
|
|
|
|
|
|
|
extern int randomInt(int min, int max);
|
|
|
|
extern float randomFloat(float min, float max);
|
|
|
|
extern void fatalError(const char *string);
|