Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 19e62a54c20de8ce77771d69de6788c5ae87c859 @thisandagain committed Jul 25, 2011
Showing with 58,140 additions and 0 deletions.
  1. +30 −0 Application-Info.plist
  2. +9 −0 Application_Prefix.pch
  3. BIN Classes/.DS_Store
  4. +15 −0 Classes/ApplicationDelegate.h
  5. +66 −0 Classes/ApplicationDelegate.m
  6. +366 −0 Classes/AsyncUdpSocket.h
  7. +2,343 −0 Classes/AsyncUdpSocket.m
  8. +21 −0 Classes/Game.h
  9. +195 −0 Classes/Game.m
  10. +46 −0 Classes/SXNSDataExtensions.h
  11. +271 −0 Classes/SXNSDataExtensions.m
  12. +156 −0 Classes/SXParticleSystem.h
  13. +461 −0 Classes/SXParticleSystem.m
  14. +397 −0 ILBControl.xcodeproj/project.pbxproj
  15. +7 −0 ILBControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  16. +47,461 −0 ILBControl.xcodeproj/project.xcworkspace/xcuserdata/Kael.xcuserdatad/UserInterfaceState.xcuserstate
  17. +10 −0 ILBControl.xcodeproj/project.xcworkspace/xcuserdata/Kael.xcuserdatad/WorkspaceSettings.xcsettings
  18. +6,032 −0 ...ol.xcodeproj/project.xcworkspace/xcuserdata/asliwinski.xcuserdatad/UserInterfaceState.xcuserstate
  19. +5 −0 ILBControl.xcodeproj/xcuserdata/Kael.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  20. +76 −0 ILBControl.xcodeproj/xcuserdata/Kael.xcuserdatad/xcschemes/ILBControl.xcscheme
  21. +22 −0 ILBControl.xcodeproj/xcuserdata/Kael.xcuserdatad/xcschemes/xcschememanagement.plist
  22. +76 −0 ILBControl.xcodeproj/xcuserdata/asliwinski.xcuserdatad/xcschemes/ILBControl.xcscheme
  23. +22 −0 ILBControl.xcodeproj/xcuserdata/asliwinski.xcuserdatad/xcschemes/xcschememanagement.plist
  24. BIN background.png
  25. BIN background@2x.png
  26. BIN control.png
  27. BIN control@2x.png
  28. +14 −0 main.m
  29. +39 −0 plasma.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.gamua.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UIStatusBarHidden</key>
+ <true/>
+</dict>
+</plist>
@@ -0,0 +1,9 @@
+//
+// Prefix header for all source files of the 'AppScaffold' target in the 'AppScaffold' project
+//
+
+#ifdef __OBJC__
+ #import <Foundation/Foundation.h>
+ #import <UIKit/UIKit.h>
+ #import "Sparrow.h"
+#endif
Binary file not shown.
@@ -0,0 +1,15 @@
+//
+// AppScaffoldAppDelegate.h
+// AppScaffold
+//
+
+#import <UIKit/UIKit.h>
+
+@interface ApplicationDelegate : NSObject <UIApplicationDelegate>
+{
+ @private
+ UIWindow *mWindow;
+ SPView *mSparrowView;
+}
+
+@end
@@ -0,0 +1,66 @@
+//
+// AppScaffoldAppDelegate.m
+// AppScaffold
+//
+
+#import "ApplicationDelegate.h"
+#import "Game.h"
+
+@implementation ApplicationDelegate
+
+- (id)init
+{
+ if ((self = [super init]))
+ {
+ mWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
+ mSparrowView = [[SPView alloc] initWithFrame:mWindow.bounds];
+ [mWindow addSubview:mSparrowView];
+ }
+ return self;
+}
+
+- (void)applicationDidFinishLaunching:(UIApplication *)application
+{
+ SP_CREATE_POOL(pool);
+
+ [SPStage setSupportHighResolutions:YES];
+ [SPAudioEngine start];
+
+ Game *game = [[Game alloc] init];
+ mSparrowView.stage = game;
+ mSparrowView.multipleTouchEnabled = NO;
+ mSparrowView.frameRate = 30.0f;
+ [game release];
+
+ [mWindow makeKeyAndVisible];
+ [mSparrowView start];
+
+ SP_RELEASE_POOL(pool);
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application
+{
+ [mSparrowView stop];
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application
+{
+ [mSparrowView start];
+}
+
+- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
+{
+ [SPPoint purgePool];
+ [SPRectangle purgePool];
+ [SPMatrix purgePool];
+}
+
+- (void)dealloc
+{
+ [SPAudioEngine stop];
+ [mSparrowView release];
+ [mWindow release];
+ [super dealloc];
+}
+
+@end
Oops, something went wrong.

0 comments on commit 19e62a5

Please sign in to comment.