After a number of rejections because I screwed up the scaling,
Scruffy3D, which is written in my free open-source 3D environment dim3,
is live for iOS devices. Recommend a iPhone 4 or iPad 2 and above.
http://itunes.apple.com/us/app/scruffy3d/id529290081
This uses a hacked version of SDL 1.3 (as we’ve talked about over and
over) to deal with the iOS specific background messages. So at least we
can say (and I’m sure there are other SDL ones up in the app store) that
it seems to work well. It’s using base SDL (no additional modules), and
not the networking (I have my own networking code.)
[>] Brian
Very cool!
BTW, I’m totally fine with accepting your patch for the iOS messages. The
only reason it hasn’t slipped in the mainline is because the messages are
conceptually valid for other platforms, and I keep hanging on the IOS_
portion of the message names. 
Oh yeah, and I’m moving to Washington state. :)On Mon, Jul 2, 2012 at 3:53 PM, Brian Barnes wrote:
After a number of rejections because I screwed up the scaling, Scruffy3D,
which is written in my free open-source 3D environment dim3, is live for
iOS devices. Recommend a iPhone 4 or iPad 2 and above.
http://itunes.apple.com/us/**app/scruffy3d/id529290081http://itunes.apple.com/us/app/scruffy3d/id529290081
This uses a hacked version of SDL 1.3 (as we’ve talked about over and
over) to deal with the iOS specific background messages. So at least we
can say (and I’m sure there are other SDL ones up in the app store) that it
seems to work well. It’s using base SDL (no additional modules), and not
the networking (I have my own networking code.)
[>] Brian
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Very cool!
BTW, I’m totally fine with accepting your patch for the iOS
messages. The only reason it hasn’t slipped in the mainline is
because the messages are conceptually valid for other platforms,
and I keep hanging on the IOS_ portion of the message names. 
Oh yeah, and I’m moving to Washington state. 
Sounds like a good-news hint…
Valve?On 7/3/2012 2:49 PM, Sam Lantinga wrote:
On Mon, Jul 2, 2012 at 3:53 PM, Brian Barnes wrote:
After a number of rejections because I screwed up the scaling,
Scruffy3D, which is written in my free open-source 3D
environment dim3, is live for iOS devices. Recommend a iPhone
4 or iPad 2 and above.
[snip]
–
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
Congrats to you both!
2012/7/3 Sam Lantinga > Very cool!
BTW, I’m totally fine with accepting your patch for the iOS messages. The
only reason it hasn’t slipped in the mainline is because the messages are
conceptually valid for other platforms, and I keep hanging on the IOS_
portion of the message names. 
Oh yeah, and I’m moving to Washington state. 
On Mon, Jul 2, 2012 at 3:53 PM, Brian Barnes wrote:
After a number of rejections because I screwed up the scaling, Scruffy3D,
which is written in my free open-source 3D environment dim3, is live for
iOS devices. Recommend a iPhone 4 or iPad 2 and above.
http://itunes.apple.com/us/**app/scruffy3d/id529290081http://itunes.apple.com/us/app/scruffy3d/id529290081
This uses a hacked version of SDL 1.3 (as we’ve talked about over and
over) to deal with the iOS specific background messages. So at least we
can say (and I’m sure there are other SDL ones up in the app store) that it
seems to work well. It’s using base SDL (no additional modules), and not
the networking (I have my own networking code.)
[>] Brian
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
Gabriel.
Very cool!
BTW, I’m totally fine with accepting your patch for the iOS messages. The
only reason it hasn’t slipped in the mainline is because the messages are
conceptually valid for other platforms, and I keep hanging on the IOS_
portion of the message names. 
Hi Sam,
You can use the name scheme for event names I used in my own patch
(www.union.org.pl/download/sdl) for both iOs and Android - it maps pretty
well to similar events on multiple platforms.
Here’s the event mappings for 5 popular mobile platforms:
SDL iOS Android PlayBook Metro Bada
SDL_SYSEVENT_TERMINATE applicationWillTerminate OnDestroy NAVIGATOR_EXIT Closed Osp::App::Application::OnAppTerminating
SDL_SYSEVENT_WILL_SUSPEND applicationWillResignActive OnPause
SDL_SYSEVENT_SUSPEND applicationDidEnterBackground OnStop NAVIGATOR_WINDOW_INACTIVE Suspending Osp::App::Application::OnBackground
SDL_SYSEVENT_WILL_RESUME applicationWillEnterForeground
SDL_SYSEVENT_RESUME applicationDidBecomeActive OnResume NAVIGATOR_WINDOW_ACTIVE Resuming Osp::App::Application::OnForeground
SDL_SYSEVENT_LOWMEMORY applicationDidReceiveMemoryWarning NAVIGATOR_LOW_MEMORY Osp::App::Application::OnLowMemory
SDL_SYSEVENT_ORIENTATION_CHANGED didRotateFromInterfaceOrientation OnOrientationChanged NAVIGATOR_ORIENTATION_CHECK FullScreenPortrait OnOrientationChanged
SDL_SYSEVENT_WILL_SUSPEND and SDL_SYSEVENT_WILL_RESUME are specific to
iOS but to keep event behavior consistent for all other platforms
these events could be also emitted before SDL_SYSEVENT_SUSPEND and
SDL_SYSEVENT_RESUME respectively.
regards,
PiotrOn Tue, 3 Jul 2012, Sam Lantinga wrote:
Oh yeah, and I’m moving to Washington state. 
On Mon, Jul 2, 2012 at 3:53 PM, Brian Barnes wrote:
After a number of rejections because I screwed up the scaling, Scruffy3D,
which is written in my free open-source 3D environment dim3, is live for
iOS devices. Recommend a iPhone 4 or iPad 2 and above.
http://itunes.apple.com/us/**app/scruffy3d/id529290081http://itunes.apple.com/us/app/scruffy3d/id529290081
This uses a hacked version of SDL 1.3 (as we’ve talked about over and
over) to deal with the iOS specific background messages. So at least we
can say (and I’m sure there are other SDL ones up in the app store) that it
seems to work well. It’s using base SDL (no additional modules), and not
the networking (I have my own networking code.)
[>] Brian
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
It seems that formatting/spaces were messed up in my email below, so I
put a text file with mapping table here:
http://www.union.org.pl/download/sdl/SDL_events.txt
POn Tue, 3 Jul 2012 @Piotr_Drapich wrote:
On Tue, 3 Jul 2012, Sam Lantinga wrote:
Very cool!
BTW, I’m totally fine with accepting your patch for the iOS messages. The
only reason it hasn’t slipped in the mainline is because the messages are
conceptually valid for other platforms, and I keep hanging on the IOS_
portion of the message names. 
Hi Sam,
You can use the name scheme for event names I used in my own patch
(www.union.org.pl/download/sdl) for both iOs and Android - it maps pretty
well to similar events on multiple platforms.
Here’s the event mappings for 5 popular mobile platforms:
SDL iOS Android PlayBook Metro Bada
SDL_SYSEVENT_TERMINATE applicationWillTerminate OnDestroy NAVIGATOR_EXIT Closed Osp::App::Application::OnAppTerminating
SDL_SYSEVENT_WILL_SUSPEND applicationWillResignActive OnPause
SDL_SYSEVENT_SUSPEND applicationDidEnterBackground OnStop NAVIGATOR_WINDOW_INACTIVE Suspending Osp::App::Application::OnBackground
SDL_SYSEVENT_WILL_RESUME applicationWillEnterForeground
SDL_SYSEVENT_RESUME applicationDidBecomeActive OnResume NAVIGATOR_WINDOW_ACTIVE Resuming Osp::App::Application::OnForeground
SDL_SYSEVENT_LOWMEMORY applicationDidReceiveMemoryWarning NAVIGATOR_LOW_MEMORY Osp::App::Application::OnLowMemory
SDL_SYSEVENT_ORIENTATION_CHANGED didRotateFromInterfaceOrientation OnOrientationChanged NAVIGATOR_ORIENTATION_CHECK FullScreenPortrait OnOrientationChanged
SDL_SYSEVENT_WILL_SUSPEND and SDL_SYSEVENT_WILL_RESUME are specific to
iOS but to keep event behavior consistent for all other platforms
these events could be also emitted before SDL_SYSEVENT_SUSPEND and
SDL_SYSEVENT_RESUME respectively.
regards,
Piotr
Oh yeah, and I’m moving to Washington state. 
On Mon, Jul 2, 2012 at 3:53 PM, Brian Barnes wrote:
After a number of rejections because I screwed up the scaling, Scruffy3D,
which is written in my free open-source 3D environment dim3, is live for
iOS devices. Recommend a iPhone 4 or iPad 2 and above.
http://itunes.apple.com/us/**app/scruffy3d/id529290081http://itunes.apple.com/us/app/scruffy3d/id529290081
This uses a hacked version of SDL 1.3 (as we’ve talked about over and
over) to deal with the iOS specific background messages. So at least we
can say (and I’m sure there are other SDL ones up in the app store) that it
seems to work well. It’s using base SDL (no additional modules), and not
the networking (I have my own networking code.)
[>] Brian
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Piotr wrote:
You can use the name scheme for event names I used in my own patch
(www.union.org.pl/download/sdl) for both iOs and Android - it maps
pretty well to similar events on multiple platforms.
Here’s the event mappings for 5 popular mobile platforms
I like that naming, sounds great!
[>] Brian