#include #include #include #include #include #include #include #import #import #import namespace Gosu { CGRect screenRect = [[UIScreen mainScreen] bounds]; unsigned screenWidth() { return screenRect.size.width; } unsigned screenHeight() { return screenRect.size.height; } } int main(int argc, char *argv[]) { [[NSAutoreleasePool alloc] init]; return UIApplicationMain(argc, argv, nil, @"GosuAppDelegate"); } class Gosu::Audio {}; struct Gosu::Window::Impl { ObjRef window; ObjRef controller; boost::scoped_ptr graphics; boost::scoped_ptr