<target name="clean"/>
<target name="postcompile"/>
</ant>
- <!--<ant antfile="build-ios32.xml" dir="extensions/gdx-bullet/jni"/>
+ <ant antfile="build-ios32.xml" dir="extensions/gdx-bullet/jni"/>
<ant antfile="convert-ikvm.xml" dir=".">
<property name="IN" value="-r:gdx/libs/ios32/gdx.dll -srcpath:extensions/gdx-bullet/src/ dist/extensions/gdx-bullet/gdx-bullet.jar"/>
<property name="OUT" value="extensions/gdx-bullet/libs/ios32/gdx-bullet.dll"/>
- </ant>-->
+ </ant>
</target>
<target name="controllers" depends="core">
template<typename UWord, typename UHWord> class DMul
{
private:
- static uint32_t high(uint64_t value)
- {
- return (uint32_t) (value >> 32);
- }
+ static uint32_t high(uint64_t value)
+ {
+ struct cast_helper
+ {
+ union
+ {
+ uint32_t value64;
+ struct { uint32_t low, high; } value32;
+ };
+ cast_helper(uint64_t value) : value64(value) {}
+ };
+ return cast_helper(value).value32.high;
+ }
static uint32_t low(uint64_t value)
{
<get src="${domain}/extensions/gdx-bullet/armeabi/libgdx-bullet.so" dest="tmp/armeabi"/>\r
<get src="${domain}/extensions/gdx-bullet/armeabi-v7a/libgdx-bullet.so" dest="tmp/armeabi-v7a"/>\r
<get src="${domain}/extensions/gdx-bullet/x86/libgdx-bullet.so" dest="tmp/x86"/>\r
+ <get src="${domain}/extensions/gdx-bullet/ios/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/ios32"/>\r
\r
<!-- controllers natives, desktop only -->\r
<mkdir dir="extensions/gdx-controllers/gdx-controllers-desktop/libs/ios32"/>\r
<get src="${domain}/extensions/gdx-freetype/x86/libgdx-freetype.so" dest="tmp/x86"/>\r
<get src="${domain}/extensions/gdx-freetype/ios/gdx-freetype.dll" dest="extensions/gdx-freetype/libs/ios32"/>\r
<get src="${domain}/extensions/gdx-freetype/ios/gdx-freetype.dll.mdb" dest="extensions/gdx-freetype/libs/ios32"/>\r
+ <get src="${domain}/extensions/gdx-freetype/ios/libgdx-freetype.a" dest="extensions/gdx-freetype/libs/ios32"/>\r
<get src="${domain}/extensions/gdx-freetype/ios/libgdx-freetype.a" dest="tmp/ios"/>\r
\r
<!-- image natives -->\r
</resources>
<forceLinkClasses>
<pattern>com.badlogic.gdx.scenes.scene2d.ui.*</pattern>
+ <pattern>com.badlogic.gdx.physics.bullet.**</pattern>
</forceLinkClasses>
<libs>
<lib>../../gdx/libs/ios32/libgdx.a</lib>
<lib>../../gdx/libs/ios32/libObjectAL.a</lib>
+ <lib>../../extensions/gdx-freetype/libs/ios32/libgdx-freetype.a</lib>
+ <lib>../../extensions/gdx-bullet/libs/ios32/libgdx-bullet.a</lib>
</libs>
<frameworks>
<framework>UIKit</framework>
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
- return new IOSApplication(new MultitouchTest(), config);
+ return new IOSApplication(new BulletTestCollection(), config);
}
public static void main(String[] argv) {