Mercurial > sdl-ios-xcode
view Xcode-iPhoneOS/Demos/src/common.h @ 4909:fd40b483d489
Use SDL endian macros in libm.
This fixes problems (specifically with SDL_floor) for systems where __BYTE_ORDER is not defined.
author | Daniel Wyatt <Daniel.Wyatt@gmail.com> |
---|---|
date | Tue, 16 Nov 2010 13:24:55 -0500 |
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);