view Xcode-iPhoneOS/Demos/src/common.h @ 3376:106a409ceeef

This is crazy. In order to override the default optimization for GCC, we actually have to include the core autoconf C compiler macro suite.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 11 Oct 2009 06:33: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);