the whole game
BIN
project/iosproj/Default
Executable file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
project/iosproj/Default-568h@2x.png
Executable file
|
After Width: | Height: | Size: 54 KiB |
BIN
project/iosproj/Default-Landscape~ipad.png
Executable file
|
After Width: | Height: | Size: 52 KiB |
BIN
project/iosproj/Default.png
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
project/iosproj/Default@2x.png
Executable file
|
After Width: | Height: | Size: 51 KiB |
BIN
project/iosproj/Icon-72.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
project/iosproj/Icon-72_lite.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
project/iosproj/Icon.png
Executable file
|
After Width: | Height: | Size: 10 KiB |
BIN
project/iosproj/Icon@2x.png
Executable file
|
After Width: | Height: | Size: 24 KiB |
BIN
project/iosproj/Icon@2x_lite.png
Executable file
|
After Width: | Height: | Size: 24 KiB |
BIN
project/iosproj/Icon_lite.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
73
project/iosproj/InAppSettings.bundle/Advanced.plist
Executable file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>ADVANCED_TITLE</string>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>SLIDER_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>sensitivity</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>2</integer>
|
||||
<key>MinimumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>5</integer>
|
||||
<key>MinimumValueImage</key>
|
||||
<string>slow.png</string>
|
||||
<key>MaximumValueImage</key>
|
||||
<string>fast.png</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_TITLE2</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>IsSecure</key>
|
||||
<true/>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_PWD</string>
|
||||
<key>KeyboardType</key>
|
||||
<string>EmailAddress</string>
|
||||
<key>Key</key>
|
||||
<string>password</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH_TITLE2</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>TrueValue</key>
|
||||
<integer>1</integer>
|
||||
<key>FalseValue</key>
|
||||
<integer>2</integer>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH2</string>
|
||||
<key>Key</key>
|
||||
<string>switchOther</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
513
project/iosproj/InAppSettings.bundle/Complete.plist
Executable file
@@ -0,0 +1,513 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Text Fields</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Plain</string>
|
||||
<key>Key</key>
|
||||
<string>text_plain</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Plain Text</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Secure</string>
|
||||
<key>Key</key>
|
||||
<string>text_secure</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Secret</string>
|
||||
<key>IsSecure</key>
|
||||
<true/>
|
||||
<key>KeyboardType</key>
|
||||
<string>Alphabet</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>no</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>NumbersAndPunctuation</string>
|
||||
<key>Key</key>
|
||||
<string>text_NumbersAndPunctuation</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>47.11</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>NumbersAndPunctuation</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>NumberPad</string>
|
||||
<key>Key</key>
|
||||
<string>text_NumberPad</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>4711</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>NumberPad</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>DecimalPad</string>
|
||||
<key>Key</key>
|
||||
<string>text_DecimalPad</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>26.08</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>DecimalPad</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>URL</string>
|
||||
<key>Key</key>
|
||||
<string>text_URL</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>http://www.inappsettingskit.com</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>URL</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>EmailAddress</string>
|
||||
<key>Key</key>
|
||||
<string>text_EmailAddress</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>info@email.com</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>EmailAddress</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Capital Sentences</string>
|
||||
<key>Key</key>
|
||||
<string>text_Sentences</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Cap sentences. Second sentence.</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>Alphabet</string>
|
||||
<key>AutocapitalizationType</key>
|
||||
<string>Sentences</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>Default</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Capital Words</string>
|
||||
<key>Key</key>
|
||||
<string>text_words</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Words Are Capitalized</string>
|
||||
<key>KeyboardType</key>
|
||||
<string>Alphabet</string>
|
||||
<key>AutocapitalizationType</key>
|
||||
<string>Words</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>All Capital</string>
|
||||
<key>Key</key>
|
||||
<string>text_AllCharacters</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>FORGOTTEN THE CAPSLOCK?</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>KeyboardType</key>
|
||||
<string>Alphabet</string>
|
||||
<key>AutocapitalizationType</key>
|
||||
<string>AllCharacters</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>No auto-correction</string>
|
||||
<key>Key</key>
|
||||
<string>text_auto-correction_no</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Ser1ous mitsakes</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>text_noTitle</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Textfield without title</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Very long titles lead to smaller font</string>
|
||||
<key>Key</key>
|
||||
<string>text_longtitle</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>foo bar</string>
|
||||
<key>IsSecure</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Title Values</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Title</string>
|
||||
<key>Key</key>
|
||||
<string>title_long</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Value with a very, very long text</string>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Title with Lookup Table</string>
|
||||
<key>Key</key>
|
||||
<string>title_lookup</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>2</integer>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>One</string>
|
||||
<string>Two</string>
|
||||
<string>Three</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Title with a very, very loong label</string>
|
||||
<key>Key</key>
|
||||
<string>title_longtitle</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Value is long, too</string>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string></string>
|
||||
<key>Key</key>
|
||||
<string>title_withoutlabel</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Title without label</string>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Unexisting lookup entry</string>
|
||||
<key>Key</key>
|
||||
<string>title_non_existing_lookup_entry</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>3</integer>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>One</string>
|
||||
<string>Two</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Toggles</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Boolean Toggle</string>
|
||||
<key>Key</key>
|
||||
<string>toggle_boolean</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>String Toogle</string>
|
||||
<key>Key</key>
|
||||
<string>toogle_string</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>foo</string>
|
||||
<key>TrueValue</key>
|
||||
<string>foo</string>
|
||||
<key>FalseValue</key>
|
||||
<string>bar</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Number Toggle</string>
|
||||
<key>Key</key>
|
||||
<string>toogle_number</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>1</integer>
|
||||
<key>TrueValue</key>
|
||||
<integer>1</integer>
|
||||
<key>FalseValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>String Toogle (false)</string>
|
||||
<key>Key</key>
|
||||
<string>toogle_string_false</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>bar</string>
|
||||
<key>TrueValue</key>
|
||||
<string>foo</string>
|
||||
<key>FalseValue</key>
|
||||
<string>bar</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Sliders</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>slider_preference1</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>slider_preference2</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>MinimumValueImage</key>
|
||||
<string>slow.png</string>
|
||||
<key>MaximumValueImage</key>
|
||||
<string>fast.png</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>slider_preference3</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>MinimumValueImage</key>
|
||||
<string>slow.png</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>Key</key>
|
||||
<string>slider_preference4</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>MaximumValueImage</key>
|
||||
<string>fast.png</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Multi Value</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Multi Value</string>
|
||||
<key>Key</key>
|
||||
<string>multivalue</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>2</integer>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>One</string>
|
||||
<string>Two</string>
|
||||
<string>Three</string>
|
||||
</array>
|
||||
<key>FooterText</key>
|
||||
<string>MULTIVALUE_FOOTER</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Multi Value with a long title</string>
|
||||
<key>Key</key>
|
||||
<string>multivalue_long</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>2</integer>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>One</string>
|
||||
<string>Two</string>
|
||||
<string>Three</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>EMPTY</string>
|
||||
<key>Key</key>
|
||||
<string>multivalue_notitle</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>1</integer>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>One</string>
|
||||
<string>Two</string>
|
||||
<string>Three</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Child Pane</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Advanced</string>
|
||||
<key>File</key>
|
||||
<string>Advanced</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Group with a multiline text that is word wrapped.</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Entry</string>
|
||||
<key>Key</key>
|
||||
<string>title_non_existing_lookup_entry2</string>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
133
project/iosproj/InAppSettings.bundle/Root.inApp.plist
Executable file
@@ -0,0 +1,133 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_MULTIPLAYER</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Key</key>
|
||||
<string>mp_username</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_mp_username_title</string>
|
||||
<key>StringIfEmpty</key>
|
||||
<string>Stevie</string>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>AutocorrectionType</key>
|
||||
<string>No</string>
|
||||
<key>KeyboardType</key>
|
||||
<string>Ascii</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>YES</string>
|
||||
<key>Key</key>
|
||||
<string>mp_server_visible_default</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_mp_server_visible_default_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_GRAPHICS</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>gfx_fancygraphics</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_gfx_fancygraphics_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>gfx_lowquality</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_gfx_lowquality_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_CONTROLS</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Key</key>
|
||||
<string>ctrl_sensitivity</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_sensitivity_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSSliderSpecifier</string>
|
||||
<key>DefaultValue</key>
|
||||
<real>0.5</real>
|
||||
<key>MinimumValue</key>
|
||||
<integer>0</integer>
|
||||
<key>MaximumValue</key>
|
||||
<integer>1</integer>
|
||||
<key>TextOffsetPixels</key>
|
||||
<integer>110</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>ctrl_invertmouse</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_invertmouse_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>ctrl_islefthanded</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_islefthanded_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>ctrl_usetouchjoypad</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_usetouchjoypad_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_GAME</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>game_difficulty</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_game_difficultypeaceful_full</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>TrueValue</key>
|
||||
<string>0</string>
|
||||
<key>FalseValue</key>
|
||||
<string>2</string>
|
||||
175
project/iosproj/InAppSettings.bundle/Root.plist
Executable file
@@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>WhereTo</string>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>Multiplayer</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH</string>
|
||||
<key>Key</key>
|
||||
<string>toggleSwitch</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Root.plist is used in Settings.app on iOS 3.x</string>
|
||||
<key>Key</key>
|
||||
<string>version</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VALUE_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
<integer>4</integer>
|
||||
<integer>5</integer>
|
||||
<integer>6</integer>
|
||||
<integer>7</integer>
|
||||
<integer>8</integer>
|
||||
<integer>9</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_1</string>
|
||||
<string>MUL_VAL_2</string>
|
||||
<string>MUL_VAL_3</string>
|
||||
<string>MUL_VAL_4</string>
|
||||
<string>MUL_VAL_5</string>
|
||||
<string>MUL_VAL_6</string>
|
||||
<string>MUL_VAL_7</string>
|
||||
<string>MUL_VAL_8</string>
|
||||
<string>MUL_VAL_9</string>
|
||||
<string>MUL_VAL_10</string>
|
||||
<string>MUL_VAL_11</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValue</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_NO_TITLE_1</string>
|
||||
<string>MUL_VAL_NO_TITLE_2</string>
|
||||
<string>MUL_VAL_NO_TITLE_3</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE_NIL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValueOther</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_SIG</string>
|
||||
<key>Key</key>
|
||||
<string>signature</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string></string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>FooterText</key>
|
||||
<string>This is a Footer Text (supported by Settings.app in iOS 4 or higher)</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Complete List</string>
|
||||
<key>File</key>
|
||||
<string>Complete</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>ADVANCED_TITLE</string>
|
||||
<key>File</key>
|
||||
<string>Advanced</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>APPLICATION_INFO_TITLE</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>VERSION</string>
|
||||
<key>Key</key>
|
||||
<string>version</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Copyright</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Luc Vandal, Ortwin Gentz</string>
|
||||
<key>Key</key>
|
||||
<string>copyright</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
167
project/iosproj/InAppSettings.bundle/Root~ipad.plist
Executable file
@@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>WhereTo</string>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH_TITLE</string>
|
||||
<key>FooterText</key>
|
||||
<string>Root~ipad.plist is used on iPad in Settings.app running iOS 4.2 or higher</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH</string>
|
||||
<key>Key</key>
|
||||
<string>toggleSwitch</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VALUE_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
<integer>4</integer>
|
||||
<integer>5</integer>
|
||||
<integer>6</integer>
|
||||
<integer>7</integer>
|
||||
<integer>8</integer>
|
||||
<integer>9</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_1</string>
|
||||
<string>MUL_VAL_2</string>
|
||||
<string>MUL_VAL_3</string>
|
||||
<string>MUL_VAL_4</string>
|
||||
<string>MUL_VAL_5</string>
|
||||
<string>MUL_VAL_6</string>
|
||||
<string>MUL_VAL_7</string>
|
||||
<string>MUL_VAL_8</string>
|
||||
<string>MUL_VAL_9</string>
|
||||
<string>MUL_VAL_10</string>
|
||||
<string>MUL_VAL_11</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValue</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_NO_TITLE_1</string>
|
||||
<string>MUL_VAL_NO_TITLE_2</string>
|
||||
<string>MUL_VAL_NO_TITLE_3</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE_NIL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValueOther</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_SIG</string>
|
||||
<key>Key</key>
|
||||
<string>signature</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string></string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>FooterText</key>
|
||||
<string>This is a Footer Text (supported by Settings.app in iOS 4 or higher)</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Complete List</string>
|
||||
<key>File</key>
|
||||
<string>Complete</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>ADVANCED_TITLE</string>
|
||||
<key>File</key>
|
||||
<string>Advanced</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>APPLICATION_INFO_TITLE</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>VERSION</string>
|
||||
<key>Key</key>
|
||||
<string>version</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Copyright</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Luc Vandal, Ortwin Gentz</string>
|
||||
<key>Key</key>
|
||||
<string>copyright</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
167
project/iosproj/InAppSettings.bundle/Root~iphone.plist
Executable file
@@ -0,0 +1,167 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>WhereTo</string>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH_TITLE</string>
|
||||
<key>FooterText</key>
|
||||
<string>Root~iphone.plist is used in Settings.app on iPhone running iOS 4 or higher</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TOGGLE_SWITCH</string>
|
||||
<key>Key</key>
|
||||
<string>toggleSwitch</string>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VALUE_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
<integer>3</integer>
|
||||
<integer>4</integer>
|
||||
<integer>5</integer>
|
||||
<integer>6</integer>
|
||||
<integer>7</integer>
|
||||
<integer>8</integer>
|
||||
<integer>9</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_1</string>
|
||||
<string>MUL_VAL_2</string>
|
||||
<string>MUL_VAL_3</string>
|
||||
<string>MUL_VAL_4</string>
|
||||
<string>MUL_VAL_5</string>
|
||||
<string>MUL_VAL_6</string>
|
||||
<string>MUL_VAL_7</string>
|
||||
<string>MUL_VAL_8</string>
|
||||
<string>MUL_VAL_9</string>
|
||||
<string>MUL_VAL_10</string>
|
||||
<string>MUL_VAL_11</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValue</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Values</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>Titles</key>
|
||||
<array>
|
||||
<string>MUL_VAL_NO_TITLE_1</string>
|
||||
<string>MUL_VAL_NO_TITLE_2</string>
|
||||
<string>MUL_VAL_NO_TITLE_3</string>
|
||||
</array>
|
||||
<key>Type</key>
|
||||
<string>PSMultiValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>MUL_VAL_NO_TITLE_NIL</string>
|
||||
<key>Key</key>
|
||||
<string>mulValueOther</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_TITLE</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>TEXT_FIELD_SIG</string>
|
||||
<key>Key</key>
|
||||
<string>signature</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string></string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
<key>FooterText</key>
|
||||
<string>This is a Footer Text (supported by Settings.app in iOS 4 or higher)</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Complete List</string>
|
||||
<key>File</key>
|
||||
<string>Complete</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSChildPaneSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>ADVANCED_TITLE</string>
|
||||
<key>File</key>
|
||||
<string>Advanced</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>APPLICATION_INFO_TITLE</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>VERSION</string>
|
||||
<key>Key</key>
|
||||
<string>version</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Type</key>
|
||||
<string>PSTitleValueSpecifier</string>
|
||||
<key>Title</key>
|
||||
<string>Copyright</string>
|
||||
<key>DefaultValue</key>
|
||||
<string>Luc Vandal, Ortwin Gentz</string>
|
||||
<key>Key</key>
|
||||
<string>copyright</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
BIN
project/iosproj/InAppSettings.bundle/en.lproj/Root.strings
Executable file
BIN
project/iosproj/InAppSettings.bundle/fast.png
Executable file
|
After Width: | Height: | Size: 965 B |
BIN
project/iosproj/InAppSettings.bundle/slow.png
Executable file
|
After Width: | Height: | Size: 780 B |
109
project/iosproj/InAppSettings.bundle/userDefault.plist
Executable file
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>PreferenceSpecifiers</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_MULTIPLAYER</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Key</key>
|
||||
<string>mp_username</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_mp_username_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>YES</string>
|
||||
<key>Key</key>
|
||||
<string>mp_server_visible_default</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_mp_server_visible_default_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_GRAPHICS</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>gfx_fancygraphics</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_gfx_fancygraphics_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>gfx_lowquality</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_gfx_lowquality_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_CONTROLS</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>ctrl_invertmouse</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_invertmouse_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>ctrl_islefthanded</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_ctrl_islefthanded_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Title</key>
|
||||
<string>CATEGORY_GAME</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<string>NO</string>
|
||||
<key>Key</key>
|
||||
<string>game_difficultypeaceful</string>
|
||||
<key>Title</key>
|
||||
<string>mmoptions_game_difficultypeaceful_title</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
<key>TrueValue</key>
|
||||
<string>0</string>
|
||||
<key>FalseValue</key>
|
||||
<string>2</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>StringsTable</key>
|
||||
<string>Root</string>
|
||||
<key>Title</key>
|
||||
<string>Minecraft - Pocket Edition</string>
|
||||
</dict>
|
||||
</plist>
|
||||
6056
project/iosproj/minecraftpe.xcodeproj/project.pbxproj
Executable file
7
project/iosproj/minecraftpe.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Executable file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:minecraftpe.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
15821
project/iosproj/minecraftpe.xcodeproj/project.xcworkspace/xcuserdata/new.xcuserdatad/UserInterfaceState.xcuserstate
generated
Executable file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEWorkspaceUserSettings_HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
|
||||
<true/>
|
||||
<key>IDEWorkspaceUserSettings_SnapshotAutomaticallyBeforeSignificantChanges</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Bucket
|
||||
type = "1"
|
||||
version = "1.0">
|
||||
</Bucket>
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Ad-Hoc"
|
||||
customArchiveName = "minecraftpe"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
debugDocumentVersioning = "YES"
|
||||
enablesOpenGLESFrameCapture = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
debugDocumentVersioning = "YES"
|
||||
enablesOpenGLESFrameCapture = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES"
|
||||
enablesOpenGLESFrameCapture = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D58BB46C146A0B910002C9F5"
|
||||
BuildableName = "minecraftpe.demo.app"
|
||||
BlueprintName = "minecraftpe.demo"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "AppStore"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES"
|
||||
enablesOpenGLESFrameCapture = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D5CF9C41144C225000E4244F"
|
||||
BuildableName = "minecraftpe.app"
|
||||
BlueprintName = "minecraftpe"
|
||||
ReferencedContainer = "container:minecraftpe.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "AppStore"
|
||||
customArchiveName = "minecraftpe"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>SchemeUserState</key>
|
||||
<dict>
|
||||
<key>minecraftpe-adhoc.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
<key>minecraftpe-debug.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>3</integer>
|
||||
</dict>
|
||||
<key>minecraftpe-demo-promo.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>minecraftpe.demo-debug.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>5</integer>
|
||||
</dict>
|
||||
<key>minecraftpe.demo.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>4</integer>
|
||||
</dict>
|
||||
<key>minecraftpe.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>D58BB46C146A0B910002C9F5</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>D5CF9C41144C225000E4244F</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
40
project/iosproj/minecraftpe/EAGLView.h
Executable file
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// EAGLView.h
|
||||
// OpenGLES_iPhone
|
||||
//
|
||||
// Created by mmalc Crawford on 11/18/10.
|
||||
// Copyright 2010 Apple Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <OpenGLES/ES1/gl.h>
|
||||
#import <OpenGLES/ES1/glext.h>
|
||||
#import <OpenGLES/ES2/gl.h>
|
||||
#import <OpenGLES/ES2/glext.h>
|
||||
|
||||
@class EAGLContext;
|
||||
|
||||
// This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
|
||||
// The view content is basically an EAGL surface you render your OpenGL scene into.
|
||||
// Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
|
||||
@interface EAGLView : UIView {
|
||||
// The pixel dimensions of the CAEAGLLayer.
|
||||
GLint framebufferWidth;
|
||||
GLint framebufferHeight;
|
||||
|
||||
// The OpenGL ES names for the framebuffer and renderbuffer used to render to this view.
|
||||
GLuint defaultFramebuffer;
|
||||
|
||||
GLuint colorRenderbuffer, _depthRenderBuffer;
|
||||
|
||||
@public
|
||||
GLfloat viewScale;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) EAGLContext *context;
|
||||
|
||||
- (void)setFramebuffer;
|
||||
- (BOOL)presentFramebuffer;
|
||||
|
||||
@end
|
||||
163
project/iosproj/minecraftpe/EAGLView.m
Executable file
@@ -0,0 +1,163 @@
|
||||
//
|
||||
// EAGLView.m
|
||||
// OpenGLES_iPhone
|
||||
//
|
||||
// Created by mmalc Crawford on 11/18/10.
|
||||
// Copyright 2010 Apple Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import "EAGLView.h"
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
@interface EAGLView (PrivateMethods)
|
||||
- (void)createFramebuffer;
|
||||
- (void)deleteFramebuffer;
|
||||
@end
|
||||
|
||||
@implementation EAGLView
|
||||
|
||||
@synthesize context;
|
||||
|
||||
// You must implement this method
|
||||
+ (Class)layerClass
|
||||
{
|
||||
return [CAEAGLLayer class];
|
||||
}
|
||||
|
||||
//The EAGL view is stored in the nib file. When it's unarchived it's sent -initWithCoder:.
|
||||
- (id)initWithCoder:(NSCoder*)coder
|
||||
{
|
||||
self = [super initWithCoder:coder];
|
||||
if (self) {
|
||||
CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
|
||||
|
||||
eaglLayer.opaque = TRUE;
|
||||
eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking,
|
||||
kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat,
|
||||
nil];
|
||||
|
||||
if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]
|
||||
&& [self respondsToSelector:@selector(setContentScaleFactor:)])
|
||||
{
|
||||
viewScale = [UIScreen mainScreen].scale;
|
||||
NSLog(@"Scale is : %f\n", viewScale);
|
||||
[self setContentScaleFactor: viewScale];
|
||||
eaglLayer.contentsScale = viewScale;
|
||||
}
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[self deleteFramebuffer];
|
||||
[context release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)setContext:(EAGLContext *)newContext
|
||||
{
|
||||
if (context != newContext) {
|
||||
[self deleteFramebuffer];
|
||||
|
||||
[context release];
|
||||
context = [newContext retain];
|
||||
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)createFramebuffer
|
||||
{
|
||||
if (context && !defaultFramebuffer) {
|
||||
[EAGLContext setCurrentContext:context];
|
||||
|
||||
// Create default framebuffer object.
|
||||
glGenFramebuffers(1, &defaultFramebuffer);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, defaultFramebuffer);
|
||||
|
||||
// Create color render buffer and allocate backing store.
|
||||
glGenRenderbuffers(1, &colorRenderbuffer);
|
||||
glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer);
|
||||
[context renderbufferStorage:GL_RENDERBUFFER fromDrawable:(CAEAGLLayer *)self.layer];
|
||||
glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &framebufferWidth);
|
||||
glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &framebufferHeight);
|
||||
|
||||
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRenderbuffer);
|
||||
|
||||
// Create depth buffer and allocate backing store
|
||||
glGenRenderbuffersOES(1, &_depthRenderBuffer);
|
||||
glBindRenderbufferOES(GL_RENDERBUFFER_OES, _depthRenderBuffer);
|
||||
|
||||
glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT24_OES, framebufferWidth, framebufferHeight);
|
||||
glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_DEPTH_ATTACHMENT_OES, GL_RENDERBUFFER_OES, _depthRenderBuffer);
|
||||
|
||||
NSLog(@"Created framebuffer with size %d, %d\n", framebufferWidth, framebufferHeight);
|
||||
|
||||
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
|
||||
NSLog(@"Failed to make complete framebuffer object %x", glCheckFramebufferStatus(GL_FRAMEBUFFER));
|
||||
}
|
||||
}
|
||||
|
||||
- (void)deleteFramebuffer
|
||||
{
|
||||
if (context) {
|
||||
[EAGLContext setCurrentContext:context];
|
||||
|
||||
if (defaultFramebuffer) {
|
||||
glDeleteFramebuffers(1, &defaultFramebuffer);
|
||||
defaultFramebuffer = 0;
|
||||
}
|
||||
|
||||
if (colorRenderbuffer) {
|
||||
glDeleteRenderbuffers(1, &colorRenderbuffer);
|
||||
colorRenderbuffer = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setFramebuffer
|
||||
{
|
||||
if (context) {
|
||||
[EAGLContext setCurrentContext:context];
|
||||
|
||||
if (!defaultFramebuffer)
|
||||
[self createFramebuffer];
|
||||
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, defaultFramebuffer);
|
||||
|
||||
glViewport(0, 0, framebufferWidth, framebufferHeight);
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)presentFramebuffer
|
||||
{
|
||||
BOOL success = FALSE;
|
||||
|
||||
if (context) {
|
||||
[EAGLContext setCurrentContext:context];
|
||||
|
||||
glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer);
|
||||
|
||||
success = [context presentRenderbuffer:GL_RENDERBUFFER];
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
// The framebuffer will be re-created at the beginning of the next setFramebuffer method call.
|
||||
[self deleteFramebuffer];
|
||||
}
|
||||
|
||||
- (BOOL) isMultipleTouchEnabled {
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
26
project/iosproj/minecraftpe/PVRTexture.h
Executable file
@@ -0,0 +1,26 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <OpenGLES/ES1/gl.h>
|
||||
#import <OpenGLES/ES1/glext.h>
|
||||
|
||||
@interface PVRTexture : NSObject
|
||||
{
|
||||
NSMutableArray *_imageData;
|
||||
|
||||
GLuint _name;
|
||||
uint32_t _width, _height;
|
||||
GLenum _internalFormat;
|
||||
BOOL _hasAlpha;
|
||||
}
|
||||
|
||||
- (id)initWithContentsOfFile:(NSString *)path;
|
||||
- (id)initWithContentsOfURL:(NSURL *)url;
|
||||
+ (id)pvrTextureWithContentsOfFile:(NSString *)path;
|
||||
+ (id)pvrTextureWithContentsOfURL:(NSURL *)url;
|
||||
|
||||
@property (readonly) GLuint name;
|
||||
@property (readonly) uint32_t width;
|
||||
@property (readonly) uint32_t height;
|
||||
@property (readonly) GLenum internalFormat;
|
||||
@property (readonly) BOOL hasAlpha;
|
||||
|
||||
@end
|
||||
237
project/iosproj/minecraftpe/PVRTexture.m
Executable file
@@ -0,0 +1,237 @@
|
||||
#import "PVRTexture.h"
|
||||
|
||||
#define PVR_TEXTURE_FLAG_TYPE_MASK 0xff
|
||||
|
||||
static char gPVRTexIdentifier[4] = "PVR!";
|
||||
|
||||
enum
|
||||
{
|
||||
kPVRTextureFlagTypePVRTC_2 = 24,
|
||||
kPVRTextureFlagTypePVRTC_4
|
||||
};
|
||||
|
||||
typedef struct _PVRTexHeader
|
||||
{
|
||||
uint32_t headerLength;
|
||||
uint32_t height;
|
||||
uint32_t width;
|
||||
uint32_t numMipmaps;
|
||||
uint32_t flags;
|
||||
uint32_t dataLength;
|
||||
uint32_t bpp;
|
||||
uint32_t bitmaskRed;
|
||||
uint32_t bitmaskGreen;
|
||||
uint32_t bitmaskBlue;
|
||||
uint32_t bitmaskAlpha;
|
||||
uint32_t pvrTag;
|
||||
uint32_t numSurfs;
|
||||
} PVRTexHeader;
|
||||
|
||||
|
||||
@implementation PVRTexture
|
||||
|
||||
@synthesize name = _name;
|
||||
@synthesize width = _width;
|
||||
@synthesize height = _height;
|
||||
@synthesize internalFormat = _internalFormat;
|
||||
@synthesize hasAlpha = _hasAlpha;
|
||||
|
||||
|
||||
- (BOOL)unpackPVRData:(NSData *)data
|
||||
{
|
||||
BOOL success = FALSE;
|
||||
PVRTexHeader *header = NULL;
|
||||
uint32_t flags, pvrTag;
|
||||
uint32_t dataLength = 0, dataOffset = 0, dataSize = 0;
|
||||
uint32_t blockSize = 0, widthBlocks = 0, heightBlocks = 0;
|
||||
uint32_t width = 0, height = 0, bpp = 4;
|
||||
uint8_t *bytes = NULL;
|
||||
uint32_t formatFlags;
|
||||
|
||||
header = (PVRTexHeader *)[data bytes];
|
||||
|
||||
pvrTag = CFSwapInt32LittleToHost(header->pvrTag);
|
||||
|
||||
if (gPVRTexIdentifier[0] != ((pvrTag >> 0) & 0xff) ||
|
||||
gPVRTexIdentifier[1] != ((pvrTag >> 8) & 0xff) ||
|
||||
gPVRTexIdentifier[2] != ((pvrTag >> 16) & 0xff) ||
|
||||
gPVRTexIdentifier[3] != ((pvrTag >> 24) & 0xff))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
flags = CFSwapInt32LittleToHost(header->flags);
|
||||
formatFlags = flags & PVR_TEXTURE_FLAG_TYPE_MASK;
|
||||
|
||||
if (formatFlags == kPVRTextureFlagTypePVRTC_4 || formatFlags == kPVRTextureFlagTypePVRTC_2)
|
||||
{
|
||||
[_imageData removeAllObjects];
|
||||
|
||||
if (formatFlags == kPVRTextureFlagTypePVRTC_4)
|
||||
_internalFormat = GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
|
||||
else if (formatFlags == kPVRTextureFlagTypePVRTC_2)
|
||||
_internalFormat = GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;
|
||||
|
||||
_width = width = CFSwapInt32LittleToHost(header->width);
|
||||
_height = height = CFSwapInt32LittleToHost(header->height);
|
||||
|
||||
if (CFSwapInt32LittleToHost(header->bitmaskAlpha))
|
||||
_hasAlpha = TRUE;
|
||||
else
|
||||
_hasAlpha = FALSE;
|
||||
|
||||
dataLength = CFSwapInt32LittleToHost(header->dataLength);
|
||||
|
||||
bytes = ((uint8_t *)[data bytes]) + sizeof(PVRTexHeader);
|
||||
|
||||
// Calculate the data size for each texture level and respect the minimum number of blocks
|
||||
while (dataOffset < dataLength)
|
||||
{
|
||||
if (formatFlags == kPVRTextureFlagTypePVRTC_4)
|
||||
{
|
||||
blockSize = 4 * 4; // Pixel by pixel block size for 4bpp
|
||||
widthBlocks = width / 4;
|
||||
heightBlocks = height / 4;
|
||||
bpp = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
blockSize = 8 * 4; // Pixel by pixel block size for 2bpp
|
||||
widthBlocks = width / 8;
|
||||
heightBlocks = height / 4;
|
||||
bpp = 2;
|
||||
}
|
||||
|
||||
// Clamp to minimum number of blocks
|
||||
if (widthBlocks < 2)
|
||||
widthBlocks = 2;
|
||||
if (heightBlocks < 2)
|
||||
heightBlocks = 2;
|
||||
|
||||
dataSize = widthBlocks * heightBlocks * ((blockSize * bpp) / 8);
|
||||
|
||||
[_imageData addObject:[NSData dataWithBytes:bytes+dataOffset length:dataSize]];
|
||||
|
||||
dataOffset += dataSize;
|
||||
|
||||
width = MAX(width >> 1, 1);
|
||||
height = MAX(height >> 1, 1);
|
||||
}
|
||||
|
||||
success = TRUE;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
- (BOOL)createGLTexture
|
||||
{
|
||||
int width = _width;
|
||||
int height = _height;
|
||||
NSData *data;
|
||||
GLenum err;
|
||||
|
||||
if ([_imageData count] > 0)
|
||||
{
|
||||
if (_name != 0)
|
||||
glDeleteTextures(1, &_name);
|
||||
|
||||
glGenTextures(1, &_name);
|
||||
glBindTexture(GL_TEXTURE_2D, _name);
|
||||
}
|
||||
|
||||
if ([_imageData count] > 1) {
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
||||
}
|
||||
else {
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
}
|
||||
|
||||
NSLog(@"Image levels: %d\n", [_imageData count]);
|
||||
for (int i=0; i < [_imageData count]; i++)
|
||||
{
|
||||
data = [_imageData objectAtIndex:i];
|
||||
glCompressedTexImage2D(GL_TEXTURE_2D, i, _internalFormat, width, height, 0, [data length], [data bytes]);
|
||||
|
||||
err = glGetError();
|
||||
if (err != GL_NO_ERROR)
|
||||
{
|
||||
NSLog(@"Error uploading compressed texture level: %d. glError: 0x%04X", i, err);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
width = MAX(width >> 1, 1);
|
||||
height = MAX(height >> 1, 1);
|
||||
}
|
||||
|
||||
[_imageData removeAllObjects];
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
- (id)initWithContentsOfFile:(NSString *)path
|
||||
{
|
||||
if (self = [super init])
|
||||
{
|
||||
NSData *data = [NSData dataWithContentsOfFile:path];
|
||||
|
||||
_imageData = [[NSMutableArray alloc] initWithCapacity:10];
|
||||
|
||||
_name = 0;
|
||||
_width = _height = 0;
|
||||
_internalFormat = GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
|
||||
_hasAlpha = FALSE;
|
||||
|
||||
if (!data || ![self unpackPVRData:data] || ![self createGLTexture])
|
||||
{
|
||||
[self release];
|
||||
self = nil;
|
||||
}
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (id)initWithContentsOfURL:(NSURL *)url
|
||||
{
|
||||
if (![url isFileURL])
|
||||
{
|
||||
[self release];
|
||||
return nil;
|
||||
}
|
||||
|
||||
return [self initWithContentsOfFile:[url path]];
|
||||
}
|
||||
|
||||
|
||||
+ (id)pvrTextureWithContentsOfFile:(NSString *)path
|
||||
{
|
||||
return [[[self alloc] initWithContentsOfFile:path] autorelease];
|
||||
}
|
||||
|
||||
|
||||
+ (id)pvrTextureWithContentsOfURL:(NSURL *)url
|
||||
{
|
||||
if (![url isFileURL])
|
||||
return nil;
|
||||
|
||||
return [PVRTexture pvrTextureWithContentsOfFile:[url path]];
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[_imageData release];
|
||||
|
||||
if (_name != 0)
|
||||
glDeleteTextures(1, &_name);
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@end
|
||||
23
project/iosproj/minecraftpe/ShowKeyboardView.h
Executable file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// ShowKeyboardView.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by Johan Bernhardsson on 12/17/12.
|
||||
//
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
@interface ShowKeyboardView : UIView</*UIKeyInput, */UITextFieldDelegate> {
|
||||
UITextField* textField;
|
||||
NSString* lastString;
|
||||
}
|
||||
- (id)initWithFrame:(CGRect)frame;
|
||||
//- (void)insertText:(NSString *)text;
|
||||
//- (void)deleteBackward;
|
||||
- (BOOL)hasText;
|
||||
- (BOOL)canBecomeFirstResponder;
|
||||
- (void)showKeyboard;
|
||||
- (void)hideKeyboard;
|
||||
- (void)textFieldDidChange :(NSNotification *)notif;
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField;
|
||||
@end
|
||||
88
project/iosproj/minecraftpe/ShowKeyboardView.mm
Executable file
@@ -0,0 +1,88 @@
|
||||
//
|
||||
// ShowKeyboardView.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by Johan Bernhardsson on 12/17/12.
|
||||
//
|
||||
//
|
||||
|
||||
#import "ShowKeyboardView.h"
|
||||
#import "../../../src/platform/log.h"
|
||||
#include "../../../src/platform/input/Keyboard.h"
|
||||
#include <string>
|
||||
|
||||
@implementation ShowKeyboardView
|
||||
|
||||
- (id)initWithFrame:(CGRect)frame {
|
||||
id returnId = [super initWithFrame:frame];
|
||||
textField = [[UITextField alloc] init];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(textFieldDidChange:) name:@"UITextFieldTextDidChangeNotification" object:textField];
|
||||
[textField setDelegate:self];
|
||||
[self addSubview:textField];
|
||||
textField.text = lastString = @"AAAAAAAAAAAAAAAAAAAA";
|
||||
return returnId;
|
||||
}
|
||||
|
||||
/*- (void)insertText:(NSString *)text {
|
||||
const char* cText = [text cStringUsingEncoding:[NSString defaultCStringEncoding]];
|
||||
//std::string textString([text cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
int strLength = strlen(cText);
|
||||
for(int a = 0; a < strLength; ++a) {
|
||||
LOGW("NewCharInput: %c (%d)\n", cText[a], cText[a]);
|
||||
if(cText[a] == 0 || cText[a] == '\n') {
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 1);
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 0);
|
||||
} else {
|
||||
Keyboard::feedText(cText[a]);
|
||||
}
|
||||
}
|
||||
//delete cText;
|
||||
//LOGW("Insert text: %s\n", [text cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
}
|
||||
|
||||
- (void)deleteBackward {
|
||||
//LOGW("deleteBackward\n");
|
||||
//Keyboard::feed((char)Keyboard::KEY_BACKSPACE, 1);
|
||||
//Keyboard::feed((char)Keyboard::KEY_BACKSPACE, 0);§
|
||||
}*/
|
||||
|
||||
- (BOOL)hasText {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)canBecomeFirstResponder {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)showKeyboard {
|
||||
//[self becomeFirstResponder];
|
||||
[textField becomeFirstResponder];
|
||||
//[self becomeFirstResponder];
|
||||
}
|
||||
|
||||
- (void)hideKeyboard {
|
||||
[textField resignFirstResponder];
|
||||
[self resignFirstResponder];
|
||||
}
|
||||
|
||||
- (void)textFieldDidChange :(NSNotification *)notif {
|
||||
UITextField* txt = (UITextField*)notif.object;
|
||||
if(![txt.text isEqualToString:lastString]) {
|
||||
if(lastString.length > txt.text.length) {
|
||||
Keyboard::feed((char)Keyboard::KEY_BACKSPACE, 1);
|
||||
Keyboard::feed((char)Keyboard::KEY_BACKSPACE, 0);
|
||||
} else if([txt.text characterAtIndex:(txt.text.length - 1)] == '\n') {
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 1);
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 0);
|
||||
} else {
|
||||
Keyboard::feedText([txt.text characterAtIndex:(txt.text.length - 1)]);
|
||||
}
|
||||
textField.text = lastString = @"AAAAAAAAAAAAAAAAAAAA";
|
||||
}
|
||||
}
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 1);
|
||||
Keyboard::feed((char)Keyboard::KEY_RETURN, 0);
|
||||
return NO;
|
||||
}
|
||||
@end
|
||||
35
project/iosproj/minecraftpe/dialogs/BaseDialogController.h
Executable file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// BaseDialogController.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "IDialog.h"
|
||||
|
||||
@class minecraftpeViewController;
|
||||
|
||||
@interface BaseDialogController : UIViewController<IDialog>
|
||||
{
|
||||
int _status;
|
||||
std::vector<std::string> _strings;
|
||||
|
||||
minecraftpeViewController* _listener;
|
||||
}
|
||||
|
||||
// Interface
|
||||
-(void)addToView:(UIView*)parentView;
|
||||
-(int) getUserInputStatus;
|
||||
-(std::vector<std::string>)getUserInput;
|
||||
-(void)setListener:(minecraftpeViewController*)listener;
|
||||
|
||||
// Helpers
|
||||
-(void)setOk;
|
||||
-(void)setCancel;
|
||||
-(void)closeOk;
|
||||
-(void)closeCancel;
|
||||
-(void)addString:(std::string)s;
|
||||
|
||||
@end
|
||||
78
project/iosproj/minecraftpe/dialogs/BaseDialogController.mm
Executable file
@@ -0,0 +1,78 @@
|
||||
//
|
||||
// BaseDialogController.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseDialogController.h"
|
||||
#import "../minecraftpeViewController.h"
|
||||
|
||||
@implementation BaseDialogController
|
||||
|
||||
- (id)init
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
// Initialization code here.
|
||||
_status = -1;
|
||||
_listener = nil;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
//
|
||||
// Interface
|
||||
//
|
||||
- (void)addToView:(UIView*)parentView {
|
||||
|
||||
// Add this view as a subview of EAGLView
|
||||
[parentView addSubview:self.view];
|
||||
|
||||
// ...then fade it in using core animation
|
||||
[UIView beginAnimations:nil context:NULL];
|
||||
//self.view.alpha = 1.0f;
|
||||
[UIView commitAnimations];
|
||||
}
|
||||
|
||||
- (int) getUserInputStatus { return _status; }
|
||||
|
||||
-(std::vector<std::string>)getUserInput
|
||||
{
|
||||
return _strings;
|
||||
}
|
||||
|
||||
-(void)setListener:(minecraftpeViewController*)listener
|
||||
{
|
||||
_listener = listener;
|
||||
}
|
||||
|
||||
//
|
||||
// Helpers
|
||||
//
|
||||
- (void) setOk {
|
||||
_status = 1;
|
||||
}
|
||||
|
||||
- (void) setCancel {
|
||||
_status = 0;
|
||||
}
|
||||
|
||||
- (void) closeOk {
|
||||
[self setOk];
|
||||
NSLog(@"Close dialog %p\n", _listener);
|
||||
[_listener closeDialog];
|
||||
}
|
||||
|
||||
- (void) closeCancel {
|
||||
[self setCancel];
|
||||
[_listener closeDialog];
|
||||
}
|
||||
|
||||
- (void) addString: (std::string) s {
|
||||
_strings.push_back(s);
|
||||
}
|
||||
|
||||
@end
|
||||
36
project/iosproj/minecraftpe/dialogs/CreateNewWorldViewController.h
Executable file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// CreateNewWorldViewController.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseDialogController.h"
|
||||
|
||||
@interface CreateNewWorldViewController : BaseDialogController<UITextFieldDelegate>
|
||||
{
|
||||
IBOutlet UILabel* _labelName;
|
||||
IBOutlet UILabel* _labelSeed;
|
||||
IBOutlet UILabel* _labelSeedHint;
|
||||
|
||||
IBOutlet UILabel* _labelGameMode;
|
||||
IBOutlet UILabel* _labelGameModeDesc;
|
||||
|
||||
IBOutlet UITextField* _textName;
|
||||
IBOutlet UITextField* _textSeed;
|
||||
|
||||
IBOutlet UIButton* _btnGameMode;
|
||||
|
||||
int _currentGameModeId;
|
||||
}
|
||||
|
||||
- (void) UpdateGameModeDesc;
|
||||
|
||||
- (IBAction)DismissKeyboard;
|
||||
|
||||
- (IBAction)Create;
|
||||
- (IBAction)Cancel;
|
||||
- (IBAction)ToggleGameMode;
|
||||
|
||||
@end
|
||||
187
project/iosproj/minecraftpe/dialogs/CreateNewWorldViewController.mm
Executable file
@@ -0,0 +1,187 @@
|
||||
//
|
||||
// CreateNewWorldViewController.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CreateNewWorldViewController.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
static const int GameMode_Creative = 0;
|
||||
static const int GameMode_Survival = 1;
|
||||
static const char* getGameModeName(int mode) {
|
||||
if (mode == GameMode_Survival) return "survival";
|
||||
return "creative";
|
||||
}
|
||||
|
||||
@implementation CreateNewWorldViewController
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
_currentGameModeId = GameMode_Creative;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
// Releases the view if it doesn't have a superview.
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
// Release any cached data, images, etc that aren't in use.
|
||||
}
|
||||
|
||||
- (void) UpdateGameModeDesc
|
||||
{
|
||||
if (_currentGameModeId == GameMode_Creative) {
|
||||
[_labelGameModeDesc setText:@"Unlimited resources, flying"];
|
||||
|
||||
UIImage *img = [UIImage imageNamed:@"creative_0_4.png"];
|
||||
[_btnGameMode setImage:img forState:UIControlStateNormal];
|
||||
UIImage *img2 = [UIImage imageNamed:@"creative_1_4.png"];
|
||||
[_btnGameMode setImage:img2 forState:UIControlStateHighlighted];
|
||||
}
|
||||
if (_currentGameModeId == GameMode_Survival) {
|
||||
[_labelGameModeDesc setText:@"Mobs, health and gather resources"];
|
||||
|
||||
UIImage *img = [UIImage imageNamed:@"survival_0_4.png"];
|
||||
[_btnGameMode setImage:img forState:UIControlStateNormal];
|
||||
UIImage *img2 = [UIImage imageNamed:@"survival_1_4.png"];
|
||||
[_btnGameMode setImage:img2 forState:UIControlStateHighlighted];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - View lifecycle
|
||||
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)textField
|
||||
{
|
||||
//NSLog(@"TextField should return\n");
|
||||
[textField setUserInteractionEnabled:YES];
|
||||
[self DismissKeyboard];
|
||||
// [textField resignFirstResponder];
|
||||
// if (textField == _textName)
|
||||
// [_textSeed becomeFirstResponder];
|
||||
// else if (textField == _textSeed)
|
||||
// [self Create];
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) resizeView:(UIView*)obj width:(int)w height:(int)h {
|
||||
if (w < 0) w = obj.frame.size.width;
|
||||
if (h < 0) h = obj.frame.size.height;
|
||||
obj.frame = CGRectMake(obj.frame.origin.x, obj.frame.origin.y, w, h);
|
||||
}
|
||||
|
||||
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
|
||||
{
|
||||
if (textField == _textName) {
|
||||
NSUInteger newLength = [textField.text length] + [string length] - range.length;
|
||||
if (newLength > 18)
|
||||
return NO;
|
||||
}
|
||||
|
||||
int length = [string length];
|
||||
for (int i = 0; i < length; ++i) {
|
||||
unichar ch = [string characterAtIndex:i];
|
||||
|
||||
if (ch >= 128)
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
BOOL isIpad = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
|
||||
|
||||
UIFont* fontLarge = nil;
|
||||
UIFont* fontSmall = nil;
|
||||
|
||||
if (isIpad) {
|
||||
[self resizeView:_textName width:-1 height:48];
|
||||
[self resizeView:_textSeed width:-1 height:48];
|
||||
self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bg128.png"] ];
|
||||
fontLarge = [UIFont fontWithName:@"minecraft" size:28];
|
||||
fontSmall = [UIFont fontWithName:@"minecraft" size:24];
|
||||
} else {
|
||||
[self resizeView:_textName width:-1 height:32];
|
||||
[self resizeView:_textSeed width:-1 height:32];
|
||||
self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bg64.png"] ];
|
||||
fontLarge = [UIFont fontWithName:@"minecraft" size:16];
|
||||
fontSmall = [UIFont fontWithName:@"minecraft" size: 14];
|
||||
}
|
||||
|
||||
UIView *paddingView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 4, 20)] autorelease];
|
||||
_textName.leftView = paddingView;
|
||||
_textSeed.leftView = paddingView;
|
||||
|
||||
[_labelName setFont:fontLarge];
|
||||
[_labelSeed setFont:fontSmall];
|
||||
[_labelSeedHint setFont:fontSmall];
|
||||
[_labelGameMode setFont:fontSmall];
|
||||
[_labelGameModeDesc setFont:fontSmall];
|
||||
|
||||
[_textName setFont:fontLarge];
|
||||
[_textSeed setFont:fontLarge];
|
||||
|
||||
_textName.layer.borderColor = [[UIColor whiteColor] CGColor];
|
||||
_textName.layer.borderWidth = 2.0f;
|
||||
|
||||
_textSeed.layer.borderColor = [[UIColor whiteColor] CGColor];
|
||||
_textSeed.layer.borderWidth = 2.0f;
|
||||
|
||||
_textSeed.delegate = self;
|
||||
_textName.delegate = self;
|
||||
|
||||
[self UpdateGameModeDesc];
|
||||
}
|
||||
|
||||
- (void)viewDidUnload
|
||||
{
|
||||
[super viewDidUnload];
|
||||
// Release any retained subviews of the main view.
|
||||
// e.g. self.myOutlet = nil;
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||
{
|
||||
// Return YES for supported orientations
|
||||
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||
}
|
||||
|
||||
- (IBAction)Create {
|
||||
//NSLog(@"I'm done!");
|
||||
// Push the strings
|
||||
[self addString: [[_textName text] UTF8String]];
|
||||
[self addString: [[_textSeed text] UTF8String]];
|
||||
[self addString: getGameModeName(_currentGameModeId)];
|
||||
[self closeOk];
|
||||
}
|
||||
|
||||
- (IBAction)Cancel {
|
||||
//NSLog(@"I'm cancelled!");
|
||||
[self closeCancel];
|
||||
}
|
||||
|
||||
- (IBAction)ToggleGameMode {
|
||||
const int NumGameModes = 2;
|
||||
if (++_currentGameModeId >= NumGameModes)
|
||||
_currentGameModeId = 0;
|
||||
|
||||
[self UpdateGameModeDesc];
|
||||
}
|
||||
|
||||
- (IBAction)DismissKeyboard {
|
||||
//NSLog(@"Trying to dismiss keyboard %p %p\n", _textName, _textSeed);
|
||||
[_textName resignFirstResponder];
|
||||
[_textSeed resignFirstResponder];
|
||||
}
|
||||
|
||||
@end
|
||||
628
project/iosproj/minecraftpe/dialogs/CreateNewWorld_ipad.xib
Executable file
@@ -0,0 +1,628 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C2034</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2844</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1930</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUIImageView</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{274, 128}, {468, 48}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="810457856"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="718411187">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUITextField" id="564376120">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{274, 473}, {468, 48}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="632138110"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="IBUIContentStretch">{{1, 0}, {1, 1}}</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">24</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">24</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">24</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="965668188">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{217, 422}, {565, 57}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="564376120"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Seed for the World Generator</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="602739267">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<reference key="IBUIHighlightedColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUIShadowColor" id="306229480">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="469522421">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<reference key="IBUIFont" ref="718411187"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="632138110">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{217, 523}, {565, 57}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Leave blank for random seed</string>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<reference key="IBUIHighlightedColor" ref="468127665"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="469522421"/>
|
||||
<reference key="IBUIFont" ref="718411187"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{760, 0}, {264, 104}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="646393447">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1_4.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUISelectedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_0_4.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="812303744">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="298819761">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="1013060692">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrameSize">{264, 104}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="655940816"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1_4.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_0_4.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="361620371">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{213, 328}, {598, 59}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="965668188"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUINumberOfLines">12</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<double key="preferredMaxLayoutWidth">598</double>
|
||||
</object>
|
||||
<object class="IBUIButton" id="810457856">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{320, 216}, {384, 104}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="361620371"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">creative_1_4.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="655940816">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{264, 0}, {496, 104}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="875748670"/>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">worldname_ipad_4.png</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{1024, 742}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="1013060692"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
|
||||
<string key="IBUIDisplayName">Freeform</string>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="564376120"/>
|
||||
</object>
|
||||
<int key="connectionID">31</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="965668188"/>
|
||||
</object>
|
||||
<int key="connectionID">33</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelGameModeDesc</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="361620371"/>
|
||||
</object>
|
||||
<int key="connectionID">38</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_btnGameMode</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="810457856"/>
|
||||
</object>
|
||||
<int key="connectionID">40</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeedHint</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="632138110"/>
|
||||
</object>
|
||||
<int key="connectionID">44</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Cancel</string>
|
||||
<reference key="source" ref="1013060692"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">24</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">ToggleGameMode</string>
|
||||
<reference key="source" ref="810457856"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">41</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="655940816"/>
|
||||
<reference ref="564376120"/>
|
||||
<reference ref="965668188"/>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="810457856"/>
|
||||
<reference ref="1013060692"/>
|
||||
<reference ref="875748670"/>
|
||||
<reference ref="361620371"/>
|
||||
<reference ref="632138110"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">8</int>
|
||||
<reference key="object" ref="1013060692"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">5</int>
|
||||
<reference key="object" ref="965668188"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">4</int>
|
||||
<reference key="object" ref="564376120"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">36</int>
|
||||
<reference key="object" ref="361620371"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">37</int>
|
||||
<reference key="object" ref="810457856"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">42</int>
|
||||
<reference key="object" ref="655940816"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">43</int>
|
||||
<reference key="object" ref="632138110"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>36.IBPluginDependency</string>
|
||||
<string>37.IBPluginDependency</string>
|
||||
<string>37.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>4.IBPluginDependency</string>
|
||||
<string>42.IBPluginDependency</string>
|
||||
<string>43.IBPluginDependency</string>
|
||||
<string>5.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>8.IBPluginDependency</string>
|
||||
<string>8.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">44</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>cancel_0_4.png</string>
|
||||
<string>cancel_1.png</string>
|
||||
<string>cancel_1_4.png</string>
|
||||
<string>create_0_4.png</string>
|
||||
<string>create_1.png</string>
|
||||
<string>create_1_4.png</string>
|
||||
<string>creative_1_4.png</string>
|
||||
<string>worldname_ipad_4.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{264, 104}</string>
|
||||
<string>{16, 16}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{16, 16}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{384, 104}</string>
|
||||
<string>{504, 104}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1930</string>
|
||||
</data>
|
||||
</archive>
|
||||
644
project/iosproj/minecraftpe/dialogs/CreateNewWorld_iphone.xib
Executable file
@@ -0,0 +1,644 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1929</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUIImageView</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{130, 62}, {222, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="1052704571"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUITextField" id="564376120">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{130, 245}, {222, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="IBUIContentStretch">{{1, 0}, {1, 1}}</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">24</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">24</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">24</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="965668188">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{86, 212}, {310, 35}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="104978660"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Seed for the World Generator</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="602739267">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<reference key="IBUIHighlightedColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUIShadowColor" id="306229480">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="223480027">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="745475931">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="104978660">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{86, 269}, {310, 49}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="564376120"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Leave blank for a random seed</string>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<reference key="IBUIFont" ref="745475931"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="1052704571">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{74, 160}, {335, 44}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="112061382"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUINumberOfLines">12</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="223480027"/>
|
||||
<reference key="IBUIFont" ref="745475931"/>
|
||||
<double key="preferredMaxLayoutWidth">335</double>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{348, 0}, {132, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Create</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="646393447">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="383190733">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUISelectedImage" ref="383190733"/>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_0_3.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="812303744">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="298819761">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="1013060692">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrameSize">{132, 52}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="524071077"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Cancel</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="429621062">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUISelectedImage" ref="429621062"/>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_0_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="112061382">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{144, 109}, {191, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="965668188"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Cancel</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">creative_0_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="524071077">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{130, 0}, {220, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="875748670"/>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">worldname_iphone_3.png</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 320}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="1013060692"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{320, 480}</string>
|
||||
<string>{480, 320}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 3.5 Full Screen</string>
|
||||
<int key="IBUIType">0</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="564376120"/>
|
||||
</object>
|
||||
<int key="connectionID">31</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="965668188"/>
|
||||
</object>
|
||||
<int key="connectionID">33</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeedHint</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="104978660"/>
|
||||
</object>
|
||||
<int key="connectionID">34</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelGameModeDesc</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="1052704571"/>
|
||||
</object>
|
||||
<int key="connectionID">70</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_btnGameMode</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="112061382"/>
|
||||
</object>
|
||||
<int key="connectionID">73</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Cancel</string>
|
||||
<reference key="source" ref="1013060692"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">24</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">ToggleGameMode</string>
|
||||
<reference key="source" ref="112061382"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">71</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="564376120"/>
|
||||
<reference ref="112061382"/>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="1052704571"/>
|
||||
<reference ref="965668188"/>
|
||||
<reference ref="104978660"/>
|
||||
<reference ref="875748670"/>
|
||||
<reference ref="524071077"/>
|
||||
<reference ref="1013060692"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">8</int>
|
||||
<reference key="object" ref="1013060692"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">5</int>
|
||||
<reference key="object" ref="965668188"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">4</int>
|
||||
<reference key="object" ref="564376120"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">13</int>
|
||||
<reference key="object" ref="104978660"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">36</int>
|
||||
<reference key="object" ref="112061382"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">39</int>
|
||||
<reference key="object" ref="1052704571"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">74</int>
|
||||
<reference key="object" ref="524071077"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>13.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>36.IBPluginDependency</string>
|
||||
<string>36.IBUIButtonInspectorSelectedEdgeInsetMetadataKey</string>
|
||||
<string>36.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>39.IBPluginDependency</string>
|
||||
<string>4.IBPluginDependency</string>
|
||||
<string>5.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>74.IBPluginDependency</string>
|
||||
<string>8.IBPluginDependency</string>
|
||||
<string>8.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<real value="0.0"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">74</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>cancel_0_3.png</string>
|
||||
<string>cancel_1.png</string>
|
||||
<string>cancel_1_3.png</string>
|
||||
<string>create_0_3.png</string>
|
||||
<string>create_1_3.png</string>
|
||||
<string>creative_0_3.png</string>
|
||||
<string>worldname_iphone_3.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{132, 52}</string>
|
||||
<string>{16, 16}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{191, 52}</string>
|
||||
<string>{220, 52}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1929</string>
|
||||
</data>
|
||||
</archive>
|
||||
643
project/iosproj/minecraftpe/dialogs/CreateNewWorld_iphone5.xib
Executable file
@@ -0,0 +1,643 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C2034</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2844</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1930</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUIImageView</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{173, 62}, {222, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="1052704571"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUITextField" id="564376120">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{173, 245}, {222, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="IBUIContentStretch">{{1, 0}, {1, 1}}</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">24</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">9</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">24</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">24</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="965668188">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{129, 212}, {310, 35}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="104978660"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Seed for the World Generator</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="602739267">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<reference key="IBUIHighlightedColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUIShadowColor" id="306229480">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="223480027">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="745475931">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="104978660">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{129, 269}, {310, 49}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="564376120"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Leave blank for a random seed</string>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<reference key="IBUIFont" ref="745475931"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="1052704571">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{116, 160}, {335, 44}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="112061382"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<reference key="IBUITextColor" ref="602739267"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<reference key="IBUIShadowColor" ref="306229480"/>
|
||||
<string key="IBUIShadowOffset">{1, 1}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<int key="IBUINumberOfLines">12</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="223480027"/>
|
||||
<reference key="IBUIFont" ref="745475931"/>
|
||||
<double key="preferredMaxLayoutWidth">335</double>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{437, 0}, {132, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Create</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="646393447">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="383190733">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUISelectedImage" ref="383190733"/>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_0_3.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="812303744">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="298819761">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="1013060692">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrameSize">{132, 52}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="524071077"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Cancel</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="429621062">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUISelectedImage" ref="429621062"/>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_0_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="112061382">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{188, 109}, {191, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="965668188"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Cancel</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="646393447"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">cancel_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">creative_0_3.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="812303744"/>
|
||||
<reference key="IBUIFont" ref="298819761"/>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="524071077">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{129, 0}, {310, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="875748670"/>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">worldname_iphone5_3.png</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 320}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="1013060692"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{320, 480}</string>
|
||||
<string>{480, 320}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 3.5 Full Screen</string>
|
||||
<int key="IBUIType">0</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="564376120"/>
|
||||
</object>
|
||||
<int key="connectionID">31</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeed</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="965668188"/>
|
||||
</object>
|
||||
<int key="connectionID">33</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelSeedHint</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="104978660"/>
|
||||
</object>
|
||||
<int key="connectionID">34</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelGameModeDesc</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="1052704571"/>
|
||||
</object>
|
||||
<int key="connectionID">70</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_btnGameMode</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="112061382"/>
|
||||
</object>
|
||||
<int key="connectionID">73</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Cancel</string>
|
||||
<reference key="source" ref="1013060692"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">24</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">ToggleGameMode</string>
|
||||
<reference key="source" ref="112061382"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">71</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="564376120"/>
|
||||
<reference ref="112061382"/>
|
||||
<reference ref="524071077"/>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="1052704571"/>
|
||||
<reference ref="965668188"/>
|
||||
<reference ref="104978660"/>
|
||||
<reference ref="875748670"/>
|
||||
<reference ref="1013060692"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">8</int>
|
||||
<reference key="object" ref="1013060692"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">5</int>
|
||||
<reference key="object" ref="965668188"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">4</int>
|
||||
<reference key="object" ref="564376120"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">13</int>
|
||||
<reference key="object" ref="104978660"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">36</int>
|
||||
<reference key="object" ref="112061382"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">39</int>
|
||||
<reference key="object" ref="1052704571"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">74</int>
|
||||
<reference key="object" ref="524071077"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>13.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>36.IBPluginDependency</string>
|
||||
<string>36.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>39.IBPluginDependency</string>
|
||||
<string>4.IBPluginDependency</string>
|
||||
<string>5.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>74.IBPluginDependency</string>
|
||||
<string>8.IBPluginDependency</string>
|
||||
<string>8.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0"/>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">75</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>cancel_0_3.png</string>
|
||||
<string>cancel_1.png</string>
|
||||
<string>cancel_1_3.png</string>
|
||||
<string>create_0_3.png</string>
|
||||
<string>create_1_3.png</string>
|
||||
<string>creative_0_3.png</string>
|
||||
<string>worldname_iphone5_3.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{132, 52}</string>
|
||||
<string>{16, 16}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{132, 52}</string>
|
||||
<string>{191, 52}</string>
|
||||
<string>{310, 52}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1930</string>
|
||||
</data>
|
||||
</archive>
|
||||
23
project/iosproj/minecraftpe/dialogs/IDialog.h
Executable file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// IDialog.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <vector>
|
||||
#import <string>
|
||||
|
||||
@class minecraftpeViewController;
|
||||
|
||||
@protocol IDialog <NSObject>
|
||||
|
||||
-(void)addToView:(UIView*)parentView;
|
||||
-(void)setListener:(minecraftpeViewController*)listener;
|
||||
|
||||
-(int)getUserInputStatus;
|
||||
-(std::vector<std::string>)getUserInput;
|
||||
|
||||
@end
|
||||
23
project/iosproj/minecraftpe/dialogs/RenameMPWorldViewController.h
Executable file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// RenameMPWorldViewController.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseDialogController.h"
|
||||
|
||||
@interface RenameMPWorldViewController : BaseDialogController<UITextFieldDelegate>
|
||||
{
|
||||
IBOutlet UILabel* _labelName;
|
||||
|
||||
IBOutlet UITextField* _textName;
|
||||
}
|
||||
|
||||
- (IBAction)DismissKeyboard;
|
||||
|
||||
- (IBAction)Create;
|
||||
- (IBAction)Cancel;
|
||||
|
||||
@end
|
||||
132
project/iosproj/minecraftpe/dialogs/RenameMPWorldViewController.mm
Executable file
@@ -0,0 +1,132 @@
|
||||
//
|
||||
// RenameMPWorldViewController.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RenameMPWorldViewController.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
@implementation RenameMPWorldViewController
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
// Releases the view if it doesn't have a superview.
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
// Release any cached data, images, etc that aren't in use.
|
||||
}
|
||||
|
||||
#pragma mark - View lifecycle
|
||||
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)textField
|
||||
{
|
||||
//NSLog(@"TextField should return\n");
|
||||
[textField setUserInteractionEnabled:YES];
|
||||
[textField resignFirstResponder];
|
||||
if (textField == _textName)
|
||||
[self Create];
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) resizeView:(UIView*)obj width:(int)w height:(int)h {
|
||||
if (w < 0) w = obj.frame.size.width;
|
||||
if (h < 0) h = obj.frame.size.height;
|
||||
obj.frame = CGRectMake(obj.frame.origin.x, obj.frame.origin.y, w, h);
|
||||
}
|
||||
|
||||
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
|
||||
{
|
||||
if (textField == _textName) {
|
||||
NSUInteger newLength = [textField.text length] + [string length] - range.length;
|
||||
if (newLength > 18)
|
||||
return NO;
|
||||
}
|
||||
|
||||
int length = [string length];
|
||||
for (int i = 0; i < length; ++i) {
|
||||
unichar ch = [string characterAtIndex:i];
|
||||
|
||||
if (ch >= 128)
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
BOOL isIpad = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
|
||||
|
||||
UIFont* fontLarge = nil;
|
||||
UIFont* fontSmall = nil;
|
||||
|
||||
if (isIpad) {
|
||||
[self resizeView:_textName width:-1 height:48];
|
||||
self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bg128.png"] ];
|
||||
fontLarge = [UIFont fontWithName:@"minecraft" size:24];
|
||||
fontSmall = [UIFont fontWithName:@"minecraft" size:18];
|
||||
} else {
|
||||
[self resizeView:_textName width:-1 height:32];
|
||||
self.view.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"bg64.png"] ];
|
||||
fontLarge = [UIFont fontWithName:@"minecraft" size:16];
|
||||
fontSmall = [UIFont fontWithName:@"minecraft" size: 14];
|
||||
}
|
||||
|
||||
UIView *paddingView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 4, 20)] autorelease];
|
||||
_textName.leftView = paddingView;
|
||||
|
||||
[_labelName setFont:fontLarge];
|
||||
|
||||
[_textName setFont:fontLarge];
|
||||
|
||||
_textName.layer.borderColor = [[UIColor whiteColor] CGColor];
|
||||
_textName.layer.borderWidth = 2.0f;
|
||||
|
||||
_textName.delegate = self;
|
||||
[_textName becomeFirstResponder];
|
||||
}
|
||||
|
||||
- (void)viewDidUnload
|
||||
{
|
||||
[super viewDidUnload];
|
||||
// Release any retained subviews of the main view.
|
||||
// e.g. self.myOutlet = nil;
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||
{
|
||||
// Return YES for supported orientations
|
||||
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||
}
|
||||
|
||||
- (IBAction)Create {
|
||||
//NSLog(@"I'm done!");
|
||||
// Push the strings
|
||||
[self addString: [[_textName text] UTF8String]];
|
||||
[self closeOk];
|
||||
}
|
||||
|
||||
- (IBAction)Cancel {
|
||||
//NSLog(@"I'm cancelled!");
|
||||
[self closeCancel];
|
||||
}
|
||||
|
||||
- (IBAction)DismissKeyboard {
|
||||
//NSLog(@"Trying to dismiss keyboard %p %p\n", _textName, _textSeed);
|
||||
[_textName resignFirstResponder];
|
||||
}
|
||||
|
||||
@end
|
||||
353
project/iosproj/minecraftpe/dialogs/RenameMPWorld_ipad.xib
Executable file
@@ -0,0 +1,353 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1929</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{230, 126}, {565, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="875748670"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">1</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="577045456">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{230, 68}, {565, 55}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Save world as</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<object class="NSColor" key="IBUIShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{380, 214}, {264, 104}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Create</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUISelectedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_0.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{1024, 742}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="577045456"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
|
||||
<string key="IBUIDisplayName">Freeform</string>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="577045456"/>
|
||||
</object>
|
||||
<int key="connectionID">32</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="577045456"/>
|
||||
<reference ref="875748670"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">6</int>
|
||||
<reference key="object" ref="577045456"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>6.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">34</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>create_1.png</string>
|
||||
<string>save_0.png</string>
|
||||
<string>save_1.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1929</string>
|
||||
</data>
|
||||
</archive>
|
||||
368
project/iosproj/minecraftpe/dialogs/RenameMPWorld_iphone.xib
Executable file
@@ -0,0 +1,368 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1929</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{112, 58}, {281, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="875748670"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">1</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="577045456">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{112, 11}, {565, 55}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Save world as</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<object class="NSColor" key="IBUIShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{186, 106}, {132, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Create</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUISelectedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_0.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 320}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="577045456"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{320, 480}</string>
|
||||
<string>{480, 320}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 3.5 Full Screen</string>
|
||||
<int key="IBUIType">0</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="577045456"/>
|
||||
</object>
|
||||
<int key="connectionID">32</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="577045456"/>
|
||||
<reference ref="875748670"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">6</int>
|
||||
<reference key="object" ref="577045456"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>6.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">34</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>create_1.png</string>
|
||||
<string>save_0.png</string>
|
||||
<string>save_1.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1929</string>
|
||||
</data>
|
||||
</archive>
|
||||
367
project/iosproj/minecraftpe/dialogs/RenameMPWorld_iphone5.xib
Executable file
@@ -0,0 +1,367 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">11G63</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2843</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1929</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITextField</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="975951072">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="708237769">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUITextField" id="627729097">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{150, 58}, {281, 31}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUIText"/>
|
||||
<int key="IBUIBorderStyle">1</int>
|
||||
<object class="NSColor" key="IBUITextColor" id="468127665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">YES</bool>
|
||||
<float key="IBUIMinimumFontSize">18</float>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocorrectionType">1</int>
|
||||
<int key="IBUIKeyboardType">1</int>
|
||||
<int key="IBUIReturnKeyType">1</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">AndaleMono</string>
|
||||
<string key="family">Andale Mono</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="577045456">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{150, 11}, {565, 55}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<reference key="NSNextKeyView" ref="627729097"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Save world as</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<object class="NSColor" key="IBUIShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
|
||||
</object>
|
||||
<string key="IBUIShadowOffset">{2, 2}</string>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">12</float>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Minecraft</string>
|
||||
<string key="family">Minecraft</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="875748670">
|
||||
<reference key="NSNextResponder" ref="708237769"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{224, 106}, {132, 52}}</string>
|
||||
<reference key="NSSuperview" ref="708237769"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC42IDAuNiAwLjYgMAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Create</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="468127665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUISelectedImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">create_1.png</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="IBUINormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">save_0.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Helvetica-Bold</string>
|
||||
<string key="family">Helvetica</string>
|
||||
<int key="traits">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{480, 320}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSNextKeyView" ref="577045456"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC40NzQ0ODk3OTU5IDAuMjc0MDc1NzkxMSAwLjIwNjM1MzA5NAA</bytes>
|
||||
</object>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">3</int>
|
||||
<int key="interfaceOrientation">3</int>
|
||||
</object>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{320, 480}</string>
|
||||
<string>{480, 320}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 3.5 Full Screen</string>
|
||||
<int key="IBUIType">0</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="708237769"/>
|
||||
</object>
|
||||
<int key="connectionID">12</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_textName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="627729097"/>
|
||||
</object>
|
||||
<int key="connectionID">30</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">_labelName</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="577045456"/>
|
||||
</object>
|
||||
<int key="connectionID">32</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">Create</string>
|
||||
<reference key="source" ref="875748670"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">23</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">DismissKeyboard</string>
|
||||
<reference key="source" ref="708237769"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">28</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<object class="NSArray" key="object" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="975951072"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="708237769"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="627729097"/>
|
||||
<reference ref="577045456"/>
|
||||
<reference ref="875748670"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">7</int>
|
||||
<reference key="object" ref="875748670"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">6</int>
|
||||
<reference key="object" ref="577045456"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="627729097"/>
|
||||
<reference key="parent" ref="708237769"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-1.IBPluginDependency</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>-2.IBPluginDependency</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>6.IBPluginDependency</string>
|
||||
<string>7.IBPluginDependency</string>
|
||||
<string>7.IBUIButtonInspectorSelectedStateConfigurationMetadataKey</string>
|
||||
<string>9.CustomClassName</string>
|
||||
<string>9.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>CreateNewWorldViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>UIResponder</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="1"/>
|
||||
<string>UIControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">34</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>create_1.png</string>
|
||||
<string>save_0.png</string>
|
||||
<string>save_1.png</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
<string>{264, 104}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1929</string>
|
||||
</data>
|
||||
</archive>
|
||||
2
project/iosproj/minecraftpe/en.lproj/InfoPlist.strings
Executable file
@@ -0,0 +1,2 @@
|
||||
/* Localized versions of Info.plist keys */
|
||||
|
||||
196
project/iosproj/minecraftpe/en.lproj/MainWindow.xib
Executable file
@@ -0,0 +1,196 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1056</int>
|
||||
<string key="IBDocument.SystemVersion">10H574</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">1248</string>
|
||||
<string key="IBDocument.AppKitVersion">1038.35</string>
|
||||
<string key="IBDocument.HIToolboxVersion">461.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">106</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBUIWindow</string>
|
||||
<string>IBUICustomObject</string>
|
||||
<string>IBUIViewController</string>
|
||||
<string>IBProxyObject</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="841351856">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="191355593">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUICustomObject" id="664661524">
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIViewController" id="692423605">
|
||||
<string key="IBUINibName">minecraftpeViewController</string>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">1</int>
|
||||
<int key="interfaceOrientation">1</int>
|
||||
</object>
|
||||
<bool key="IBUIWantsFullScreenLayout">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIWindow" id="380026005">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrameSize">{320, 460}</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIVisibleAtLaunch">YES</bool>
|
||||
<bool key="IBUIResizesToFullScreen">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">delegate</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="664661524"/>
|
||||
</object>
|
||||
<int key="connectionID">4</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">window</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="380026005"/>
|
||||
</object>
|
||||
<int key="connectionID">5</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">viewController</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="692423605"/>
|
||||
</object>
|
||||
<int key="connectionID">11</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<reference key="object" ref="0"/>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2</int>
|
||||
<reference key="object" ref="380026005"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="841351856"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">3</int>
|
||||
<reference key="object" ref="664661524"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="191355593"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">10</int>
|
||||
<reference key="object" ref="692423605"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>10.CustomClassName</string>
|
||||
<string>10.IBEditorWindowLastContentRect</string>
|
||||
<string>10.IBPluginDependency</string>
|
||||
<string>2.IBAttributePlaceholdersKey</string>
|
||||
<string>2.IBEditorWindowLastContentRect</string>
|
||||
<string>2.IBPluginDependency</string>
|
||||
<string>3.CustomClassName</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>UIApplication</string>
|
||||
<string>UIResponder</string>
|
||||
<string>minecraftpeViewController</string>
|
||||
<string>{{415, 586}, {320, 480}}</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<object class="NSMutableDictionary">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<string>{{228, 376}, {320, 480}}</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>minecraftpeAppDelegate</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">11</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<string key="IBDocument.LastKnownRelativeProjectPath">OpenGLES_iPhone.xcodeproj</string>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">106</string>
|
||||
</data>
|
||||
</archive>
|
||||
145
project/iosproj/minecraftpe/en.lproj/minecraftpeViewController.xib
Executable file
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1024</int>
|
||||
<string key="IBDocument.SystemVersion">10H574</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">1248</string>
|
||||
<string key="IBDocument.AppKitVersion">1038.35</string>
|
||||
<string key="IBDocument.HIToolboxVersion">461.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">106</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys" id="0">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
</object>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBProxyObject" id="841351856">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="371349661">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="184854543">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrameSize">{320, 460}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<object class="NSMutableArray" key="connectionRecords">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="184854543"/>
|
||||
</object>
|
||||
<int key="connectionID">3</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<reference key="object" ref="0"/>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="841351856"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="371349661"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2</int>
|
||||
<reference key="object" ref="184854543"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>2.CustomClassName</string>
|
||||
<string>2.IBEditorWindowLastContentRect</string>
|
||||
<string>2.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>minecraftpeViewController</string>
|
||||
<string>UIResponder</string>
|
||||
<string>EAGLView</string>
|
||||
<string>{{401, 662}, {320, 460}}</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="activeLocalization"/>
|
||||
<object class="NSMutableDictionary" key="localizations">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference key="dict.sortedKeys" ref="0"/>
|
||||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">4</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
||||
<integer value="1024" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3100" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<string key="IBDocument.LastKnownRelativeProjectPath">Untitled.xcodeproj</string>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">106</string>
|
||||
</data>
|
||||
</archive>
|
||||
18
project/iosproj/minecraftpe/main.mm
Executable file
@@ -0,0 +1,18 @@
|
||||
|
||||
//
|
||||
// main.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/17/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
int retVal = UIApplicationMain(argc, argv, nil, nil);
|
||||
[pool release];
|
||||
return retVal;
|
||||
}
|
||||
73
project/iosproj/minecraftpe/minecraftpe-Info.plist
Executable file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Minecraft PE</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon.png</string>
|
||||
<string>Icon@2x.png</string>
|
||||
<string>Icon-72.png</string>
|
||||
<string>Icon-Small.png</string>
|
||||
<string>Icon-Small-50.png</string>
|
||||
<string>Icon-Small@2x.png</string>
|
||||
</array>
|
||||
<key>CFBundleIcons</key>
|
||||
<dict>
|
||||
<key>CFBundlePrimaryIcon</key>
|
||||
<dict>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon.png</string>
|
||||
<string>Icon@2x.png</string>
|
||||
<string>Icon-72.png</string>
|
||||
<string>Icon-Small.png</string>
|
||||
<string>Icon-Small-50.png</string>
|
||||
<string>Icon-Small@2x.png</string>
|
||||
</array>
|
||||
<key>UIPrerenderedIcon</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.mojang.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Minecraft PE</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.6.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.6.0.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainWindow</string>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>minecraft.ttf</string>
|
||||
</array>
|
||||
<key>UIPrerenderedIcon</key>
|
||||
<true/>
|
||||
<key>UIRequiresPersistentWiFi</key>
|
||||
<true/>
|
||||
<key>UIStatusBarHidden</key>
|
||||
<true/>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
14
project/iosproj/minecraftpe/minecraftpe-Prefix.pch
Executable file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Prefix header for all source files of the 'minecraftpe' target in the 'minecraftpe' project
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_3_0
|
||||
#warning "This project uses features only available in iPhone SDK 3.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
29
project/iosproj/minecraftpe/minecraftpeAppDelegate.h
Executable file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// minecraftpeAppDelegate.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/17/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
@class minecraftpeViewController;
|
||||
|
||||
@interface minecraftpeAppDelegate : NSObject <UIApplicationDelegate, AVAudioSessionDelegate> {
|
||||
AVAudioSession* audioSession;
|
||||
NSString* audioSessionSoundCategory;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) IBOutlet UIWindow *window;
|
||||
|
||||
@property (nonatomic, retain) IBOutlet minecraftpeViewController *viewController;
|
||||
|
||||
// AVAudioSessionDelegate
|
||||
- (void)beginInterruption;
|
||||
- (void)endInterruption;
|
||||
|
||||
+ (void) initialize;
|
||||
|
||||
@end
|
||||
180
project/iosproj/minecraftpe/minecraftpeAppDelegate.mm
Executable file
@@ -0,0 +1,180 @@
|
||||
//
|
||||
// minecraftpeAppDelegate.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/17/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import "minecraftpeAppDelegate.h"
|
||||
|
||||
#import "EAGLView.h"
|
||||
|
||||
#import "minecraftpeViewController.h"
|
||||
|
||||
|
||||
@implementation minecraftpeAppDelegate
|
||||
|
||||
@synthesize window = _window;
|
||||
@synthesize viewController = _viewController;
|
||||
|
||||
|
||||
- (void) registerDefaultsFromFile:(NSString*)filename {
|
||||
NSString* pathToUserDefaultsValues = [[NSBundle mainBundle]
|
||||
pathForResource:filename
|
||||
ofType:@"plist"];
|
||||
NSDictionary* userDefaultsValues = [NSDictionary dictionaryWithContentsOfFile:pathToUserDefaultsValues];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:userDefaultsValues];
|
||||
}
|
||||
|
||||
NSError* audioSessionError = nil;
|
||||
|
||||
- (void) initAudio {
|
||||
audioSession = [AVAudioSession sharedInstance];
|
||||
[audioSession setActive:YES error:&audioSessionError];
|
||||
|
||||
if (audioSessionError)
|
||||
NSLog(@"Warning; Couldn't set audio active\n");
|
||||
|
||||
[audioSession setDelegate:self];
|
||||
|
||||
audioSessionSoundCategory = AVAudioSessionCategoryAmbient;
|
||||
audioSessionError = nil;
|
||||
|
||||
[audioSession setCategory:audioSessionSoundCategory error:&audioSessionError];
|
||||
|
||||
if (audioSessionError)
|
||||
NSLog(@"Warning; Couldn't init audio\n");
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
// Override point for customization after application launch.
|
||||
[self initAudio];
|
||||
|
||||
self.window.rootViewController = self.viewController;
|
||||
#ifndef ANDROID_PUBLISH
|
||||
NSLog(@"ViewController: %p\n", self.viewController);
|
||||
#endif
|
||||
//[self registerDefaultsFromFile:@"userDefaults"];
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)applicationWillResignActive:(UIApplication *)application
|
||||
{
|
||||
/*
|
||||
Sent when the application is about to move from active to inactive
|
||||
state. This can occur for certain types of temporary interruptions
|
||||
(such as an incoming phone call or SMS message) or when the user
|
||||
quits the application and it begins the transition to the background
|
||||
state.
|
||||
Use this method to pause ongoing tasks, disable timers, and throttle
|
||||
down OpenGL ES frame rates. Games should use this method to pause the game.
|
||||
*/
|
||||
#ifndef ANDROID_PUBLISH
|
||||
NSLog(@"resign-active: %@\n", [NSThread currentThread]);
|
||||
#endif
|
||||
[self.viewController stopAnimation];
|
||||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application
|
||||
{
|
||||
/*
|
||||
Use this method to release shared resources, save user data, invalidate
|
||||
timers, and store enough application state information to restore your
|
||||
application to its current state in case it is terminated later.
|
||||
If your application supports background execution, this method is
|
||||
called instead of applicationWillTerminate: when the user quits.
|
||||
*/
|
||||
[self.viewController enteredBackground];
|
||||
}
|
||||
|
||||
- (void)applicationWillEnterForeground:(UIApplication *)application
|
||||
{
|
||||
/*
|
||||
Called as part of the transition from the background to the inactive state;
|
||||
here you can undo many of the changes made on entering the background.
|
||||
*/
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application
|
||||
{
|
||||
/*
|
||||
Restart any tasks that were paused (or not yet started) while the
|
||||
application was inactive. If the application was previously in the
|
||||
background, optionally refresh the user interface.
|
||||
*/
|
||||
#ifndef ANDROID_PUBLISH
|
||||
NSLog(@"become-active: %@\n", [NSThread currentThread]);
|
||||
#endif
|
||||
[self.viewController startAnimation];
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application
|
||||
{
|
||||
/*
|
||||
Called when the application is about to terminate.
|
||||
Save data if appropriate.
|
||||
See also applicationDidEnterBackground:.
|
||||
*/
|
||||
[self.viewController stopAnimation];
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[_window release];
|
||||
[_viewController release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
+ (void) initialize {
|
||||
if ([self class] == [minecraftpeAppDelegate class]) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// AudioSesssionDelegate
|
||||
//
|
||||
- (void)setAudioEnabled:(BOOL)status {
|
||||
//NSLog(@"set-audio-enabled: :%d %@\n", status, [NSThread currentThread]);
|
||||
|
||||
if(status) {
|
||||
NSLog(@"INFO - SoundManager: OpenAL Active");
|
||||
// Set the AudioSession AudioCategory to what has been defined in soundCategory
|
||||
[audioSession setCategory:audioSessionSoundCategory error:&audioSessionError];
|
||||
if(audioSessionError) {
|
||||
NSLog(@"ERROR - SoundManager: Unable to set the audio session category with error: %@\n", audioSessionError);
|
||||
return;
|
||||
}
|
||||
|
||||
// Set the audio session state to true and report any errors
|
||||
[audioSession setActive:YES error:&audioSessionError];
|
||||
if (audioSessionError) {
|
||||
NSLog(@"ERROR - SoundManager: Unable to set the audio session state to YES with error: %@\n", audioSessionError);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
NSLog(@"INFO - SoundManager: OpenAL Inactive");
|
||||
|
||||
// Set the audio session state to false and report any errors
|
||||
// [audioSession setActive:NO error:&audioSessionError];
|
||||
// if (audioSessionError) {
|
||||
// NSLog(@"ERROR - SoundManager: Unable to set the audio session state to NO with error: %@\n", audioSessionError);
|
||||
// return;
|
||||
// }
|
||||
}
|
||||
|
||||
[_viewController setAudioEnabled:status];
|
||||
}
|
||||
|
||||
- (void)beginInterruption {
|
||||
//NSLog(@"beginInterruption\n");
|
||||
[self setAudioEnabled:NO];
|
||||
}
|
||||
- (void)endInterruption {
|
||||
//NSLog(@"endInterruption\n");
|
||||
[self setAudioEnabled:YES];
|
||||
}
|
||||
|
||||
@end
|
||||
78
project/iosproj/minecraftpe/minecraftpeViewController.h
Executable file
@@ -0,0 +1,78 @@
|
||||
//
|
||||
// minecraftpeViewController.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/17/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <OpenGLES/ES1/gl.h>
|
||||
#import <OpenGLES/ES1/glext.h>
|
||||
#import "../../../src/App.h"
|
||||
#import "../../../src/AppPlatform_iOS.h"
|
||||
#import "../../../src/NinecraftApp.h"
|
||||
#import "ShowKeyboardView.h"
|
||||
|
||||
#import "../../lib_projects/InAppSettingsKit/Controllers/IASKAppSettingsViewController.h"
|
||||
|
||||
@class EAGLContext;
|
||||
//@class App;
|
||||
//@class AppContext;
|
||||
//@class AppPlatform_iOS;
|
||||
@class BaseDialogController;
|
||||
|
||||
@interface minecraftpeViewController : UIViewController<IASKSettingsDelegate> {
|
||||
EAGLContext *context;
|
||||
|
||||
// App and AppPlatform
|
||||
App* _app;
|
||||
AppContext* _context;
|
||||
AppPlatform_iOS* _platform;
|
||||
|
||||
UITouch** _touchMap;
|
||||
|
||||
BOOL animating;
|
||||
NSInteger animationFrameInterval;
|
||||
CADisplayLink *displayLink;
|
||||
|
||||
BaseDialogController* _dialog;
|
||||
|
||||
int _dialogResultStatus;
|
||||
std::vector<std::string> _dialogResultStrings;
|
||||
|
||||
ShowKeyboardView* _keyboardView;
|
||||
|
||||
@public
|
||||
float viewScale;
|
||||
}
|
||||
|
||||
@property (readonly, nonatomic, getter=isAnimating) BOOL animating;
|
||||
@property (nonatomic) NSInteger animationFrameInterval;
|
||||
|
||||
@property (nonatomic, retain) IASKAppSettingsViewController *appSettingsViewController;
|
||||
|
||||
|
||||
- (void)startAnimation;
|
||||
- (void)stopAnimation;
|
||||
- (void)enteredBackground;
|
||||
|
||||
- (void)setAudioEnabled:(BOOL)status;
|
||||
|
||||
-(int) getUserInputStatus;
|
||||
-(std::vector<std::string>)getUserInput;
|
||||
|
||||
- (void)showDialog_CreateWorld;
|
||||
- (void)showDialog_MainMenuOptions;
|
||||
- (void)showDialog_RenameMPWorld;
|
||||
|
||||
- (void)showKeyboard;
|
||||
- (void)hideKeyboard;
|
||||
|
||||
- (void) closeDialog;
|
||||
- (BaseDialogController*) dialog;
|
||||
|
||||
+ (void) initialize;
|
||||
|
||||
@end
|
||||
555
project/iosproj/minecraftpe/minecraftpeViewController.mm
Executable file
@@ -0,0 +1,555 @@
|
||||
//
|
||||
// minecraftpeViewController.m
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/17/11.
|
||||
// Copyright 2011 Mojang AB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
#import "minecraftpeViewController.h"
|
||||
#import "EAGLView.h"
|
||||
|
||||
#import "../../../src/platform/input/Multitouch.h"
|
||||
#import "../../../src/platform/input/Mouse.h"
|
||||
#import "../../../src/client/OptionStrings.h"
|
||||
|
||||
#import "../../../src/App.h"
|
||||
#import "../../../src/AppPlatform_iOS.h"
|
||||
#import "../../../src/NinecraftApp.h"
|
||||
|
||||
//#import "dialogs/DialogViewController.h"
|
||||
#import "dialogs/CreateNewWorldViewController.h"
|
||||
#import "dialogs/RenameMPWorldViewController.h"
|
||||
#import "../../lib_projects/InAppSettingsKit/Models/IASKSettingsReader.h"
|
||||
|
||||
#import "../../lib_projects/InAppSettingsKit/Views/IASKSwitch.h"
|
||||
#import "../../lib_projects/InAppSettingsKit/Views/IASKPSToggleSwitchSpecifierViewCell.h"
|
||||
|
||||
@interface minecraftpeViewController ()
|
||||
@property (nonatomic, retain) EAGLContext *context;
|
||||
@property (nonatomic, assign) CADisplayLink *displayLink;
|
||||
- (BOOL) initView;
|
||||
- (BOOL) releaseView;
|
||||
|
||||
- (void) _resetAllPointers;
|
||||
@end
|
||||
|
||||
static NSThread* lastThread = nil;
|
||||
|
||||
@implementation minecraftpeViewController
|
||||
|
||||
@synthesize animating;
|
||||
@synthesize context;
|
||||
@synthesize displayLink;
|
||||
|
||||
@synthesize appSettingsViewController;
|
||||
|
||||
- (IASKAppSettingsViewController*)appSettingsViewController {
|
||||
if (!appSettingsViewController) {
|
||||
appSettingsViewController = [[IASKAppSettingsViewController alloc] initWithNibName:@"IASKAppSettingsView" bundle:nil];
|
||||
appSettingsViewController.delegate = self;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(settingToggled:) name:kIASKAppSettingChanged object:nil];
|
||||
}
|
||||
return appSettingsViewController;
|
||||
}
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
EAGLContext *aContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
|
||||
|
||||
if (!aContext)
|
||||
NSLog(@"Failed to create ES context");
|
||||
else if (![EAGLContext setCurrentContext:aContext])
|
||||
NSLog(@"Failed to set ES context current");
|
||||
|
||||
self.context = aContext;
|
||||
[aContext release];
|
||||
|
||||
[(EAGLView *)self.view setContext:context];
|
||||
[(EAGLView *)self.view setFramebuffer];
|
||||
|
||||
animating = FALSE;
|
||||
animationFrameInterval = 1;
|
||||
|
||||
//animationFrameInterval = 2;
|
||||
|
||||
//NSString* renderer = [[NSString alloc] initWithUTF8String: (const char*)glGetString(GL_RENDERER)];
|
||||
//if (renderer != nil && [renderer rangeOfString:@"SGX"].location != NSNotFound && [renderer rangeOfString:@"543"].location != NSNotFound)
|
||||
//{
|
||||
//NSLog(@"WE HAVE A FAST GRAPHICS CARD\n");
|
||||
//NSLog(@"WE HAVE A FAST GRAPHICS CARD\n");
|
||||
//NSLog(@"WE HAVE A FAST GRAPHICS CARD\n");
|
||||
//animationFrameInterval = 1;
|
||||
//}
|
||||
//[renderer release];
|
||||
|
||||
self.displayLink = nil;
|
||||
|
||||
_platform = new AppPlatform_iOS(self);
|
||||
_context = new AppContext();
|
||||
_context->platform = _platform;
|
||||
_context->doRender = false;
|
||||
|
||||
viewScale = 1;
|
||||
|
||||
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
|
||||
NSString *documentsDirectory = [paths objectAtIndex:0];
|
||||
|
||||
NSArray *tmpPaths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
|
||||
NSString *cachesDirectory = [tmpPaths objectAtIndex:0];
|
||||
|
||||
_app = new NinecraftApp();
|
||||
((Minecraft*)_app)->externalStoragePath = [documentsDirectory UTF8String];
|
||||
((Minecraft*)_app)->externalCacheStoragePath = [cachesDirectory UTF8String];
|
||||
|
||||
[self initView];
|
||||
//_app->init(*_context);
|
||||
|
||||
_touchMap = new UITouch*[Multitouch::MAX_POINTERS];
|
||||
[self _resetAllPointers];
|
||||
|
||||
_dialog = nil;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
// Tear down context.
|
||||
if ([EAGLContext currentContext] == context)
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
|
||||
delete _app;
|
||||
delete _platform;
|
||||
delete[] _touchMap;
|
||||
|
||||
[context release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
// Releases the view if it doesn't have a superview.
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
// Release any cached data, images, etc. that aren't in use.
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated
|
||||
{
|
||||
[self startAnimation];
|
||||
|
||||
[super viewWillAppear:animated];
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated
|
||||
{
|
||||
[self stopAnimation];
|
||||
|
||||
[super viewWillDisappear:animated];
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
_keyboardView = [[ShowKeyboardView alloc] init];
|
||||
[super viewDidLoad];
|
||||
}
|
||||
|
||||
- (void)viewDidUnload
|
||||
{
|
||||
[super viewDidUnload];
|
||||
[_keyboardView release];
|
||||
_keyboardView = nil;
|
||||
// Tear down context.
|
||||
if ([EAGLContext currentContext] == context)
|
||||
[EAGLContext setCurrentContext:nil];
|
||||
self.context = nil;
|
||||
}
|
||||
|
||||
- (NSInteger)animationFrameInterval
|
||||
{
|
||||
return animationFrameInterval;
|
||||
}
|
||||
|
||||
- (void)setAnimationFrameInterval:(NSInteger)frameInterval
|
||||
{
|
||||
if (frameInterval >= 1) {
|
||||
animationFrameInterval = frameInterval;
|
||||
|
||||
if (animating) {
|
||||
[self stopAnimation];
|
||||
[self startAnimation];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)startAnimation
|
||||
{
|
||||
if (!animating) {
|
||||
CADisplayLink *aDisplayLink = [[UIScreen mainScreen] displayLinkWithTarget:self selector:@selector(drawFrame)];
|
||||
[aDisplayLink setFrameInterval:animationFrameInterval];
|
||||
[aDisplayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
|
||||
self.displayLink = aDisplayLink;
|
||||
|
||||
//[self initView];
|
||||
//NSLog(@"start-animation: %@\n", [NSThread currentThread]);
|
||||
|
||||
animating = TRUE;
|
||||
|
||||
//((Minecraft*)_app)->resetServerSocket(true);
|
||||
}
|
||||
}
|
||||
|
||||
- (void)stopAnimation
|
||||
{
|
||||
if (animating) {
|
||||
[self.displayLink invalidate];
|
||||
self.displayLink = nil;
|
||||
animating = FALSE;
|
||||
|
||||
//[self releaseView];
|
||||
//NSLog(@"stop-animation: %@\n", [NSThread currentThread]);
|
||||
}
|
||||
}
|
||||
|
||||
- (void)enteredBackground
|
||||
{
|
||||
#ifdef APPLE_DEMO_PROMOTION
|
||||
if (_app)
|
||||
((Minecraft*)_app)->leaveGame();
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)setAudioEnabled:(BOOL)status {
|
||||
if (status) _app->audioEngineOn();
|
||||
else _app->audioEngineOff();
|
||||
}
|
||||
|
||||
- (void)drawFrame
|
||||
{
|
||||
NSThread* currentThread = [NSThread currentThread];
|
||||
|
||||
if (lastThread == nil) {
|
||||
//NSLog(@"draw-frame: %@\n", currentThread);
|
||||
lastThread = currentThread;
|
||||
}
|
||||
|
||||
if (currentThread != lastThread) {
|
||||
NSLog(@"Warning! draw-frame thread changed (%@ -> %@)\n", lastThread, currentThread);
|
||||
lastThread = currentThread;
|
||||
}
|
||||
|
||||
[(EAGLView *)self.view setFramebuffer];
|
||||
|
||||
_app->update();
|
||||
|
||||
const GLenum discards[] = {GL_DEPTH_ATTACHMENT};
|
||||
// glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
|
||||
glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards);
|
||||
|
||||
[(EAGLView *)self.view presentFramebuffer];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||
{
|
||||
// Return YES for supported orientations
|
||||
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||
}
|
||||
|
||||
- (BOOL) initView
|
||||
{
|
||||
viewScale = ((EAGLView*)self.view)->viewScale;
|
||||
|
||||
if (!_app->isInited())
|
||||
_app->init(*_context);
|
||||
else
|
||||
_app->onGraphicsReset(*_context);
|
||||
|
||||
CGRect screen = [[UIScreen mainScreen] bounds];
|
||||
CGFloat width = MAX(screen.size.width, screen.size.height) * viewScale;
|
||||
CGFloat height = MIN(screen.size.width, screen.size.height) * viewScale;
|
||||
|
||||
// CGFloat width = ((EAGLView*)self.view)->framebufferWidth;
|
||||
// CGFloat height = ((EAGLView*)self.view)->framebufferHeight;
|
||||
|
||||
//NSLog(@"initView. Setting size: %f, %f\n", width, height);
|
||||
_app->setSize((int)width, (int)height);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
- (BOOL) releaseView
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
-(int) _getIndexForTouch:(UITouch*) touch {
|
||||
for (int i = 0; i < Multitouch::MAX_POINTERS; ++i)
|
||||
if (_touchMap[i] == touch) return i;
|
||||
// @todo: implement a fail-safe! something like this;
|
||||
// 1) If we've come here (pointer isn't found), increment missValue
|
||||
// 2) If missValue >= N, call _resetAllPointers
|
||||
// X) If we found a pointer, reset the missValue to 0
|
||||
return -1;
|
||||
}
|
||||
|
||||
-(void) _resetAllPointers {
|
||||
for (int i = 0; i < Multitouch::MAX_POINTERS; ++i)
|
||||
_touchMap[i] = 0;
|
||||
}
|
||||
|
||||
-(int) _startTrackingTouch:(UITouch*) touch {
|
||||
for (int i = 0; i < Multitouch::MAX_POINTERS; ++i)
|
||||
if (_touchMap[i] == 0) {
|
||||
_touchMap[i] = touch;
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
-(int) _stopTrackingTouch:(UITouch*) touch {
|
||||
for (int i = 0; i < Multitouch::MAX_POINTERS; ++i)
|
||||
if (_touchMap[i] == touch) {
|
||||
_touchMap[i] = 0;
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Handles the start of a touch
|
||||
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
//NSLog(@"touch began count: %d\n",[touches count]);
|
||||
|
||||
for( UITouch *touch in touches ) {
|
||||
int pointerId = [self _startTrackingTouch:touch];
|
||||
// NSLog(@"touch-began: %d %p\n", pointerId, touch);
|
||||
if (pointerId >= 0) {
|
||||
CGPoint touchLocation = [touch locationInView:[self view]];
|
||||
touchLocation.x *= viewScale;
|
||||
touchLocation.y *= viewScale;
|
||||
//LOGI("d: %f, %f\n", touchLocation.x, touchLocation.y);
|
||||
Mouse::feed(1, 1, touchLocation.x, touchLocation.y);
|
||||
Multitouch::feed(1, 1, touchLocation.x, touchLocation.y, pointerId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Handles the continuation of a touch.
|
||||
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
//NSLog(@"touch moved: %d\n",[touches count]);
|
||||
|
||||
for( UITouch *touch in touches ) {
|
||||
int pointerId = [self _getIndexForTouch:touch];
|
||||
if (pointerId >= 0) {
|
||||
//NSLog(@"Zilly-bop: %d %p\n", pointerId, touch);
|
||||
CGPoint touchLocation = [touch locationInView:[self view]];
|
||||
touchLocation.x *= viewScale;
|
||||
touchLocation.y *= viewScale;
|
||||
//LOGI("t: %f, %f\n", touchLocation.x, touchLocation.y);
|
||||
Mouse::feed(0, 0, touchLocation.x, touchLocation.y);
|
||||
Multitouch::feed(0, 0, touchLocation.x, touchLocation.y, pointerId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Handles the end of a touch event.
|
||||
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
for( UITouch *touch in touches ) {
|
||||
int pointerId = [self _stopTrackingTouch:touch];
|
||||
if (pointerId >= 0) {
|
||||
CGPoint touchLocation = [touch locationInView:[self view]];
|
||||
touchLocation.x *= viewScale;
|
||||
touchLocation.y *= viewScale;
|
||||
Mouse::feed(1, 0, touchLocation.x, touchLocation.y);
|
||||
Multitouch::feed(1, 0, touchLocation.x, touchLocation.y, pointerId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Handles the cancellation of a touch event.
|
||||
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
|
||||
{
|
||||
[self touchesEnded: touches withEvent:event];
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Interfaces for AppPlatform
|
||||
//
|
||||
|
||||
-(BaseDialogController*) dialog
|
||||
{
|
||||
return _dialog;
|
||||
}
|
||||
|
||||
- (void) initDialog {
|
||||
_dialogResultStatus = -1;
|
||||
_dialogResultStrings.clear();
|
||||
[_dialog setListener:self];
|
||||
}
|
||||
|
||||
- (void) closeDialog {
|
||||
if (_dialog != nil) {
|
||||
_dialogResultStatus = [_dialog getUserInputStatus];
|
||||
_dialogResultStrings = [_dialog getUserInput];
|
||||
}
|
||||
//NSLog(@"Close@vc: %p %d\n", _dialog, _dialogResultStatus);
|
||||
[_dialog dismissModalViewControllerAnimated:YES];
|
||||
|
||||
[_dialog release];
|
||||
_dialog = nil;
|
||||
}
|
||||
|
||||
- (void)showDialog_CreateWorld
|
||||
{
|
||||
if (!_dialog) {
|
||||
BOOL isIpad = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
|
||||
|
||||
CGRect screen = [[UIScreen mainScreen] bounds];
|
||||
CGFloat width = MAX(screen.size.width, screen.size.height);
|
||||
BOOL isIphone5 = (width == 568);
|
||||
NSString* xib = isIpad ? @"CreateNewWorld_ipad" : (isIphone5? @"CreateNewWorld_iphone5" : @"CreateNewWorld_iphone");
|
||||
_dialog = [[CreateNewWorldViewController alloc] initWithNibName:xib bundle:[NSBundle mainBundle]];
|
||||
[self presentModalViewController:_dialog animated:YES];
|
||||
[self initDialog];
|
||||
//NSLog(@"--- %p %p\n", _dialog, [self view]);
|
||||
//[_dialog addToView:[self view]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)showDialog_MainMenuOptions
|
||||
{
|
||||
if (!_dialog) {
|
||||
UINavigationController *aNavController = [[UINavigationController alloc] initWithRootViewController:self.appSettingsViewController];
|
||||
[self.appSettingsViewController setShowCreditsFooter:NO];
|
||||
self.appSettingsViewController.showDoneButton = YES;
|
||||
[self presentModalViewController:aNavController animated:YES];
|
||||
#ifdef APPLE_DEMO_PROMOTION
|
||||
[appSettingsViewController setEnabled:NO forKey:[NSString stringWithUTF8String:OptionStrings::Multiplayer_ServerVisible]];
|
||||
[appSettingsViewController setEnabled:NO forKey:[NSString stringWithUTF8String:OptionStrings::Multiplayer_Username]];
|
||||
#endif
|
||||
[self initDialog];
|
||||
[aNavController release];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)showDialog_RenameMPWorld
|
||||
{
|
||||
if (!_dialog) {
|
||||
BOOL isIpad = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
|
||||
CGRect screen = [[UIScreen mainScreen] bounds];
|
||||
CGFloat width = MAX(screen.size.width, screen.size.height);
|
||||
BOOL isIphone5 = (width == 568);
|
||||
NSString* xib = isIpad ? @"RenameMPWorld_ipad" : (isIphone5? @"RenameMPWorld_iphone5" : @"RenameMPWorld_iphone");
|
||||
_dialog = [[RenameMPWorldViewController alloc] initWithNibName:xib bundle:[NSBundle mainBundle]];
|
||||
[self presentModalViewController:_dialog animated:YES];
|
||||
[self initDialog];
|
||||
//NSLog(@"--- %p %p\n", _dialog, [self view]);
|
||||
//[_dialog addToView:[self view]];
|
||||
}
|
||||
}
|
||||
|
||||
- (int) getUserInputStatus {
|
||||
//NSLog(@"getUserI: %d\n", _dialogResultStatus);
|
||||
return _dialogResultStatus;
|
||||
}
|
||||
|
||||
- (std::vector<std::string>)getUserInput {
|
||||
//LOGI("-----\n");
|
||||
//for (int i = 0; i < _dialogResultStrings.size(); i += 2) {
|
||||
// LOGI("%d: %s, %s\n", i/2, _dialogResultStrings[i].c_str(), _dialogResultStrings[i+1].c_str());
|
||||
//}
|
||||
return _dialogResultStrings;
|
||||
}
|
||||
|
||||
//
|
||||
// IASK Delegate interface
|
||||
//
|
||||
|
||||
// @note: See StringIfEmpty option (added by me) in IASK as well, that one's triggered
|
||||
// earlier. This one is more of a fail-safe to prevent an empty name
|
||||
NSString* DefaultUsername = @"Stevie";
|
||||
|
||||
- (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController*)sender {
|
||||
[self dismissModalViewControllerAnimated:YES];
|
||||
|
||||
NSString* Key = [[NSString alloc] initWithUTF8String:OptionStrings::Multiplayer_Username];
|
||||
NSString* username = [[NSUserDefaults standardUserDefaults] objectForKey:Key];
|
||||
if ([username isEqualToString:@""]) {
|
||||
[[NSUserDefaults standardUserDefaults] setObject:DefaultUsername forKey:Key];
|
||||
}
|
||||
|
||||
[Key release];
|
||||
|
||||
_dialogResultStatus = 1;
|
||||
}
|
||||
|
||||
- (void)settingToggled:(NSNotification *) notification {
|
||||
NSString* name = [notification object];
|
||||
NSString* KeyLowQuality = [[NSString alloc] initWithUTF8String:OptionStrings::Graphics_LowQuality];
|
||||
NSString* KeyFancy = [[NSString alloc] initWithUTF8String:OptionStrings::Graphics_Fancy];
|
||||
|
||||
if ([name isEqualToString:KeyLowQuality]) {
|
||||
//NSLog(@"Notification: %d %@ %@\n", enabled, [[notification userInfo] description], [[[notification userInfo] objectForKey:name] class]);
|
||||
|
||||
BOOL enabled = ! [[[notification userInfo] objectForKey:name] boolValue];
|
||||
if (!enabled) {
|
||||
[appSettingsViewController getSwitch:KeyFancy].on = NO;
|
||||
}
|
||||
//[appSettingsViewController setEnabled:enabled forKey:KeyFancy];
|
||||
}
|
||||
if ([name isEqualToString:KeyFancy]) {
|
||||
BOOL enabled = ! [[[notification userInfo] objectForKey:name] boolValue];
|
||||
if (!enabled) {
|
||||
[appSettingsViewController getSwitch:KeyLowQuality].on = NO;
|
||||
}
|
||||
}
|
||||
|
||||
[KeyLowQuality release];
|
||||
[KeyFancy release];
|
||||
}
|
||||
|
||||
+ (void) initialize {
|
||||
if ([self class] == [minecraftpeViewController class]) {
|
||||
NSDictionary* defaults = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
DefaultUsername, [NSString stringWithUTF8String:OptionStrings::Multiplayer_Username],
|
||||
[NSNumber numberWithBool:YES], [NSString stringWithUTF8String:OptionStrings::Multiplayer_ServerVisible],
|
||||
[NSNumber numberWithBool:NO], [NSString stringWithUTF8String:OptionStrings::Graphics_Fancy],
|
||||
[NSNumber numberWithBool:NO], [NSString stringWithUTF8String:OptionStrings::Graphics_LowQuality],
|
||||
[NSNumber numberWithFloat:0.5f],[NSString stringWithUTF8String:OptionStrings::Controls_Sensitivity],
|
||||
[NSNumber numberWithBool:NO], [NSString stringWithUTF8String:OptionStrings::Controls_InvertMouse],
|
||||
[NSNumber numberWithBool:NO], [NSString stringWithUTF8String:OptionStrings::Controls_IsLefthanded],
|
||||
[NSNumber numberWithBool:NO], [NSString stringWithUTF8String:OptionStrings::Controls_UseTouchJoypad],
|
||||
@"2", [NSString stringWithUTF8String:OptionStrings::Game_DifficultyLevel],
|
||||
nil];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:defaults];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)showKeyboard {
|
||||
for(UIView* view in self.view.subviews) {
|
||||
if([view isKindOfClass:[ShowKeyboardView class]]) {
|
||||
ShowKeyboardView* kview = (ShowKeyboardView*) view;
|
||||
[kview showKeyboard];
|
||||
return;
|
||||
}
|
||||
}
|
||||
[self.view insertSubview:_keyboardView atIndex:0];
|
||||
[_keyboardView showKeyboard];
|
||||
}
|
||||
- (void)hideKeyboard {
|
||||
for(UIView* view in self.view.subviews) {
|
||||
if([view isKindOfClass:[ShowKeyboardView class]]) {
|
||||
ShowKeyboardView* kview = (ShowKeyboardView*) view;
|
||||
[kview hideKeyboard];
|
||||
[kview removeFromSuperview];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
71
project/iosproj/minecraftpe/minecraftpedemo-info.plist
Executable file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Minecraft PE</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon_lite.png</string>
|
||||
<string>Icon@2x_lite.png</string>
|
||||
<string>Icon-Small_lite.png</string>
|
||||
<string>Icon-Small-50_lite.png</string>
|
||||
<string>Icon-Small@2x_lite.png</string>
|
||||
<string>Icon-72_lite.png</string>
|
||||
</array>
|
||||
<key>CFBundleIcons</key>
|
||||
<dict>
|
||||
<key>CFBundlePrimaryIcon</key>
|
||||
<dict>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon_lite.png</string>
|
||||
<string>Icon@2x_lite.png</string>
|
||||
<string>Icon-Small_lite.png</string>
|
||||
<string>Icon-Small-50_lite.png</string>
|
||||
<string>Icon-Small@2x_lite.png</string>
|
||||
<string>Icon-72_lite.png</string>
|
||||
</array>
|
||||
<key>UIPrerenderedIcon</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.mojang.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Minecraft PE</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.2.1.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainWindow</string>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>minecraft.ttf</string>
|
||||
</array>
|
||||
<key>UIPrerenderedIcon</key>
|
||||
<true/>
|
||||
<key>UIStatusBarHidden</key>
|
||||
<true/>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||