view Xcode-iPhoneOS/Demos/src/common.h @ 3395:45f140dd4b08

Options --double --triple have been added to test double and triple buffering.
author Mike Gorchak <lestat@i.com.ua>
date Tue, 13 Oct 2009 11:24:36 +0000
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);