Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2380:7fbcfc1574dc | 2381:d3952f445f4d |
---|---|
1 /* | |
2 * common.h | |
3 * written by Holmes Futrell | |
4 * use however you want | |
5 */ | |
6 | |
7 #define SCREEN_WIDTH 320 | |
8 #define SCREEN_HEIGHT 480 | |
9 | |
10 extern int randomInt(int min, int max); | |
11 extern float randomFloat(float min, float max); | |
12 extern void fatalError(const char *string); |