log

age author description
Fri, 15 Aug 2008 00:59:14 +0000 Holmes Futrell Added line to set proper display resolution on iPhone OS gsoc2008_iphone
Fri, 15 Aug 2008 00:57:58 +0000 Holmes Futrell 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. gsoc2008_iphone
Fri, 15 Aug 2008 00:56:43 +0000 Holmes Futrell Added some code to set proper screensize on iPhone gsoc2008_iphone
Fri, 15 Aug 2008 00:54:21 +0000 Holmes Futrell A version of testgl2 written using OpenGL ES calls. Necessary because there's no glBegin/glEnd, etc. gsoc2008_iphone
Fri, 15 Aug 2008 00:52:52 +0000 Holmes Futrell testdyngles is exactly what it sounds like -- a version of testdyngl that uses OpenGL ES calls instead of OpenGL. Was necessary to create because glOrtho is called glOrthof in OpenGL ES, and OpenGL ES doesn't have glBegin() type semantics for specifying geometry. gsoc2008_iphone
Fri, 15 Aug 2008 00:49:49 +0000 Holmes Futrell Added macros SDL_IPHONE_MAX_GFORCE (which is used in converting the floating point g-force value returned by the iPhone accelerometer to the Sint16 required by SDL_Joystick) and SDL_IPHONE_MULTIPLE_MICE, which when enabled allows multi-touch to be emulated as multiple mice. gsoc2008_iphone
Fri, 15 Aug 2008 00:46:58 +0000 Holmes Futrell changed macro MAX_G_FORCE to SDL_IPHONE_MAX_GFORCE and moved it to the SDL_config_iphoneos.h file. This should allow users to convert between the Sint16 returned by polling the joystick and units of g-force, which better describe what is going on with the iPhone (and are what the iPhone OS actually gives you). This conversion wouldn't be necessary except that we'd need floating point to store everything as g-force. gsoc2008_iphone
Fri, 15 Aug 2008 00:44:07 +0000 Holmes Futrell Removed log messages gsoc2008_iphone
Fri, 15 Aug 2008 00:42:14 +0000 Holmes Futrell Removed log messages (printf and NSLog) gsoc2008_iphone
Fri, 15 Aug 2008 00:40:47 +0000 Holmes Futrell Added references to SDL_IPHONE_MAX_GFORCE ... that way this value can change without altering the demos behavior. More understandable too. gsoc2008_iphone
Fri, 15 Aug 2008 00:38:49 +0000 Holmes Futrell Added conditional compilation line #ifdef __IPHONE_OS__ to prevent other platforms from including iPhone specific line of code that is used to toggle keyboard visibility. gsoc2008_iphone
Fri, 15 Aug 2008 00:37:49 +0000 Holmes Futrell Just re-ordered some things logically in the project file gsoc2008_iphone