Project Builder files added.
authorFlorian Schulze <crow@icculus.org>
Sun, 28 Apr 2002 09:45:12 +0000 (09:45 +0000)
committerFlorian Schulze <crow@icculus.org>
Sun, 28 Apr 2002 09:45:12 +0000 (09:45 +0000)
PB/.DS_Store [new file with mode: 0644]
PB/English.lproj/InfoPlist.strings [new file with mode: 0644]
PB/JumpNBump.pbproj/.DS_Store [new file with mode: 0644]
PB/JumpNBump.pbproj/ben.pbxuser [new file with mode: 0644]
PB/JumpNBump.pbproj/project.pbxproj [new file with mode: 0644]
PB/SDLMain.h [new file with mode: 0644]
PB/SDLMain.m [new file with mode: 0644]

diff --git a/PB/.DS_Store b/PB/.DS_Store
new file mode 100644 (file)
index 0000000..a9c4092
Binary files /dev/null and b/PB/.DS_Store differ
diff --git a/PB/English.lproj/InfoPlist.strings b/PB/English.lproj/InfoPlist.strings
new file mode 100644 (file)
index 0000000..ae9592a
Binary files /dev/null and b/PB/English.lproj/InfoPlist.strings differ
diff --git a/PB/JumpNBump.pbproj/.DS_Store b/PB/JumpNBump.pbproj/.DS_Store
new file mode 100644 (file)
index 0000000..12e20a1
Binary files /dev/null and b/PB/JumpNBump.pbproj/.DS_Store differ
diff --git a/PB/JumpNBump.pbproj/ben.pbxuser b/PB/JumpNBump.pbproj/ben.pbxuser
new file mode 100644 (file)
index 0000000..d06efee
--- /dev/null
@@ -0,0 +1,1146 @@
+// !$*UTF8*$!
+{
+       29B97313FDCFA39411CA2CEA = {
+               activeBuildStyle = 4A9504CCFFE6A4B311CA0CBA;
+               activeExecutable = F5CA6AF4026B5039012A168D;
+               activeTarget = 29B97326FDCFA39411CA2CEA;
+               addToTargets = (
+                       29B97326FDCFA39411CA2CEA,
+               );
+               breakpoints = (
+                       F5C435BB026C8C7E012A168D,
+                       F5C435BC026C8C93012A168D,
+                       F5C435BD026C8CBC012A168D,
+                       F5C435BE026C8CE2012A168D,
+                       F5C435BF026C8CE2012A168D,
+                       F5C435C0026C8FA8012A168D,
+                       F5C435C1026C9035012A168D,
+                       F5C435C3026C9AA7012A168D,
+                       F5C435C4026C9AC3012A168D,
+                       F5C435C5026C9AC3012A168D,
+                       F5C435C6026C9ADC012A168D,
+                       F5C435C7026C9AF1012A168D,
+                       F5C435C8026C9B29012A168D,
+                       F5C435C9026C9B29012A168D,
+                       F553E33602721C3D012A168D,
+               );
+               executables = (
+                       F5CA6B21026B5378012A168D,
+                       F5CA6AF4026B5039012A168D,
+                       F5CA6B19026B535C012A168D,
+               );
+               perUserDictionary = {
+                       PBXPerProjectTemplateStateSaveDate = 41550216;
+                       "PBXTemplateGeometry-F5314676015831810DCA290F" = {
+                               ContentSize = "{685, 434}";
+                               LeftSlideOut = {
+                                       Collapsed = NO;
+                                       Frame = "{{0, 23}, {685, 411}}";
+                                       Split0 = {
+                                               ActiveTab = 2;
+                                               Collapsed = NO;
+                                               Frame = "{{0, 0}, {685, 411}}";
+                                               Split0 = {
+                                                       Frame = "{{0, 221}, {685, 190}}";
+                                               };
+                                               SplitCount = 1;
+                                               Tab0 = {
+                                                       Debugger = {
+                                                               Collapsed = NO;
+                                                               Frame = "{{0, 0}, {952, 321}}";
+                                                               Split0 = {
+                                                                       Frame = "{{0, 24}, {952, 297}}";
+                                                                       Split0 = {
+                                                                               Frame = "{{0, 0}, {468, 297}}";
+                                                                       };
+                                                                       Split1 = {
+                                                                               DebugVariablesTableConfiguration = (
+                                                                                       Name,
+                                                                                       126.803,
+                                                                                       Value,
+                                                                                       150.074,
+                                                                                       Summary,
+                                                                                       172.123,
+                                                                               );
+                                                                               Frame = "{{477, 0}, {475, 297}}";
+                                                                       };
+                                                                       SplitCount = 2;
+                                                               };
+                                                               SplitCount = 1;
+                                                               Tab0 = {
+                                                                       Frame = "{{0, 0}, {100, 50}}";
+                                                               };
+                                                               Tab1 = {
+                                                                       Frame = "{{0, 0}, {100, 50}}";
+                                                               };
+                                                               TabCount = 2;
+                                                               TabsVisible = YES;
+                                                       };
+                                                       Frame = "{{0, 0}, {952, 321}}";
+                                                       LauncherConfigVersion = 7;
+                                               };
+                                               Tab1 = {
+                                                       Frame = "{{0, 0}, {781, 452}}";
+                                                       LauncherConfigVersion = 3;
+                                                       Runner = {
+                                                               Frame = "{{0, 0}, {781, 452}}";
+                                                       };
+                                               };
+                                               Tab2 = {
+                                                       BuildMessageFrame = "{{0, 0}, {687, 149}}";
+                                                       BuildTranscriptFrame = "{{0, 158}, {687, 59}}";
+                                                       Frame = "{{0, 0}, {685, 215}}";
+                                               };
+                                               Tab3 = {
+                                                       Frame = "{{0, 0}, {612, 295}}";
+                                               };
+                                               TabCount = 4;
+                                               TabsVisible = NO;
+                                       };
+                                       SplitCount = 1;
+                                       Tab0 = {
+                                               Frame = "{{0, 0}, {300, 533}}";
+                                               GroupTreeTableConfiguration = (
+                                                       TargetStatusColumn,
+                                                       18,
+                                                       MainColumn,
+                                                       267,
+                                               );
+                                       };
+                                       Tab1 = {
+                                               ClassesFrame = "{{0, 0}, {280, 398}}";
+                                               ClassesTreeTableConfiguration = (
+                                                       PBXBookColumnIdentifier,
+                                                       20,
+                                                       PBXClassColumnIdentifier,
+                                                       237,
+                                               );
+                                               Frame = "{{0, 0}, {278, 659}}";
+                                               MembersFrame = "{{0, 407}, {280, 252}}";
+                                               MembersTreeTableConfiguration = (
+                                                       PBXBookColumnIdentifier,
+                                                       20,
+                                                       PBXMethodColumnIdentifier,
+                                                       236,
+                                               );
+                                       };
+                                       Tab2 = {
+                                               Frame = "{{0, 0}, {200, 100}}";
+                                       };
+                                       Tab3 = {
+                                               Frame = "{{0, 0}, {200, 100}}";
+                                               Split0 = {
+                                                       Frame = "{{0, 0}, {200, 45}}";
+                                                       TargetTreeTableConfiguration = (
+                                                               ActiveTarget,
+                                                               16,
+                                                               TargetName,
+                                                               168,
+                                                       );
+                                               };
+                                               Split1 = {
+                                                       BuildStyleTreeTableConfiguration = (
+                                                               IsActive,
+                                                               16,
+                                                               Name,
+                                                               169,
+                                                       );
+                                                       Frame = "{{0, 54}, {200, 46}}";
+                                               };
+                                               SplitCount = 2;
+                                       };
+                                       Tab4 = {
+                                               ExecutableTreeTableConfiguration = (
+                                                       ActiveExecutable,
+                                                       16,
+                                                       ExecutableName,
+                                                       217,
+                                               );
+                                               Frame = "{{0, 0}, {250, 100}}";
+                                       };
+                                       Tab5 = {
+                                               BreakpointsTreeTableConfiguration = (
+                                                       breakpointColumn,
+                                                       197,
+                                                       enabledColumn,
+                                                       31,
+                                               );
+                                               Frame = "{{0, 0}, {250, 100}}";
+                                       };
+                                       TabCount = 6;
+                                       TabsVisible = NO;
+                               };
+                               StatusViewVisible = YES;
+                               Template = F5314676015831810DCA290F;
+                               ToolbarVisible = YES;
+                               WindowLocation = "{432, 367}";
+                       };
+                       PBXWorkspaceContents = (
+                               {
+                                       LeftSlideOut = {
+                                               Split0 = {
+                                                       Split0 = {
+                                                               NavContent0 = {
+                                                                       bookmark = F57C7C90027A04E7012A168D;
+                                                                       history = (
+                                                                               F553E33702724F48012A168D,
+                                                                               F553E33802724F48012A168D,
+                                                                               F57C7C62027A0083012A168D,
+                                                                               F57C7C63027A0083012A168D,
+                                                                               F57C7C8E027A04E7012A168D,
+                                                                               F57C7C64027A0083012A168D,
+                                                                       );
+                                                                       prevStack = (
+                                                                               F553E33A02724F48012A168D,
+                                                                               F553E33B02724F48012A168D,
+                                                                               F57C7C66027A0083012A168D,
+                                                                               F57C7C67027A0083012A168D,
+                                                                               F57C7C68027A0083012A168D,
+                                                                               F57C7C6A027A0083012A168D,
+                                                                               F57C7C6B027A0083012A168D,
+                                                                               F57C7C6C027A0083012A168D,
+                                                                               F57C7C8F027A04E7012A168D,
+                                                                       );
+                                                               };
+                                                               NavCount = 1;
+                                                               NavGeometry0 = {
+                                                                       Frame = "{{0, 0}, {927, 655}}";
+                                                                       NavBarVisible = YES;
+                                                               };
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Split0 = {
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       TabCount = 2;
+                                                               };
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                               };
+                                                       };
+                                                       TabCount = 4;
+                                               };
+                                               SplitCount = 1;
+                                               Tab1 = {
+                                                       OptionsSetName = "Hierarchy, all classes";
+                                               };
+                                               Tab3 = {
+                                                       SplitCount = 2;
+                                               };
+                                               TabCount = 6;
+                                       };
+                               },
+                               {
+                                       LeftSlideOut = {
+                                               Split0 = {
+                                                       Split0 = {
+                                                               NavCount = 1;
+                                                               NavGeometry0 = {
+                                                                       Frame = "{{0, 0}, {958, 190}}";
+                                                                       NavBarVisible = YES;
+                                                               };
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Split0 = {
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       TabCount = 2;
+                                                               };
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                               };
+                                                       };
+                                                       TabCount = 4;
+                                               };
+                                               SplitCount = 1;
+                                               Tab1 = {
+                                                       OptionsSetName = "Hierarchy, all classes";
+                                               };
+                                               Tab3 = {
+                                                       SplitCount = 2;
+                                               };
+                                               TabCount = 6;
+                                       };
+                               },
+                               {
+                                       LeftSlideOut = {
+                                               Split0 = {
+                                                       Split0 = {
+                                                               NavCount = 1;
+                                                               NavGeometry0 = {
+                                                                       Frame = "{{0, 0}, {749, 262}}";
+                                                                       NavBarVisible = YES;
+                                                               };
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Split0 = {
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       TabCount = 2;
+                                                               };
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                               };
+                                                       };
+                                                       TabCount = 4;
+                                               };
+                                               SplitCount = 1;
+                                               Tab1 = {
+                                                       OptionsSetName = "Hierarchy, all classes";
+                                               };
+                                               Tab3 = {
+                                                       SplitCount = 2;
+                                               };
+                                               TabCount = 6;
+                                       };
+                               },
+                       );
+                       PBXWorkspaceGeometries = (
+                               {
+                                       ContentSize = "{1174, 678}";
+                                       LeftSlideOut = {
+                                               ActiveTab = 0;
+                                               Collapsed = NO;
+                                               Frame = "{{0, 23}, {1174, 655}}";
+                                               Split0 = {
+                                                       Collapsed = NO;
+                                                       Frame = "{{247, 0}, {927, 655}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 0}, {927, 655}}";
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Collapsed = NO;
+                                                                       Frame = "{{0, 0}, {681, 289}}";
+                                                                       Split0 = {
+                                                                               Frame = "{{0, 24}, {681, 265}}";
+                                                                               Split0 = {
+                                                                                       Frame = "{{0, 0}, {333, 265}}";
+                                                                               };
+                                                                               Split1 = {
+                                                                                       DebugVariablesTableConfiguration = (
+                                                                                               Name,
+                                                                                               82.80298,
+                                                                                               Value,
+                                                                                               104.074,
+                                                                                               Summary,
+                                                                                               126.123,
+                                                                                       );
+                                                                                       Frame = "{{342, 0}, {339, 265}}";
+                                                                               };
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       Tab0 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       Tab1 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       TabCount = 2;
+                                                                       TabsVisible = YES;
+                                                               };
+                                                               Frame = "{{0, 0}, {681, 289}}";
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               Frame = "{{0, 0}, {681, 120}}";
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                                       Frame = "{{0, 0}, {681, 120}}";
+                                                               };
+                                                       };
+                                                       Tab2 = {
+                                                               BuildMessageFrame = "{{0, 0}, {683, 127}}";
+                                                               BuildTranscriptFrame = "{{0, 136}, {683, 100}}";
+                                                               Frame = "{{0, 0}, {681, 234}}";
+                                                       };
+                                                       Tab3 = {
+                                                               Frame = "{{0, 0}, {681, 238}}";
+                                                       };
+                                                       TabCount = 4;
+                                                       TabsVisible = NO;
+                                               };
+                                               SplitCount = 1;
+                                               Tab0 = {
+                                                       Frame = "{{0, 0}, {223, 655}}";
+                                                       GroupTreeTableConfiguration = (
+                                                               TargetStatusColumn,
+                                                               18,
+                                                               MainColumn,
+                                                               190,
+                                                       );
+                                               };
+                                               Tab1 = {
+                                                       ClassesFrame = "{{0, 0}, {250, 333}}";
+                                                       ClassesTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXClassColumnIdentifier,
+                                                               207,
+                                                       );
+                                                       Frame = "{{0, 0}, {248, 554}}";
+                                                       MembersFrame = "{{0, 342}, {250, 212}}";
+                                                       MembersTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXMethodColumnIdentifier,
+                                                               206,
+                                                       );
+                                               };
+                                               Tab2 = {
+                                                       Frame = "{{0, 0}, {217, 554}}";
+                                               };
+                                               Tab3 = {
+                                                       Frame = "{{0, 0}, {239, 554}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 0}, {239, 268}}";
+                                                               TargetTreeTableConfiguration = (
+                                                                       ActiveTarget,
+                                                                       16,
+                                                                       TargetName,
+                                                                       207,
+                                                               );
+                                                       };
+                                                       Split1 = {
+                                                               BuildStyleTreeTableConfiguration = (
+                                                                       IsActive,
+                                                                       16,
+                                                                       Name,
+                                                                       208,
+                                                               );
+                                                               Frame = "{{0, 277}, {239, 277}}";
+                                                       };
+                                                       SplitCount = 2;
+                                               };
+                                               Tab4 = {
+                                                       ExecutableTreeTableConfiguration = (
+                                                               ActiveExecutable,
+                                                               16,
+                                                               ExecutableName,
+                                                               217,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 554}}";
+                                               };
+                                               Tab5 = {
+                                                       BreakpointsTreeTableConfiguration = (
+                                                               breakpointColumn,
+                                                               197,
+                                                               enabledColumn,
+                                                               31,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 554}}";
+                                               };
+                                               TabCount = 6;
+                                               TabsVisible = YES;
+                                       };
+                                       StatusViewVisible = YES;
+                                       Template = 64ABBB4501FA494900185B06;
+                                       ToolbarVisible = YES;
+                                       WindowLocation = "{80, 223}";
+                               },
+                               {
+                                       ContentSize = "{958, 664}";
+                                       LeftSlideOut = {
+                                               Collapsed = NO;
+                                               Frame = "{{0, 23}, {958, 641}}";
+                                               Split0 = {
+                                                       ActiveTab = 2;
+                                                       Collapsed = NO;
+                                                       Frame = "{{0, 0}, {958, 641}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 451}, {958, 190}}";
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Collapsed = NO;
+                                                                       Frame = "{{0, 0}, {952, 321}}";
+                                                                       Split0 = {
+                                                                               Frame = "{{0, 24}, {952, 297}}";
+                                                                               Split0 = {
+                                                                                       Frame = "{{0, 0}, {468, 297}}";
+                                                                               };
+                                                                               Split1 = {
+                                                                                       DebugVariablesTableConfiguration = (
+                                                                                               Name,
+                                                                                               126.803,
+                                                                                               Value,
+                                                                                               150.074,
+                                                                                               Summary,
+                                                                                               172.123,
+                                                                                       );
+                                                                                       Frame = "{{477, 0}, {475, 297}}";
+                                                                               };
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       Tab0 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       Tab1 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       TabCount = 2;
+                                                                       TabsVisible = YES;
+                                                               };
+                                                               Frame = "{{0, 0}, {952, 321}}";
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               Frame = "{{0, 0}, {781, 452}}";
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                                       Frame = "{{0, 0}, {781, 452}}";
+                                                               };
+                                                       };
+                                                       Tab2 = {
+                                                               BuildMessageFrame = "{{0, 0}, {960, 116}}";
+                                                               BuildTranscriptFrame = "{{0, 125}, {960, 322}}";
+                                                               Frame = "{{0, 0}, {958, 445}}";
+                                                       };
+                                                       Tab3 = {
+                                                               Frame = "{{0, 0}, {612, 295}}";
+                                                       };
+                                                       TabCount = 4;
+                                                       TabsVisible = NO;
+                                               };
+                                               SplitCount = 1;
+                                               Tab0 = {
+                                                       Frame = "{{0, 0}, {300, 533}}";
+                                                       GroupTreeTableConfiguration = (
+                                                               TargetStatusColumn,
+                                                               18,
+                                                               MainColumn,
+                                                               267,
+                                                       );
+                                               };
+                                               Tab1 = {
+                                                       ClassesFrame = "{{0, 0}, {280, 398}}";
+                                                       ClassesTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXClassColumnIdentifier,
+                                                               237,
+                                                       );
+                                                       Frame = "{{0, 0}, {278, 659}}";
+                                                       MembersFrame = "{{0, 407}, {280, 252}}";
+                                                       MembersTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXMethodColumnIdentifier,
+                                                               236,
+                                                       );
+                                               };
+                                               Tab2 = {
+                                                       Frame = "{{0, 0}, {200, 100}}";
+                                               };
+                                               Tab3 = {
+                                                       Frame = "{{0, 0}, {200, 100}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 0}, {200, 45}}";
+                                                               TargetTreeTableConfiguration = (
+                                                                       ActiveTarget,
+                                                                       16,
+                                                                       TargetName,
+                                                                       168,
+                                                               );
+                                                       };
+                                                       Split1 = {
+                                                               BuildStyleTreeTableConfiguration = (
+                                                                       IsActive,
+                                                                       16,
+                                                                       Name,
+                                                                       169,
+                                                               );
+                                                               Frame = "{{0, 54}, {200, 46}}";
+                                                       };
+                                                       SplitCount = 2;
+                                               };
+                                               Tab4 = {
+                                                       ExecutableTreeTableConfiguration = (
+                                                               ActiveExecutable,
+                                                               16,
+                                                               ExecutableName,
+                                                               217,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 100}}";
+                                               };
+                                               Tab5 = {
+                                                       BreakpointsTreeTableConfiguration = (
+                                                               breakpointColumn,
+                                                               197,
+                                                               enabledColumn,
+                                                               31,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 100}}";
+                                               };
+                                               TabCount = 6;
+                                               TabsVisible = NO;
+                                       };
+                                       StatusViewVisible = YES;
+                                       Template = F5314676015831810DCA290F;
+                                       ToolbarVisible = YES;
+                                       WindowLocation = "{296, 113}";
+                               },
+                               {
+                                       ContentSize = "{773, 558}";
+                                       LeftSlideOut = {
+                                               Collapsed = NO;
+                                               Frame = "{{0, 23}, {773, 535}}";
+                                               Split0 = {
+                                                       ActiveTab = 0;
+                                                       Collapsed = NO;
+                                                       Frame = "{{24, 0}, {749, 535}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 273}, {749, 262}}";
+                                                       };
+                                                       SplitCount = 1;
+                                                       Tab0 = {
+                                                               Debugger = {
+                                                                       Collapsed = NO;
+                                                                       Frame = "{{0, 0}, {749, 267}}";
+                                                                       Split0 = {
+                                                                               Frame = "{{0, 24}, {749, 243}}";
+                                                                               Split0 = {
+                                                                                       Frame = "{{0, 0}, {366, 243}}";
+                                                                               };
+                                                                               Split1 = {
+                                                                                       DebugVariablesTableConfiguration = (
+                                                                                               Name,
+                                                                                               93.80298,
+                                                                                               Value,
+                                                                                               116.074,
+                                                                                               Summary,
+                                                                                               138.123,
+                                                                                       );
+                                                                                       Frame = "{{375, 0}, {374, 243}}";
+                                                                               };
+                                                                               SplitCount = 2;
+                                                                       };
+                                                                       SplitCount = 1;
+                                                                       Tab0 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       Tab1 = {
+                                                                               Frame = "{{0, 0}, {100, 50}}";
+                                                                       };
+                                                                       TabCount = 2;
+                                                                       TabsVisible = YES;
+                                                               };
+                                                               Frame = "{{0, 0}, {749, 267}}";
+                                                               LauncherConfigVersion = 7;
+                                                       };
+                                                       Tab1 = {
+                                                               Frame = "{{0, 0}, {664, 208}}";
+                                                               LauncherConfigVersion = 3;
+                                                               Runner = {
+                                                                       Frame = "{{0, 0}, {664, 208}}";
+                                                               };
+                                                       };
+                                                       Tab2 = {
+                                                               BuildMessageFrame = "{{0, 0}, {666, 43}}";
+                                                               BuildTranscriptFrame = "{{0, 52}, {666, 0}}";
+                                                               Frame = "{{0, 0}, {664, 50}}";
+                                                       };
+                                                       Tab3 = {
+                                                               Frame = "{{0, 0}, {612, 295}}";
+                                                       };
+                                                       TabCount = 4;
+                                                       TabsVisible = NO;
+                                               };
+                                               SplitCount = 1;
+                                               Tab0 = {
+                                                       Frame = "{{0, 0}, {313, 531}}";
+                                                       GroupTreeTableConfiguration = (
+                                                               TargetStatusColumn,
+                                                               18,
+                                                               MainColumn,
+                                                               280,
+                                                       );
+                                               };
+                                               Tab1 = {
+                                                       ClassesFrame = "{{0, 0}, {280, 398}}";
+                                                       ClassesTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXClassColumnIdentifier,
+                                                               237,
+                                                       );
+                                                       Frame = "{{0, 0}, {278, 659}}";
+                                                       MembersFrame = "{{0, 407}, {280, 252}}";
+                                                       MembersTreeTableConfiguration = (
+                                                               PBXBookColumnIdentifier,
+                                                               20,
+                                                               PBXMethodColumnIdentifier,
+                                                               236,
+                                                       );
+                                               };
+                                               Tab2 = {
+                                                       Frame = "{{0, 0}, {200, 100}}";
+                                               };
+                                               Tab3 = {
+                                                       Frame = "{{0, 0}, {200, 557}}";
+                                                       Split0 = {
+                                                               Frame = "{{0, 0}, {200, 270}}";
+                                                               TargetTreeTableConfiguration = (
+                                                                       ActiveTarget,
+                                                                       16,
+                                                                       TargetName,
+                                                                       168,
+                                                               );
+                                                       };
+                                                       Split1 = {
+                                                               BuildStyleTreeTableConfiguration = (
+                                                                       IsActive,
+                                                                       16,
+                                                                       Name,
+                                                                       169,
+                                                               );
+                                                               Frame = "{{0, 279}, {200, 278}}";
+                                                       };
+                                                       SplitCount = 2;
+                                               };
+                                               Tab4 = {
+                                                       ExecutableTreeTableConfiguration = (
+                                                               ActiveExecutable,
+                                                               16,
+                                                               ExecutableName,
+                                                               217,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 100}}";
+                                               };
+                                               Tab5 = {
+                                                       BreakpointsTreeTableConfiguration = (
+                                                               breakpointColumn,
+                                                               197,
+                                                               enabledColumn,
+                                                               31,
+                                                       );
+                                                       Frame = "{{0, 0}, {250, 100}}";
+                                               };
+                                               TabCount = 6;
+                                               TabsVisible = YES;
+                                       };
+                                       StatusViewVisible = YES;
+                                       Template = F5CA7ECC015C09990DCA290F;
+                                       ToolbarVisible = YES;
+                                       WindowLocation = "{13, 372}";
+                               },
+                       );
+                       PBXWorkspaceStateSaveDate = 41550216;
+               };
+               perUserProjectItems = {
+                       F553E33702724F48012A168D = F553E33702724F48012A168D;
+                       F553E33802724F48012A168D = F553E33802724F48012A168D;
+                       F553E33A02724F48012A168D = F553E33A02724F48012A168D;
+                       F553E33B02724F48012A168D = F553E33B02724F48012A168D;
+                       F57C7C62027A0083012A168D = F57C7C62027A0083012A168D;
+                       F57C7C63027A0083012A168D = F57C7C63027A0083012A168D;
+                       F57C7C64027A0083012A168D = F57C7C64027A0083012A168D;
+                       F57C7C66027A0083012A168D = F57C7C66027A0083012A168D;
+                       F57C7C67027A0083012A168D = F57C7C67027A0083012A168D;
+                       F57C7C68027A0083012A168D = F57C7C68027A0083012A168D;
+                       F57C7C6A027A0083012A168D = F57C7C6A027A0083012A168D;
+                       F57C7C6B027A0083012A168D = F57C7C6B027A0083012A168D;
+                       F57C7C6C027A0083012A168D = F57C7C6C027A0083012A168D;
+                       F57C7C8E027A04E7012A168D = F57C7C8E027A04E7012A168D;
+                       F57C7C8F027A04E7012A168D = F57C7C8F027A04E7012A168D;
+                       F57C7C90027A04E7012A168D = F57C7C90027A04E7012A168D;
+               };
+               projectwideBuildSettings = {
+                       OBJROOT = /Users/ben/Desktop/jumpnbumpc/jumpnbump/PB/build;
+                       SYMROOT = /Users/ben/Desktop/jumpnbumpc/output;
+               };
+               wantsIndex = 1;
+               wantsSCM = -1;
+       };
+       29B97326FDCFA39411CA2CEA = {
+               activeExec = 0;
+               executables = (
+                       F5CA6AF4026B5039012A168D,
+               );
+       };
+       F553E33602721C3D012A168D = {
+               fileReference = F5C435AD026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 7;
+               state = 2;
+       };
+       F553E33702724F48012A168D = {
+               fRef = F556CBA30271DD9A012A168D;
+               isa = PBXTextBookmark;
+               name = "sound.c: 298";
+               rLen = 7;
+               rLoc = 7707;
+               rType = 0;
+               vrLen = 1791;
+               vrLoc = 4344;
+       };
+       F553E33802724F48012A168D = {
+               fRef = F553E33D02724F48012A168D;
+               isa = PBXBookmark;
+       };
+       F553E33A02724F48012A168D = {
+               fRef = F556CBA30271DD9A012A168D;
+               isa = PBXTextBookmark;
+               name = "sound.c: 298";
+               rLen = 7;
+               rLoc = 7707;
+               rType = 0;
+               vrLen = 1791;
+               vrLoc = 4344;
+       };
+       F553E33B02724F48012A168D = {
+               fRef = F553E33E02724F48012A168D;
+               isa = PBXBookmark;
+       };
+       F553E33D02724F48012A168D = {
+               isa = PBXFileReference;
+               name = ReleaseNotes.html;
+               path = "/Developer/Applications/Project Builder.app/Contents/Resources/English.lproj/ReleaseNotes.html";
+               refType = 0;
+       };
+       F553E33E02724F48012A168D = {
+               isa = PBXFileReference;
+               name = ReleaseNotes.html;
+               path = "/Developer/Applications/Project Builder.app/Contents/Resources/English.lproj/ReleaseNotes.html";
+               refType = 0;
+       };
+       F57C7C62027A0083012A168D = {
+               fRef = F5C435AD026C8997012A168D;
+               isa = PBXTextBookmark;
+               name = "menu.c: 1";
+               rLen = 0;
+               rLoc = 0;
+               rType = 0;
+               vrLen = 1805;
+               vrLoc = 0;
+       };
+       F57C7C63027A0083012A168D = {
+               fRef = 089C165DFE840E0CC02AAC07;
+               isa = PBXTextBookmark;
+               name = "English: 5";
+               rLen = 0;
+               rLoc = 173;
+               rType = 0;
+               vrLen = 239;
+               vrLoc = 0;
+       };
+       F57C7C64027A0083012A168D = {
+               fRef = F5A47A9E01A0483001D3D55B;
+               isa = PBXTextBookmark;
+               name = "SDLMain.m: main";
+               rLen = 0;
+               rLoc = 6158;
+               rType = 0;
+               vrLen = 712;
+               vrLoc = 5446;
+       };
+       F57C7C66027A0083012A168D = {
+               fRef = F5C435AD026C8997012A168D;
+               isa = PBXTextBookmark;
+               name = "menu.c: 1";
+               rLen = 0;
+               rLoc = 0;
+               rType = 0;
+               vrLen = 1805;
+               vrLoc = 0;
+       };
+       F57C7C67027A0083012A168D = {
+               fRef = F5A47A9E01A0483001D3D55B;
+               isa = PBXTextBookmark;
+               name = "SDLMain.m: 1";
+               rLen = 0;
+               rLoc = 0;
+               rType = 0;
+               vrLen = 1697;
+               vrLoc = 0;
+       };
+       F57C7C68027A0083012A168D = {
+               fRef = 089C165DFE840E0CC02AAC07;
+               isa = PBXTextBookmark;
+               name = "English: 1";
+               rLen = 0;
+               rLoc = 0;
+               rType = 0;
+               vrLen = 265;
+               vrLoc = 0;
+       };
+       F57C7C6A027A0083012A168D = {
+               fRef = F5A47A9E01A0483001D3D55B;
+               isa = PBXTextBookmark;
+               name = "SDLMain.m: SDL_USE_NIB_FILE";
+               rLen = 0;
+               rLoc = 1724;
+               rType = 0;
+               vrLen = 1260;
+               vrLoc = 1514;
+       };
+       F57C7C6B027A0083012A168D = {
+               fRef = 089C165DFE840E0CC02AAC07;
+               isa = PBXTextBookmark;
+               name = "English: 5";
+               rLen = 0;
+               rLoc = 173;
+               rType = 0;
+               vrLen = 239;
+               vrLoc = 0;
+       };
+       F57C7C6C027A0083012A168D = {
+               fRef = F5A47A9E01A0483001D3D55B;
+               isa = PBXTextBookmark;
+               name = "SDLMain.m: main";
+               rLen = 0;
+               rLoc = 6158;
+               rType = 0;
+               vrLen = 712;
+               vrLoc = 5446;
+       };
+       F57C7C8E027A04E7012A168D = {
+               isa = PBXTargetBookmark;
+               trg = 29B97326FDCFA39411CA2CEA;
+               uiCtxt = {
+                       buildPhasesExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                       );
+                       buildPhasesVisRect = "{{0, 0}, {912, 604}}";
+                       buildSettingsExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                               5,
+                               8,
+                       );
+                       buildSettingsVisRect = "{{0, 0}, {393, 256}}";
+                       expertProductSettingsVisRect = "{{0, 0}, {464, 403}}";
+                       guiProductSettingsExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                               5,
+                               6,
+                       );
+                       guiProductSettingsVisRect = "{{0, 0}, {2000, 1428}}";
+                       productSettingsIsSimple = YES;
+                       selectedTab = buildPhases;
+               };
+       };
+       F57C7C8F027A04E7012A168D = {
+               isa = PBXTargetBookmark;
+               trg = 29B97326FDCFA39411CA2CEA;
+               uiCtxt = {
+                       buildPhasesExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                       );
+                       buildPhasesVisRect = "{{0, 0}, {912, 604}}";
+                       buildSettingsExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                               5,
+                               8,
+                       );
+                       buildSettingsVisRect = "{{0, 0}, {393, 256}}";
+                       expertProductSettingsVisRect = "{{0, 0}, {464, 403}}";
+                       guiProductSettingsExpandedSubviews = (
+                               0,
+                               1,
+                               2,
+                               3,
+                               4,
+                               5,
+                               6,
+                       );
+                       guiProductSettingsVisRect = "{{0, 0}, {2000, 1428}}";
+                       productSettingsIsSimple = YES;
+                       selectedTab = buildPhases;
+               };
+       };
+       F57C7C90027A04E7012A168D = {
+               fRef = F5A47A9E01A0483001D3D55B;
+               isa = PBXTextBookmark;
+               name = "SDLMain.m: 228";
+               rLen = 0;
+               rLoc = 6158;
+               rType = 0;
+               vrLen = 1651;
+               vrLoc = 0;
+       };
+       F5C435BB026C8C7E012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 2274;
+               state = 2;
+       };
+       F5C435BC026C8C93012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1909;
+               state = 2;
+       };
+       F5C435BD026C8CBC012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1906;
+               state = 2;
+       };
+       F5C435BE026C8CE2012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 2288;
+               state = 2;
+       };
+       F5C435BF026C8CE2012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 2294;
+               state = 2;
+       };
+       F5C435C0026C8FA8012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 2244;
+               state = 2;
+       };
+       F5C435C1026C9035012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 2282;
+               state = 2;
+       };
+       F5C435C3026C9AA7012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 722;
+               state = 2;
+       };
+       F5C435C4026C9AC3012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 232;
+               state = 1;
+       };
+       F5C435C5026C9AC3012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 228;
+               state = 2;
+       };
+       F5C435C6026C9ADC012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1959;
+               state = 2;
+       };
+       F5C435C7026C9AF1012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1884;
+               state = 2;
+       };
+       F5C435C8026C9B29012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1917;
+               state = 2;
+       };
+       F5C435C9026C9B29012A168D = {
+               fileReference = F5C435B2026C8997012A168D;
+               isa = PBXFileBreakpoint;
+               lineNumber = 1958;
+               state = 2;
+       };
+       F5CA6AF4026B5039012A168D = {
+               activeArgIndex = 2147483647;
+               argumentStrings = (
+               );
+               debuggerPlugin = GDBDebugging;
+               dylibVariantSuffix = "";
+               enableDebugStr = 1;
+               environmentEntries = (
+               );
+               isa = PBXExecutable;
+               name = JumpNBump;
+               shlibInfoDictList = (
+               );
+               sourceDirectories = (
+               );
+       };
+       F5CA6B13026B535C012A168D = {
+               activeExec = 0;
+               executables = (
+                       F5CA6B19026B535C012A168D,
+               );
+       };
+       F5CA6B19026B535C012A168D = {
+               activeArgIndex = 2147483647;
+               argumentStrings = (
+               );
+               debuggerPlugin = GDBDebugging;
+               dylibVariantSuffix = "";
+               enableDebugStr = 1;
+               environmentEntries = (
+               );
+               isa = PBXExecutable;
+               name = unpack;
+               shlibInfoDictList = (
+               );
+               sourceDirectories = (
+               );
+       };
+       F5CA6B1B026B5376012A168D = {
+               activeExec = 0;
+               executables = (
+                       F5CA6B21026B5378012A168D,
+               );
+       };
+       F5CA6B21026B5378012A168D = {
+               activeArgIndex = 2147483647;
+               argumentStrings = (
+               );
+               debuggerPlugin = GDBDebugging;
+               enableDebugStr = 1;
+               environmentEntries = (
+               );
+               isa = PBXExecutable;
+               name = pack;
+               shlibInfoDictList = (
+               );
+               sourceDirectories = (
+               );
+       };
+}
diff --git a/PB/JumpNBump.pbproj/project.pbxproj b/PB/JumpNBump.pbproj/project.pbxproj
new file mode 100644 (file)
index 0000000..3aa7352
--- /dev/null
@@ -0,0 +1,671 @@
+// !$*UTF8*$!
+{
+       archiveVersion = 1;
+       classes = {
+       };
+       objectVersion = 38;
+       objects = {
+               080E96DDFE201D6D7F000001 = {
+                       children = (
+                               F5A47A9E01A0483001D3D55B,
+                       );
+                       isa = PBXGroup;
+                       name = Classes;
+                       refType = 4;
+               };
+               089C165CFE840E0CC02AAC07 = {
+                       children = (
+                               089C165DFE840E0CC02AAC07,
+                       );
+                       isa = PBXVariantGroup;
+                       name = InfoPlist.strings;
+                       refType = 4;
+               };
+               089C165DFE840E0CC02AAC07 = {
+                       fileEncoding = 10;
+                       isa = PBXFileReference;
+                       name = English;
+                       path = English.lproj/InfoPlist.strings;
+                       refType = 4;
+               };
+               089C165EFE840E0CC02AAC07 = {
+                       fileRef = 089C165CFE840E0CC02AAC07;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+//080
+//081
+//082
+//083
+//084
+//100
+//101
+//102
+//103
+//104
+               1058C7A0FEA54F0111CA2CBB = {
+                       children = (
+                               1058C7A1FEA54F0111CA2CBB,
+                       );
+                       isa = PBXGroup;
+                       name = "Linked Frameworks";
+                       refType = 4;
+               };
+               1058C7A1FEA54F0111CA2CBB = {
+                       isa = PBXFrameworkReference;
+                       name = Cocoa.framework;
+                       path = /System/Library/Frameworks/Cocoa.framework;
+                       refType = 0;
+               };
+               1058C7A2FEA54F0111CA2CBB = {
+                       children = (
+                               29B97325FDCFA39411CA2CEA,
+                               29B97324FDCFA39411CA2CEA,
+                       );
+                       isa = PBXGroup;
+                       name = "Other Frameworks";
+                       refType = 4;
+               };
+               1058C7A3FEA54F0111CA2CBB = {
+                       fileRef = 1058C7A1FEA54F0111CA2CBB;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+//100
+//101
+//102
+//103
+//104
+//170
+//171
+//172
+//173
+//174
+               17587328FF379C6511CA2CBB = {
+                       isa = PBXApplicationReference;
+                       path = JumpNBump.app;
+                       refType = 3;
+               };
+//170
+//171
+//172
+//173
+//174
+//190
+//191
+//192
+//193
+//194
+               19C28FACFE9D520D11CA2CBB = {
+                       children = (
+                               17587328FF379C6511CA2CBB,
+                               F5CA6B12026B535C012A168D,
+                               F5CA6B1A026B5376012A168D,
+                       );
+                       isa = PBXGroup;
+                       name = Products;
+                       refType = 4;
+               };
+//190
+//191
+//192
+//193
+//194
+//290
+//291
+//292
+//293
+//294
+               29B97313FDCFA39411CA2CEA = {
+                       buildStyles = (
+                               4A9504CCFFE6A4B311CA0CBA,
+                               4A9504CDFFE6A4B311CA0CBA,
+                       );
+                       isa = PBXProject;
+                       mainGroup = 29B97314FDCFA39411CA2CEA;
+                       projectDirPath = "";
+                       targets = (
+                               29B97326FDCFA39411CA2CEA,
+                               F5CA6B13026B535C012A168D,
+                               F5CA6B1B026B5376012A168D,
+                       );
+               };
+               29B97314FDCFA39411CA2CEA = {
+                       children = (
+                               080E96DDFE201D6D7F000001,
+                               29B97315FDCFA39411CA2CEA,
+                               29B97317FDCFA39411CA2CEA,
+                               29B97323FDCFA39411CA2CEA,
+                               19C28FACFE9D520D11CA2CBB,
+                       );
+                       isa = PBXGroup;
+                       name = "SDL App";
+                       path = "";
+                       refType = 4;
+               };
+               29B97315FDCFA39411CA2CEA = {
+                       children = (
+                               F5C435A6026C8394012A168D,
+                               F5C435AD026C8997012A168D,
+                               F5C435AE026C8997012A168D,
+                               F5C435AF026C8997012A168D,
+                               F5C435B0026C8997012A168D,
+                               F5C435B1026C8997012A168D,
+                               F5C435B2026C8997012A168D,
+                               F5CA6AF5026B505E012A168D,
+                       );
+                       isa = PBXGroup;
+                       name = "Other Sources";
+                       path = "";
+                       refType = 4;
+               };
+               29B97317FDCFA39411CA2CEA = {
+                       children = (
+                               089C165CFE840E0CC02AAC07,
+                               F57C7C600279FFCF012A168D,
+                       );
+                       isa = PBXGroup;
+                       name = Resources;
+                       path = "";
+                       refType = 4;
+               };
+               29B97323FDCFA39411CA2CEA = {
+                       children = (
+                               1058C7A0FEA54F0111CA2CBB,
+                               F5CA6B0E026B50C2012A168D,
+                               1058C7A2FEA54F0111CA2CBB,
+                       );
+                       isa = PBXGroup;
+                       name = Frameworks;
+                       path = "";
+                       refType = 4;
+               };
+               29B97324FDCFA39411CA2CEA = {
+                       isa = PBXFrameworkReference;
+                       name = AppKit.framework;
+                       path = /System/Library/Frameworks/AppKit.framework;
+                       refType = 0;
+               };
+               29B97325FDCFA39411CA2CEA = {
+                       isa = PBXFrameworkReference;
+                       name = Foundation.framework;
+                       path = /System/Library/Frameworks/Foundation.framework;
+                       refType = 0;
+               };
+               29B97326FDCFA39411CA2CEA = {
+                       buildPhases = (
+                               29B97327FDCFA39411CA2CEA,
+                               29B97328FDCFA39411CA2CEA,
+                               29B9732BFDCFA39411CA2CEA,
+                               29B9732DFDCFA39411CA2CEA,
+                               F57C7C3F0279FEDD012A168D,
+                       );
+                       buildSettings = {
+                               FRAMEWORK_SEARCH_PATHS = "\"$(HOME)/Library/Frameworks\" /Users/ben/Library/Frameworks";
+                               HEADER_SEARCH_PATHS = "/sw/include \"$(HOME)/Library/Frameworks/SDL_mixer.framework/Headers\" \"$(HOME)/Library/Frameworks/SDL.framework/Headers\"";
+                               INSTALL_PATH = "$(HOME)/Applications";
+                               LIBRARY_SEARCH_PATHS = /sw/lib;
+                               OPTIMIZATION_CFLAGS = "-O0";
+                               OTHER_CFLAGS = "-ffast-math -funroll-loops -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DUSE_SDL -D_THREAD_SAFE";
+                               OTHER_LDFLAGS = "-framework SDL";
+                               PRODUCT_NAME = JumpNBump;
+                               SECTORDER_FLAGS = "";
+                               WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
+                               WRAPPER_EXTENSION = app;
+                       };
+                       dependencies = (
+                               F5C435A7026C8394012A168D,
+                               F5C435A8026C8394012A168D,
+                       );
+                       isa = PBXApplicationTarget;
+                       name = JumpNBump;
+                       productInstallPath = "$(HOME)/Applications";
+                       productName = "SDL App";
+                       productReference = 17587328FF379C6511CA2CBB;
+                       productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+<!DOCTYPE plist SYSTEM \"file://localhost/System/Library/DTDs/PropertyList.dtd\">
+<plist version=\"0.9\">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleExecutable</key>
+       <string>JumpNBump</string>
+       <key>CFBundleGetInfoString</key>
+       <string>JumpNBump 1.2</string>
+       <key>CFBundleIconFile</key>
+       <string></string>
+       <key>CFBundleIdentifier</key>
+       <string>net.sf.jumpnbump</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>JumpNBump</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleShortVersionString</key>
+       <string>1.2</string>
+       <key>CFBundleSignature</key>
+       <string>jpnb</string>
+       <key>CFBundleVersion</key>
+       <string>1.2</string>
+       <key>NSMainNibFile</key>
+       <string>SDLMain.nib</string>
+       <key>NSPrincipalClass</key>
+       <string>NSApplication</string>
+</dict>
+</plist>
+";
+                       shouldUseHeadermap = 1;
+               };
+               29B97327FDCFA39411CA2CEA = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               F5C435B3026C8997012A168D,
+                               F5C435B4026C8997012A168D,
+                               F5C435B5026C8997012A168D,
+                       );
+                       isa = PBXHeadersBuildPhase;
+               };
+               29B97328FDCFA39411CA2CEA = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               089C165EFE840E0CC02AAC07,
+                               F57C7C610279FFCF012A168D,
+                       );
+                       isa = PBXResourcesBuildPhase;
+               };
+               29B9732BFDCFA39411CA2CEA = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               F5A47AA301A0483001D3D55B,
+                               F5C435B6026C8997012A168D,
+                               F5C435B7026C8997012A168D,
+                               F59A9B8B026DCE30012A168D,
+                               F556CBA40271DD9A012A168D,
+                               F556CBA50271DD9A012A168D,
+                               F556CBA60271DD9A012A168D,
+                               F556CBA70271DD9A012A168D,
+                       );
+                       isa = PBXSourcesBuildPhase;
+               };
+               29B9732DFDCFA39411CA2CEA = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               1058C7A3FEA54F0111CA2CBB,
+                               F5CA6B0F026B50C2012A168D,
+                       );
+                       isa = PBXFrameworksBuildPhase;
+               };
+//290
+//291
+//292
+//293
+//294
+//4A0
+//4A1
+//4A2
+//4A3
+//4A4
+               4A9504CCFFE6A4B311CA0CBA = {
+                       buildRules = (
+                       );
+                       buildSettings = {
+                               COPY_PHASE_STRIP = NO;
+                               OPTIMIZATION_CFLAGS = "-O0";
+                       };
+                       isa = PBXBuildStyle;
+                       name = Development;
+               };
+               4A9504CDFFE6A4B311CA0CBA = {
+                       buildRules = (
+                       );
+                       buildSettings = {
+                               COPY_PHASE_STRIP = YES;
+                       };
+                       isa = PBXBuildStyle;
+                       name = Deployment;
+               };
+//4A0
+//4A1
+//4A2
+//4A3
+//4A4
+//F50
+//F51
+//F52
+//F53
+//F54
+               F556CBA00271DD9A012A168D = {
+                       isa = PBXFileReference;
+                       name = gfx.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/sdl/gfx.c;
+                       refType = 0;
+               };
+               F556CBA10271DD9A012A168D = {
+                       isa = PBXFileReference;
+                       name = input.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/sdl/input.c;
+                       refType = 0;
+               };
+               F556CBA20271DD9A012A168D = {
+                       isa = PBXFileReference;
+                       name = interrpt.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/sdl/interrpt.c;
+                       refType = 0;
+               };
+               F556CBA30271DD9A012A168D = {
+                       isa = PBXFileReference;
+                       name = sound.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/sdl/sound.c;
+                       refType = 0;
+               };
+               F556CBA40271DD9A012A168D = {
+                       fileRef = F556CBA00271DD9A012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F556CBA50271DD9A012A168D = {
+                       fileRef = F556CBA10271DD9A012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F556CBA60271DD9A012A168D = {
+                       fileRef = F556CBA20271DD9A012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F556CBA70271DD9A012A168D = {
+                       fileRef = F556CBA30271DD9A012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F57C7C3F0279FEDD012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       generatedFileNames = (
+                       );
+                       isa = PBXShellScriptBuildPhase;
+                       neededFileNames = (
+                       );
+                       shellPath = /bin/sh;
+                       shellScript = "chdir ../data\n${SYMROOT}/pack -o jumpbump.dat bump.mod calib.dat death.smp fly.smp font.gob jump.mod jump.smp levelmap.txt level.pcx mask.pcx menu.pcx menumask.pcx numbers.gob objects.gob rabbit.gob scores.mod splash.smp spring.smp\nmkdir ${SYMROOT}/JumpNBump.app/Contents/Resources/data/\ncp jumpbump.dat ${SYMROOT}/JumpNBump.app/Contents/Resources/data/jumpbump.dat";
+               };
+               F57C7C600279FFCF012A168D = {
+                       isa = PBXFileReference;
+                       name = SDLMain.nib;
+                       path = /Users/ben/Library/Frameworks/SDL.framework/Versions/A/Resources/SDLMain.nib;
+                       refType = 0;
+               };
+               F57C7C610279FFCF012A168D = {
+                       fileRef = F57C7C600279FFCF012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F59A9B8B026DCE30012A168D = {
+                       fileRef = F5C435B2026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5A47A9E01A0483001D3D55B = {
+                       isa = PBXFileReference;
+                       path = SDLMain.m;
+                       refType = 2;
+               };
+               F5A47AA301A0483001D3D55B = {
+                       fileRef = F5A47A9E01A0483001D3D55B;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435A6026C8394012A168D = {
+                       children = (
+                               F5CA6B0A026B5089012A168D,
+                               F5C435B9026C89A2012A168D,
+                       );
+                       isa = PBXGroup;
+                       name = modify;
+                       refType = 4;
+               };
+               F5C435A7026C8394012A168D = {
+                       isa = PBXTargetDependency;
+                       target = F5CA6B1B026B5376012A168D;
+               };
+               F5C435A8026C8394012A168D = {
+                       isa = PBXTargetDependency;
+                       target = F5CA6B13026B535C012A168D;
+               };
+               F5C435AD026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = menu.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/menu.c;
+                       refType = 0;
+               };
+               F5C435AE026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = config.h;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/config.h;
+                       refType = 0;
+               };
+               F5C435AF026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = dj.h;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/dj.h;
+                       refType = 0;
+               };
+               F5C435B0026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = fireworks.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/fireworks.c;
+                       refType = 0;
+               };
+               F5C435B1026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = globals.h;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/globals.h;
+                       refType = 0;
+               };
+               F5C435B2026C8997012A168D = {
+                       isa = PBXFileReference;
+                       name = main.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/main.c;
+                       refType = 0;
+               };
+               F5C435B3026C8997012A168D = {
+                       fileRef = F5C435AE026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435B4026C8997012A168D = {
+                       fileRef = F5C435AF026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435B5026C8997012A168D = {
+                       fileRef = F5C435B1026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435B6026C8997012A168D = {
+                       fileRef = F5C435AD026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435B7026C8997012A168D = {
+                       fileRef = F5C435B0026C8997012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5C435B9026C89A2012A168D = {
+                       isa = PBXFileReference;
+                       name = unpack.c;
+                       path = /Users/ben/Desktop/jumpnbumpc/jumpnbump/modify/unpack.c;
+                       refType = 0;
+               };
+               F5C435BA026C89A2012A168D = {
+                       fileRef = F5C435B9026C89A2012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5CA6AF5026B505E012A168D = {
+                       children = (
+                               F556CBA00271DD9A012A168D,
+                               F556CBA10271DD9A012A168D,
+                               F556CBA20271DD9A012A168D,
+                               F556CBA30271DD9A012A168D,
+                       );
+                       isa = PBXGroup;
+                       name = sdl;
+                       refType = 4;
+               };
+               F5CA6B0A026B5089012A168D = {
+                       isa = PBXFileReference;
+                       name = pack.c;
+                       path = ../modify/pack.c;
+                       refType = 2;
+               };
+               F5CA6B0E026B50C2012A168D = {
+                       isa = PBXFrameworkReference;
+                       name = SDL_mixer.framework;
+                       path = /Users/ben/Library/Frameworks/SDL_mixer.framework;
+                       refType = 0;
+               };
+               F5CA6B0F026B50C2012A168D = {
+                       fileRef = F5CA6B0E026B50C2012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5CA6B12026B535C012A168D = {
+                       isa = PBXExecutableFileReference;
+                       path = unpack;
+                       refType = 3;
+               };
+               F5CA6B13026B535C012A168D = {
+                       buildPhases = (
+                               F5CA6B14026B535C012A168D,
+                               F5CA6B15026B535C012A168D,
+                               F5CA6B17026B535C012A168D,
+                               F5CA6B18026B535C012A168D,
+                       );
+                       buildSettings = {
+                               OTHER_CFLAGS = "";
+                               OTHER_LDFLAGS = "";
+                               OTHER_REZFLAGS = "";
+                               PRODUCT_NAME = unpack;
+                               REZ_EXECUTABLE = YES;
+                               SECTORDER_FLAGS = "";
+                               WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
+                       };
+                       dependencies = (
+                       );
+                       isa = PBXToolTarget;
+                       name = unpack;
+                       productInstallPath = /usr/local/bin;
+                       productName = unpack;
+                       productReference = F5CA6B12026B535C012A168D;
+                       shouldUseHeadermap = 0;
+               };
+               F5CA6B14026B535C012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXHeadersBuildPhase;
+               };
+               F5CA6B15026B535C012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               F5C435BA026C89A2012A168D,
+                       );
+                       isa = PBXSourcesBuildPhase;
+               };
+               F5CA6B17026B535C012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXFrameworksBuildPhase;
+               };
+               F5CA6B18026B535C012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXRezBuildPhase;
+               };
+               F5CA6B1A026B5376012A168D = {
+                       isa = PBXExecutableFileReference;
+                       path = pack;
+                       refType = 3;
+               };
+               F5CA6B1B026B5376012A168D = {
+                       buildPhases = (
+                               F5CA6B1C026B5376012A168D,
+                               F5CA6B1D026B5376012A168D,
+                               F5CA6B1F026B5376012A168D,
+                               F5CA6B20026B5376012A168D,
+                       );
+                       buildSettings = {
+                               OTHER_CFLAGS = "";
+                               OTHER_LDFLAGS = "";
+                               OTHER_REZFLAGS = "";
+                               PRODUCT_NAME = pack;
+                               REZ_EXECUTABLE = YES;
+                               SECTORDER_FLAGS = "";
+                               WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
+                       };
+                       dependencies = (
+                       );
+                       isa = PBXToolTarget;
+                       name = pack;
+                       productInstallPath = /usr/local/bin;
+                       productName = pack;
+                       productReference = F5CA6B1A026B5376012A168D;
+                       shouldUseHeadermap = 0;
+               };
+               F5CA6B1C026B5376012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXHeadersBuildPhase;
+               };
+               F5CA6B1D026B5376012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                               F5CA6B1E026B5376012A168D,
+                       );
+                       isa = PBXSourcesBuildPhase;
+               };
+               F5CA6B1E026B5376012A168D = {
+                       fileRef = F5CA6B0A026B5089012A168D;
+                       isa = PBXBuildFile;
+                       settings = {
+                       };
+               };
+               F5CA6B1F026B5376012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXFrameworksBuildPhase;
+               };
+               F5CA6B20026B5376012A168D = {
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       isa = PBXRezBuildPhase;
+               };
+       };
+       rootObject = 29B97313FDCFA39411CA2CEA;
+}
diff --git a/PB/SDLMain.h b/PB/SDLMain.h
new file mode 100644 (file)
index 0000000..9f36dea
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * SDLMain.m
+ * Copyright (C) 1998 Brainchild Design - http://brainchilddesign.com/
+ * 
+ * Copyright (C) 2001 Chuck Mason <cemason@users.sourceforge.net>
+ *
+ * Copyright (C) 2002 Florian Schulze <crow@icculus.org>
+ *
+ * Portions of this code are from the MPEG software simulation group
+ * idct implementation. This code will be replaced with a new
+ * implementation soon.
+ *
+ * This file is part of Jump'n'Bump.
+ *
+ * Jump'n'Bump is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Jump'n'Bump is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+
+/*   SDLMain.m - main entry point for our Cocoa-ized SDL app
+       Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
+       Non-NIB-Code & other changes: Max Horn <max@quendi.de>
+
+    Feel free to customize this file to suit your needs
+*/
+
+#import <Cocoa/Cocoa.h>
+
+@interface SDLMain : NSObject
+@end
diff --git a/PB/SDLMain.m b/PB/SDLMain.m
new file mode 100644 (file)
index 0000000..c4592d7
--- /dev/null
@@ -0,0 +1,227 @@
+/*
+ * SDLMain.m
+ * Copyright (C) 1998 Brainchild Design - http://brainchilddesign.com/
+ * 
+ * Copyright (C) 2001 Chuck Mason <cemason@users.sourceforge.net>
+ *
+ * Copyright (C) 2002 Florian Schulze <crow@icculus.org>
+ *
+ * Portions of this code are from the MPEG software simulation group
+ * idct implementation. This code will be replaced with a new
+ * implementation soon.
+ *
+ * This file is part of Jump'n'Bump.
+ *
+ * Jump'n'Bump is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Jump'n'Bump is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+/*   SDLMain.m - main entry point for our Cocoa-ized SDL app
+               
+       These files turn an SDL app into a double-clickable Cocoa app on mac os X.
+       
+    Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
+    Non-NIB-Code & other changes: Max Horn <max@quendi.de>
+
+    Feel free to customize this file to suit your needs
+*/
+
+#import "SDL.h"
+
+/* SDLMain.h */
+#import <Cocoa/Cocoa.h>
+
+@interface SDLMain : NSObject
+@end
+/* SDLMain.h */
+
+#import <sys/param.h> /* for MAXPATHLEN */
+#import <unistd.h>
+
+
+static int    gArgc;
+static char  **gArgv;
+static BOOL   gFinderLaunch;
+
+/* A helper category for NSString */
+@interface NSString (ReplaceSubString)
+- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString;
+@end
+
+@interface SDLApplication : NSApplication
+@end
+
+@implementation SDLApplication
+/* Invoked from the Quit menu item */
+- (void)terminate:(id)sender
+{
+    /* Post a SDL_QUIT event */
+    SDL_Event event;
+    event.type = SDL_QUIT;
+    SDL_PushEvent(&event);
+}
+@end
+
+
+/* The main class of the application, the application's delegate */
+@implementation SDLMain
+- (void)quit:(id)sender
+{
+       /* Post a SDL_QUIT event */
+    SDL_Event event;
+    event.type = SDL_QUIT;
+    SDL_PushEvent(&event);
+
+       //              uMenu::quickexit=true;
+}
+//this changes the current working directory to the resource folder of
+//the .app bundle in Mac OS X
+void MacOSX_SetCWD(char **argv) {
+    char buffer[300];
+    int count = 2, i;
+    strcpy(buffer, argv[0]);
+
+    if ( !strstr( buffer, ".app") ) {
+        //it's not a .app bundle
+        return;
+    }
+
+    for (i = strlen(buffer); i > 0 && count > 0; i--) {
+        if (buffer[i] == '/')
+            count--;
+    }
+    if (i == 0)
+        return;
+    i+=2;
+    buffer[i] = 0;
+    strcat( buffer, "Resources");
+    printf(buffer);
+    chdir( buffer );
+}
+
+
+/* Fix menu to contain the real app name instead of "SDL App" */
+- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName
+{
+    NSRange aRange;
+    NSEnumerator *enumerator;
+    NSMenuItem *menuItem;
+
+    aRange = [[aMenu title] rangeOfString:@"SDL App"];
+    if (aRange.length != 0)
+        [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]];
+
+    enumerator = [[aMenu itemArray] objectEnumerator];
+    while ((menuItem = [enumerator nextObject]))
+    {
+        aRange = [[menuItem title] rangeOfString:@"SDL App"];
+        if (aRange.length != 0)
+            [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]];
+        if ([menuItem hasSubmenu])
+            [self fixMenu:[menuItem submenu] withAppName:appName];
+    }
+    [ aMenu sizeToFit ];
+}
+
+/* Called when the internal event loop has just started running */
+- (void) applicationDidFinishLaunching: (NSNotification *) note
+{
+    int status;
+
+    /* Set the main menu to contain the real app name instead of "SDL App" */
+    [self fixMenu:[NSApp mainMenu] withAppName:[[NSProcessInfo processInfo] processName]];
+
+    /* Hand off to main application code */
+    status = SDL_main (gArgc, gArgv);
+
+    /* We're done, thank you for playing */
+    exit(status);
+}
+@end
+
+
+@implementation NSString (ReplaceSubString)
+
+- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString
+{
+    unsigned int bufferSize;
+    unsigned int selfLen = [self length];
+    unsigned int aStringLen = [aString length];
+    unichar *buffer;
+    NSRange localRange;
+    NSString *result;
+
+    bufferSize = selfLen + aStringLen - aRange.length;
+    buffer = NSAllocateMemoryPages(bufferSize*sizeof(unichar));
+    
+    /* Get first part into buffer */
+    localRange.location = 0;
+    localRange.length = aRange.location;
+    [self getCharacters:buffer range:localRange];
+    
+    /* Get middle part into buffer */
+    localRange.location = 0;
+    localRange.length = aStringLen;
+    [aString getCharacters:(buffer+aRange.location) range:localRange];
+     
+    /* Get last part into buffer */
+    localRange.location = aRange.location + aRange.length;
+    localRange.length = selfLen - localRange.location;
+    [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange];
+    
+    /* Build output string */
+    result = [NSString stringWithCharacters:buffer length:bufferSize];
+    
+    NSDeallocateMemoryPages(buffer, bufferSize);
+    
+    return result;
+}
+
+@end
+
+
+
+#ifdef main
+#  undef main
+#endif
+
+
+/* Main entry point to executable - should *not* be SDL_main! */
+int main (int argc, char **argv)
+{
+
+    /* Copy the arguments into a global variable */
+    int i;
+    
+    /* This is passed if we are launched by double-clicking */
+    if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) {
+        gArgc = 1;
+       gFinderLaunch = YES;
+    } else {
+        gArgc = argc;
+       gFinderLaunch = NO;
+    }
+    gArgv = (char**) malloc (sizeof(*gArgv) * (gArgc+1));
+    assert (gArgv != NULL);
+    for (i = 0; i < gArgc; i++)
+        gArgv[i] = argv[i];
+    gArgv[i] = NULL;
+
+       MacOSX_SetCWD(gArgv);
+
+    [SDLApplication poseAsClass:[NSApplication class]];
+    NSApplicationMain (argc, argv);
+
+    return 0;
+}