view XCodeiPhoneOS/Demos/src/common.h @ 3022:db20dde98dd3

Fix a 64bit issue in linux/SDL_sysjoystick (int != long on 64bit)
author Couriersud <couriersud@arcor.de>
date Sun, 11 Jan 2009 23:39:11 +0000
parents f55c87ae336b
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);