OpenXcom Forum

OpenXcom => Suggestions => Topic started by: michal on December 29, 2010, 09:59:31 am

Title: Android port ?
Post by: michal on December 29, 2010, 09:59:31 am
Someone on The Something Awful Forums ( https://forums.somethingawful.com/showthread.php?threadid=3358075&userid=0&perpage=40&pagenumber=5#post386194724 ) suggested android port.

He posted link to sdl port for android:

https://www.anddev.org/code-snippets-for-android-f33/sdl-port-for-android-sdk-ndk-1-6-t9218.html

I'm posting it here in case someone would want (and has android device) to try porting it ;)
Title: Re: Android port ?
Post by: sir_nacnud on December 30, 2010, 07:08:07 am
An Android port may be difficult because native C++ code, ie non Java code, isn't fully supported on the Android platform.  There is no support for RTTI or C++ exceptions.  RTTI includes things like dynamic cast and typeinfo.  RTTI and C++ exceptions are both used though out the OpenXcom code base.  Also there is no support for STL containers, though you can use third party libraries like STL port to provide STL container support.
Title: Re: Android port ?
Post by: michal on January 14, 2011, 03:44:40 pm
Check this out:

https://android-developers.blogspot.com/2011/01/gingerbread-ndk-awesomeness.html

Quote
Finally, r5 adds backwards-compatible support for RTTI, C++ exceptions, wchar_t, and includes improved debugging tools. Clearly, this release represents a large positive ?awesome.
Title: Re: Android port ?
Post by: sir_nacnud on January 15, 2011, 07:14:08 pm
That's awesome, finally correct support for C++.

I will have to update my SDK to gingerbeard and see what I can get going with the emulator.
Title: Re: Android port ?
Post by: sir_nacnud on January 23, 2011, 01:51:14 am
See progress of my port here: https://openxcom.ninex.info/forum/index.php?topic=150.0