Mercurial > sdl-ios-xcode
view Xcode-iPhoneOS/Demos/src/common.h @ 4817:c68e7490e4cf
Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Sun, 01 Aug 2010 21:10:42 -0400 |
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);