annotate XCodeiPhoneOS/Demos/src/common.h @ 2460:d4ea76f4fc50 gsoc2008_iphone

added description
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Mon, 18 Aug 2008 18:02:20 +0000
parents d3952f445f4d
children
rev   line source
2381
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /*
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 * common.h
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 * written by Holmes Futrell
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 * use however you want
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 */
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 #define SCREEN_WIDTH 320
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
8 #define SCREEN_HEIGHT 480
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
9
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 extern int randomInt(int min, int max);
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
11 extern float randomFloat(float min, float max);
d3952f445f4d Files used by all demos (random numbers, screen size, etc)
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 extern void fatalError(const char *string);