view XCodeiPhoneOS/Demos/src/common.h @ 3247:2dcfb4e07a57

From: Jjgod Jiang <gzjjgod@gmail.com> Date: Sat, 5 Sep 2009 17:32:28 +0800 Replace old Keyboard Layout APIs with new Text Input Sources APIs for 10.{5,6}
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 09:55:25 +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);