view Xcode-iPhoneOS/Demos/src/common.h @ 3637:8a46b3eab813

Since we're not using the CoreAudio HAL now, we don't need to use EnableIO. I think that's how it works. Fixes failure to open audio device on Mac OS X.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 11 Jan 2010 07:45: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);