Skip to content

Commit 0d0e42c

Browse files
committed
Public migration
1 parent 0800b65 commit 0d0e42c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+4597
-24
lines changed

TraceRoundGame.xcodeproj/project.pbxproj

+351-8
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
6+
<true/>
7+
<key>SnapshotAutomaticallyBeforeSignificantChanges</key>
8+
<true/>
9+
</dict>
10+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "Yes"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
scope = "0"
13+
stopOnStyle = "0">
14+
</BreakpointContent>
15+
</BreakpointProxy>
16+
<BreakpointProxy
17+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
18+
<BreakpointContent
19+
shouldBeEnabled = "Yes"
20+
ignoreCount = "0"
21+
continueAfterRunningActions = "No"
22+
filePath = "TraceRoundGame/main.m"
23+
timestampString = "435535569.904819"
24+
startingColumnNumber = "9223372036854775807"
25+
endingColumnNumber = "9223372036854775807"
26+
startingLineNumber = "22"
27+
endingLineNumber = "22"
28+
landmarkName = "main()"
29+
landmarkType = "7">
30+
</BreakpointContent>
31+
</BreakpointProxy>
32+
<BreakpointProxy
33+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
34+
<BreakpointContent
35+
shouldBeEnabled = "Yes"
36+
ignoreCount = "0"
37+
continueAfterRunningActions = "No"
38+
filePath = "TraceRoundGame/TRGThrowTargetGestureRecognizer.m"
39+
timestampString = "435536444.565177"
40+
startingColumnNumber = "9223372036854775807"
41+
endingColumnNumber = "9223372036854775807"
42+
startingLineNumber = "99"
43+
endingLineNumber = "99"
44+
landmarkName = "-touchesMoved:withEvent:"
45+
landmarkType = "5">
46+
</BreakpointContent>
47+
</BreakpointProxy>
48+
<BreakpointProxy
49+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
50+
<BreakpointContent
51+
shouldBeEnabled = "Yes"
52+
ignoreCount = "0"
53+
continueAfterRunningActions = "No"
54+
filePath = "TraceRoundGame/TRGTouchPathView.m"
55+
timestampString = "435536588.962767"
56+
startingColumnNumber = "9223372036854775807"
57+
endingColumnNumber = "9223372036854775807"
58+
startingLineNumber = "56"
59+
endingLineNumber = "56"
60+
landmarkName = "-touchesEnded:withEvent:"
61+
landmarkType = "5">
62+
</BreakpointContent>
63+
</BreakpointProxy>
64+
</Breakpoints>
65+
</Bucket>

TraceRoundGame/Base.lproj/Main_iPad.storyboard

+40-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5023" systemVersion="13A603" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES" initialViewController="daM-sm-rlZ">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
55
</dependencies>
66
<scenes>
7-
<!--class Prefix:identifier View Controller-->
7+
<!--Navigation Controller-->
8+
<scene sceneID="zFx-wg-EFq">
9+
<objects>
10+
<navigationController definesPresentationContext="YES" id="daM-sm-rlZ" sceneMemberID="viewController">
11+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="ans-Pu-otZ">
12+
<autoresizingMask key="autoresizingMask"/>
13+
</navigationBar>
14+
<connections>
15+
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="noY-ek-zje"/>
16+
</connections>
17+
</navigationController>
18+
<placeholder placeholderIdentifier="IBFirstResponder" id="bum-7W-Rd2" userLabel="First Responder" sceneMemberID="firstResponder"/>
19+
</objects>
20+
<point key="canvasLocation" x="-1786" y="-198"/>
21+
</scene>
22+
<!--View Controller-->
823
<scene sceneID="tne-QT-ifu">
924
<objects>
1025
<viewController id="BYZ-38-t0r" customClass="TRGViewController" sceneMemberID="viewController">
@@ -15,11 +30,33 @@
1530
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
1631
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
1732
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
33+
<subviews>
34+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pba-y6-d9A">
35+
<rect key="frame" x="20" y="497" width="728" height="30"/>
36+
<constraints>
37+
<constraint firstAttribute="height" constant="30" id="OK9-jS-NNz"/>
38+
</constraints>
39+
<state key="normal" title="Start Game">
40+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
41+
</state>
42+
<connections>
43+
<action selector="startNewGame:" destination="BYZ-38-t0r" eventType="touchUpInside" id="2j9-fO-tlF"/>
44+
</connections>
45+
</button>
46+
</subviews>
1847
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
48+
<constraints>
49+
<constraint firstAttribute="trailing" secondItem="pba-y6-d9A" secondAttribute="trailing" constant="20" id="ATl-a8-X5s"/>
50+
<constraint firstItem="pba-y6-d9A" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="20" id="Umt-R8-GwC"/>
51+
<constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="pba-y6-d9A" secondAttribute="bottom" constant="497" id="ggk-PX-VHB"/>
52+
<constraint firstItem="pba-y6-d9A" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="433" id="jH9-in-Tdp"/>
53+
</constraints>
1954
</view>
55+
<navigationItem key="navigationItem" id="x7C-zc-mhW"/>
2056
</viewController>
2157
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
2258
</objects>
59+
<point key="canvasLocation" x="-799" y="-198"/>
2360
</scene>
2461
</scenes>
2562
<simulatedMetricsContainer key="defaultSimulatedMetrics">

TraceRoundGame/Base.lproj/Main_iPhone.storyboard

