libgdx/libgdx — pull request #45 by noblemaster (2012-09-27 14:10:48+00:00)
Title: Retina Support + misc. other changes

OK, looks like no real changes are needed to support Retina devices. We can add an option to IOSApplicationConfiguration in the future to allow someone to take full advantage of Retina. For now, Retina devices simply return the same dimensions (called "points" not "pixels") as the non-Retina displays. On retina devices 1 point = 2 pixels (non retina: 1 point = 1 pixel).

Here are the changes:
1) getDensity() + getPPI() implemented (via help from Wikipedia)
2) build-natives.sh fixed (no ARM6 anymore!)
3) ALL convert.xml updated (use env.IVKM_HOME now)
4) all 3 demo projects updated: 2 of them working, for vectorpinpall I get the following error: "Warning: The referenced library 'gdx-backend-ios.dll' is not used from any code, skipping extraction of content resources. (gdx-vectorpinball-ios)" - I couldn't figure out what's wrong?
5) IOSApplicationConfiguration has now config options for LANDSCAPE/PORTRAIT

In any case, that completes your requests for iOS :) I'll look over missing stuff in the iOS backend. Looks like properties is missing for example. Otherwise, I think it's pretty much ready to go besides the build scripts. It's going to be a pain to setup. Maybe I look into that? Anything special planned for the build scripts to make them easy to use (for others)?