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
|
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
|
Wed, 13 Aug 2008 20:56:21 +0000 |
Holmes Futrell |
Fixed a bug where bad access would occur if UIKIT_MakeCurrent is passed NULL for the parameter 'SDL_GLContext context'. Instead, it clears the current context.
gsoc2008_iphone
|
Wed, 13 Aug 2008 18:16:27 +0000 |
Holmes Futrell |
updated XCode project, now includes files for keyboard support (oops)
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:57:15 +0000 |
Holmes Futrell |
Bitmap font used in bitmap font / keyboard demo, along with licsense. The license is Common Public License Version 1.0, so I don't see any problems here.
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:55:28 +0000 |
Holmes Futrell |
just updating XCode project files to include keyboard example as target
gsoc2008_iphone
|
Sat, 02 Aug 2008 00:54:30 +0000 |
Holmes Futrell |
keyboard.c contains the source code for the bitmap font keyboard example.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:37:53 +0000 |
Holmes Futrell |
whitespace
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:35:20 +0000 |
Holmes Futrell |
removed reference to pthread.h
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:33:24 +0000 |
Holmes Futrell |
This is the header file for SDL_uikitview.m ... somehow this file was not committed.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:25:54 +0000 |
Holmes Futrell |
Added SDL_IPHONE_KEYBOARD macro, which controls whether or not the SDL for iPhone is compiled with keyboard support or not.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:23:50 +0000 |
Holmes Futrell |
keyinfotable.h contains information which SDL_uikitkeyboard uses to convert between unichar characters that it reads from the text field (which acts as the keyboard's target) to SDL_scancodes and key modifiers which are sent to SDL's keyboard system.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:21:49 +0000 |
Holmes Futrell |
SDL_uikitkeyboard extends SDL_uikitview to add keyboard support. It adds several methods to the SDL_uikitview class for keyboard initialization, showing, and hiding. SDL_uikitkeyboard.m contains the implementation of these methods as well as the implementation of some iPhone specific additions to SDL so that a programmer can access the functionality of hiding and showing the keyboard.
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:19:23 +0000 |
Holmes Futrell |
Added keyboard support in view initialization and proper deallocation of keyboard in -(void)dealloc, if keyboard is enabled
gsoc2008_iphone
|
Tue, 29 Jul 2008 17:09:29 +0000 |
Holmes Futrell |
Added textField view and member variable which shows if keyboard is shown
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:05:40 +0000 |
Holmes Futrell |
Added standard SDL header comments
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:03:51 +0000 |
Holmes Futrell |
removed references to singletons, now uses SDL_WindowData information instead.
gsoc2008_iphone
|
Tue, 22 Jul 2008 23:02:53 +0000 |
Holmes Futrell |
turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
gsoc2008_iphone
|