view Xcode-iPhoneOS/Demos/src/common.h @ 3366:8cd9ed45c020

Adapted from Debian patch: 215_kfreebsd_gnu.diff
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Oct 2009 09:36:12 +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);