Mercurial > sdl-ios-xcode
view Xcode-iPhoneOS/Demos/src/common.h @ 4638:08d22c54a21f
Don't need to use strlen() to determine if there's text.
Use the SDL safe strcpy() function
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Aug 2010 11:56:07 -0700 |
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);