Mercurial > sdl-ios-xcode
view XCodeiPhoneOS/Demos/src/common.h @ 2432:daf3baf72a45 gsoc2008_iphone
Added lines to change path when run on iPhone. Reason: iPhone operates in sandbox and so cannot write files just anywhere ... I use the documents folder in this test.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 15 Aug 2008 00:57:58 +0000 |
parents | d3952f445f4d |
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);