annotate 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
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);