+31-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5023" systemVersion="13A603" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="vXZ-lx-hvc">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="zd2-5B-Vgq">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
55
</dependencies>
66
<scenes>
7-
<!--class Prefix:identifier View Controller-->
7+
<!--Navigation Controller-->
8+
<scene sceneID="LG1-KK-uVN">
9+
<objects>
10+
<navigationController definesPresentationContext="YES" id="zd2-5B-Vgq" sceneMemberID="viewController">
11+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="IyQ-pd-IuV">
12+
<autoresizingMask key="autoresizingMask"/>
13+
</navigationBar>
14+
<connections>
15+
<segue destination="vXZ-lx-hvc" kind="relationship" relationship="rootViewController" id="pY3-dN-wqN"/>
16+
</connections>
17+
</navigationController>
18+
<placeholder placeholderIdentifier="IBFirstResponder" id="ab6-Gy-eMh" userLabel="First Responder" sceneMemberID="firstResponder"/>
19+
</objects>
20+
<point key="canvasLocation" x="-507" y="33"/>
21+
</scene>
22+
<!--View Controller-->
823
<scene sceneID="ufC-wZ-h7g">
924
<objects>
1025
<viewController id="vXZ-lx-hvc" customClass="TRGViewController" sceneMemberID="viewController">
@@ -15,11 +30,24 @@
1530
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
1631
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
1732
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
33+
<subviews>
34+
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pJq-zu-U8u">
35+
<rect key="frame" x="20" y="269" width="280" height="30"/>
36+
<state key="normal" title="Start Game">
37+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
38+
</state>
39+
<connections>
40+
<action selector="startNewGame:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="ZYo-iK-LQl"/>
41+
</connections>
42+
</button>
43+
</subviews>
1844
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1945
</view>
46+
<navigationItem key="navigationItem" id="3d9-fN-4cU"/>
2047
</viewController>
2148
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
2249
</objects>
50+
<point key="canvasLocation" x="-2" y="33"/>
2351
</scene>
2452
</scenes>
2553
<simulatedMetricsContainer key="defaultSimulatedMetrics">

TraceRoundGame/GUGS_Fluid_v1_44.sf2

29.8 MB
Binary file not shown.

TraceRoundGame/TRGAudioConstants.h

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
//
2+
// TRGAudioConstants.h
3+
// TraceRoundGame
4+
//
5+
// Created by Elliott Richerson on 9/7/14.
6+
// Copyright (c) 2014 Beyond Aphelion. All rights reserved.
7+
//
8+
9+
#ifndef TraceRoundGame_TRGAudioConstants_h
10+
#define TraceRoundGame_TRGAudioConstants_h
11+
12+
const AudioComponentDescription kTRGAudioDescriptionTrace = {
13+
.componentType = kAudioUnitType_MusicDevice,
14+
.componentSubType = kAudioUnitSubType_Sampler,
15+
.componentManufacturer = kAudioUnitManufacturer_Apple,
16+
.componentFlags = 0,
17+
.componentFlagsMask = 0
18+
};
19+
20+
const AudioComponentDescription kTRGAudioDescriptionDestroy = {
21+
.componentType = kAudioUnitType_MusicDevice,
22+
.componentSubType = kAudioUnitSubType_Sampler,
23+
.componentManufacturer = kAudioUnitManufacturer_Apple,
24+
.componentFlags = 0,
25+
.componentFlagsMask = 0
26+
};
27+
28+
const AudioComponentDescription kTRGAudioDescriptionPitchEffect = {
29+
.componentType = kAudioUnitType_FormatConverter,
30+
.componentSubType = kAudioUnitSubType_NewTimePitch,
31+
.componentManufacturer = kAudioUnitManufacturer_Apple,
32+
.componentFlags = 0,
33+
.componentFlagsMask = 0};
34+
35+
const AudioComponentDescription kTRGAudioDescriptionMixer = {
36+
.componentType = kAudioUnitType_Mixer,
37+
.componentSubType = kAudioUnitSubType_MultiChannelMixer,
38+
.componentManufacturer = kAudioUnitManufacturer_Apple,
39+
.componentFlags = 0,
40+
.componentFlagsMask = 0
41+
};
42+
43+
const AudioComponentDescription kTRGAudioDescriptionIO = {
44+
.componentType = kAudioUnitType_Output,
45+
.componentSubType = kAudioUnitSubType_RemoteIO,
46+
.componentManufacturer = kAudioUnitManufacturer_Apple,
47+
.componentFlags = 0,
48+
.componentFlagsMask = 0
49+
};
50+
51+
#endif

TraceRoundGame/TRGAudioController.h

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
//
2+
// TRGAudioController.h
3+
// TraceRoundGame
4+
//
5+
// Created by Elliott Richerson on 9/6/14.
6+
// Copyright (c) 2014 Beyond Aphelion. All rights reserved.
7+
//
8+
9+
#import <AudioToolbox/AudioToolbox.h>
10+
#import <AVFoundation/AVFoundation.h>
11+
12+
@interface TRGAudioController : NSObject
13+
14+
// Set of AudioUnit Objects
15+
@property (readwrite) AudioUnit audioUnitTrace;
16+
@property (readwrite) BOOL isMutedTrace;
17+
18+
@property (readwrite) AudioUnit audioUnitDestroy;
19+
@property (readwrite) BOOL isMutedDestroy;
20+
21+
22+
- (void) setupAudio;
23+
- (int) pitchAdj: (int) pitchValue;
24+
25+
- (void)startDestruction;
26+
- (void)stopDestruction;
27+
28+
29+
30+
@end

0 commit comments

Comments
 (0)