view Xcode-iPhoneOS/Demos/src/common.h @ 5128:ad4141d88412

Added Edgar's blog to the haptic documentation
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Jan 2011 12:09:25 -0800
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);