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
|
Fri, 15 Aug 2008 00:37:17 +0000 |
Holmes Futrell |
Readme file for iPhone OS Demo applications
gsoc2008_iphone
|
Fri, 15 Aug 2008 00:36:33 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:14:36 +0000 |
Holmes Futrell |
Originally keyboard support was in the form of a category of the class SDL_uikitview. It turns out this can cause problems with compilation where the code is not actually included and doesn't fail until dynamic dispatch. This is just awful, so I've moved to the code into the SDL_uikitview class itself.
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:12:00 +0000 |
Holmes Futrell |
(none)
gsoc2008_iphone
|
Wed, 13 Aug 2008 23:10:51 +0000 |
Holmes Futrell |
Cleaned up code, added comments, added randomized colors, added check for extension GL_POINT_SIZE_ARRAY_OES, which not all OpenGL ES systems have.
gsoc2008_iphone
|