view Xcode-iPhoneOS/Demos/src/common.h @ 4855:6d4d6605a0d3

Set flag bits *exactly* as Andreas showed me in his screenshot. This shouldn't be different, but what do I know about C's order of operations?
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 15 Aug 2010 23:57:50 -0400
parents 20326ba2bda2
children
line wrap: on
line source

/*
 *	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);