view Xcode-iPhoneOS/Demos/src/common.h @ 5073:1e94e68525d5

Fixed bug #1097 There are problems with including intrin.h in C linkage in C++ compilation, and further conflicts between intrin.h and winnt.h on Visual Studio 2005.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 21 Jan 2011 23:46:51 -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);