view XCodeiPhoneOS/Demos/src/common.h @ 2961:9f16a1761fa5

The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 02 Jan 2009 09:50: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);