view Xcode-iPhoneOS/Demos/src/common.h @ 3656:f17ea6f49745

Assume _exit() is available. It may be, even if unix isn't defined. If we really have to, we can add a configure check for it.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 13 Jan 2010 08:30:34 +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);