Mercurial > sdl-ios-xcode
diff XCodeiPhoneOS/Demos/src/common.h @ 2381:d3952f445f4d gsoc2008_iphone
Files used by all demos (random numbers, screen size, etc)
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 18 Jul 2008 20:51:25 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/XCodeiPhoneOS/Demos/src/common.h Fri Jul 18 20:51:25 2008 +0000 @@ -0,0 +1,12 @@ +/* + * common.h + * written by Holmes Futrell + * use however you want + */ + +#define SCREEN_WIDTH 320 +#define SCREEN_HEIGHT 480 + +extern int randomInt(int min, int max); +extern float randomFloat(float min, float max); +extern void fatalError(const char *string); \ No newline at end of file