Permalink
Browse files

Initial commit to GitHub

  • Loading branch information...
1 parent 9d436ad commit 30c87ae4b914ed31adf6a9eafad9ebb08fea1e3b @oatmealandcoffee committed May 31, 2012
Showing with 10,418 additions and 0 deletions.
  1. +63 −0 GameEngineNotes.txt
  2. +58 −0 LICENSE.txt
  3. +270 −0 ProjectNotes.txt
  4. +771 −0 RPG Kit.xcodeproj/project.pbxproj
  5. +7 −0 RPG Kit.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  6. BIN RPG Kit.xcodeproj/project.xcworkspace/xcuserdata/philipr.xcuserdatad/UserInterfaceState.xcuserstate
  7. +10 −0 RPG Kit.xcodeproj/project.xcworkspace/xcuserdata/philipr.xcuserdatad/WorkspaceSettings.xcsettings
  8. +254 −0 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  9. +95 −0 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcschemes/RPG Kit.xcscheme
  10. +27 −0 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcschemes/xcschememanagement.plist
  11. +27 −0 RPG Kit/AppDelegate.h
  12. +201 −0 RPG Kit/AppDelegate.m
  13. +28 −0 RPG Kit/FlipsideViewController.h
  14. +56 −0 RPG Kit/FlipsideViewController.m
  15. +29 −0 RPG Kit/GameComponentSelectorViewController.h
  16. +204 −0 RPG Kit/GameComponentSelectorViewController.m
  17. +192 −0 RPG Kit/GameComponentSelectorViewController.xib
  18. +34 −0 RPG Kit/GameMetadataViewController.h
  19. +218 −0 RPG Kit/GameMetadataViewController.m
  20. +42 −0 RPG Kit/GameObjectLinkerViewController.h
  21. +156 −0 RPG Kit/GameObjectLinkerViewController.m
  22. +271 −0 RPG Kit/GameObjectLinkerViewController.xib
  23. +42 −0 RPG Kit/GameObjectSelectionViewController.h
  24. +242 −0 RPG Kit/GameObjectSelectionViewController.m
  25. +287 −0 RPG Kit/GameObjectSelectionViewController.xib
  26. +42 −0 RPG Kit/GameObjectViewLinkedAndDelinkViewController.h
  27. +169 −0 RPG Kit/GameObjectViewLinkedAndDelinkViewController.m
  28. +258 −0 RPG Kit/GameObjectViewLinkedAndDelinkViewController.xib
  29. +35 −0 RPG Kit/GamePlayViewController.h
  30. +287 −0 RPG Kit/GamePlayViewController.m
  31. +559 −0 RPG Kit/GamePlayViewController.xib
  32. +28 −0 RPG Kit/GameSelectorViewController.h
  33. +108 −0 RPG Kit/GameSelectorViewController.m
  34. +335 −0 RPG Kit/GameSelectorViewController.xib
  35. +212 −0 RPG Kit/Localizable.strings
  36. +49 −0 RPG Kit/MainViewController.h
  37. +213 −0 RPG Kit/MainViewController.m
  38. +155 −0 RPG Kit/OCGameDataController.h
  39. +1,354 −0 RPG Kit/OCGameDataController.m
  40. +28 −0 RPG Kit/OCGameEngine.h
  41. +121 −0 RPG Kit/OCGameEngine.m
  42. +95 −0 RPG Kit/OCStrings.h
  43. +94 −0 RPG Kit/OCStrings.m
  44. +31 −0 RPG Kit/PlayerMetadataViewController.h
  45. +98 −0 RPG Kit/PlayerMetadataViewController.m
  46. +402 −0 RPG Kit/PlayerMetadataViewController.xib
  47. +47 −0 RPG Kit/RPG Kit-Info.plist
  48. +15 −0 RPG Kit/RPG Kit-Prefix.pch
  49. +8 −0 RPG Kit/RPG_Kit.xcdatamodeld/.xccurrentversion
  50. +62 −0 RPG Kit/RPG_Kit.xcdatamodeld/RPG_Kit.xcdatamodel/contents
  51. +27 −0 RPG Kit/TaskMetadataViewController.h
  52. +228 −0 RPG Kit/TaskMetadataViewController.m
  53. +416 −0 RPG Kit/TaskMetadataViewController.xib
  54. +304 −0 RPG Kit/en.lproj/FlipsideViewController.xib
  55. +578 −0 RPG Kit/en.lproj/GameMetadataViewController.xib
  56. +2 −0 RPG Kit/en.lproj/InfoPlist.strings
  57. +387 −0 RPG Kit/en.lproj/MainViewController.xib
  58. +18 −0 RPG Kit/main.m
  59. +22 −0 RPG KitTests/RPG KitTests-Info.plist
  60. +13 −0 RPG KitTests/RPG_KitTests.h
  61. +32 −0 RPG KitTests/RPG_KitTests.m
  62. +2 −0 RPG KitTests/en.lproj/InfoPlist.strings
  63. BIN icon.png
  64. BIN icon@2x.png
  65. BIN rpgkitprojectdocs.pdf
View
63 GameEngineNotes.txt
@@ -0,0 +1,63 @@
+Based on Pathfinder, an fork of the d20 System, but free to use without license.
+http://www.d20pfsrd.com
+
+That system is specific to fantasy, so this engine, while based upon Pathfinder in
+terms of abilities, systemic implementation, and number ranges, is much more generalized
+in nature.
+
+Core game play
+
+Player is paired to an accomplishment.
+
+The accomplishment has a difficulty value typically between 1 and 20 but can be higher
+if needed.
+
+The player rolls a number between 1 and 20. The core mechanics is if the player's roll
+is higher than the accomplishment's difficulty class, the player wins. If the roll
+is less than or equal to the accomplishment's roll, the player loses.
+
+The accomplishment also lists abilities upon which the player can apply bonuses to
+their roll depending on their own attributes. In addition, equipment used by the player
+may have bonuses listed that add to the player's roll if the equipment is applicable to
+the accomplishment. So, the player's roll is constructed as such:
+
+[base attempt roll] + [ability modifiers] + [equipment modifiers]
+
+By way of example, given an accomplishment with a difficulty of 12 and the accomplishment
+lists Intelligence and Dexterity as being applicable abilities, and given a player with
+a Intelligence of 13 and Dexterity of 12, the rolls would look like this should the
+player roll a 10:
+
+10 + [2 + 1] = 13 vs 12
+
+...which means the player wins to accomplishment.
+
+Reward vs Risk
+
+Accomplishments list money and equipment that can be passed onto the player should
+they win their roll. Conversely, accomplishments also list money and equipement that
+can be taken away from the player should they lose.
+
+Ability Modifiers
+
+Abilities are a number between 1-18.
+
+1: -5
+2: -4
+3: -4
+4: -3
+5: -3
+6: -2
+7: -2
+8: -1
+9: -1
+10: 0
+11: +1
+12: +1
+13: +2
+14: +2
+15: +3
+16: +3
+17: +4
+18: +4
+
View
58 LICENSE.txt
@@ -0,0 +1,58 @@
+License
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
+"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(g) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
+"Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
+"License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, Noncommercial, ShareAlike.
+"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
+"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
+"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
+"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
+"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
+"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
+2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
+
+3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
+
+to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
+to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
+to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
+to Distribute and Publicly Perform Adaptations.
+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights described in Section 4(e).
+
+4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
+
+You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(d), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(d), as requested.
+You may Distribute or Publicly Perform an Adaptation only under: (i) the terms of this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-NonCommercial-ShareAlike 3.0 US) ("Applicable License"). You must include a copy of, or the URI, for Applicable License with every copy of each Adaptation You Distribute or Publicly Perform. You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License. You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
+You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in con-nection with the exchange of copyrighted works.
+If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, (iv) consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(d) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
+For the avoidance of doubt:
+
+Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
+Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
+Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c).
+Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
+5. Representations, Warranties and Disclaimer
+
+UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING AND TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THIS EXCLUSION MAY NOT APPLY TO YOU.
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination
+
+This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
+8. Miscellaneous
+
+Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
+Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
+If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
+No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
+This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
+The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
View
270 ProjectNotes.txt
@@ -0,0 +1,270 @@
+Project: RPG Kit for iOS
+Author(s): Philip Regan
+Source Code Copyright: Copyright (c) 2012 Philip Regan All Rights Reserved.
+Additional Copyright: None
+Source: New source only; no adaptations.
+Requirements: None
+Notes:
+
+Immediate To-Do:
+X Create Strings constants
+X Add generic game to localizable
+
+Roadmap
+X Port
+ X Core Data
+ X Initial App and Defaults setup
+ X Universe (Game)
+ X Deletion
+ X Creation
+ X Game Components Select
+ X Alter to UIViewController so we can have a toolbar
+ X Game Metadata Edit
+ X Title
+ X Intro
+ X Monetary Unit
+ X Temporal Unit
+ X Retrieve
+ X Update
+ X Player Edit
+ X Name
+ X About
+ X Game Object Selection
+ X Track target entity, relationship, and in-game parent
+ / target entity whose relationship is in-game parent
+ X Tasks
+ X Locations Select
+ X Create
+ X Delete
+ X Object Linker view created and game data controller ready to accept link requests
+ X Task Metadata View Controller now showing menu items
+ X Hook up menu items to view controllers
+ X Test linking of locations to locations
+ X test linking of locations to accomplishments
+ X Edit
+ X View linked locations
+ X View all locations to link to a location
+ X Delink locations
+ X View linked Accomplishments
+ X View all accomplishments to link to a location (->Edit, Create, and Delete)
+ X Delink accomplishments
+ X Accomplishments (handled as tasks)
+ X Edit
+ X Create
+ X Delete
+* Build
+ X Game Engine
+ X Abilities
+ X Player - Stats
+ X Accomplishment - Difficulty Class
+ - Equipment Bonus CANCELLED
+ X Result calculations
+
+NO MORE TIME!!!
+ * Konami Codes (Handled as player names)
+ * Konami
+ * Free access to all nodes, equipment, and accomplishments not required
+ * Konami007
+ * All equipment, but accomplishments are still run
+* Extend
+ * Graphics
+ * Objects
+ * Players
+ * Nodes
+ * Equipment
+ * Accomplishments
+ * In-Game
+ * Map
+ * Edit Game
+
+Editor Paths
+* Game
+ > Edit
+ X Game
+ X Player
+ X Locations
+ X Locations List
+ X Location Metadata
+ X Accomplshment List
+ X LocationList for Linking
+ X Location List for Linking
+ * Equipment
+ * Equipment List
+ * Equipment Metadata
+ * Accomplishment List for Linking
+ X Play
+ X Location Display
+ X Location List for traveling
+
+Clean up
+ X Verify and fix listed bugs below
+ X turn off game nuking on startup
+ X implement low memory warnings
+ X Code review, clean up and comment
+ X enable in-game object property
+ X Documentation
+ X Wumpus
+ * Submit
+
+
+
+Bugs (critical)
+* None
+
+Bugs (Non-critical)
+* None
+
+
+Change History:
+ DEVELOPMENT
+ /* PORTING BEGINS */
+ 12_04_14_01_00_000: Started source
+ 12_04_14_01_00_001: Added OCGameDataController class
+ Added localized strings file
+ 12_04_14_01_00_002: Added entities to Core Data
+ 12_04_14_01_00_003: Added Game Object Attributes to Core Data
+ 12_04_14_01_00_004: Added Universe Attributes to Core Data
+ Updated Game Data Controller to reflect relationships
+ 12_04_14_01_00_005: Added task and Player Attributes to Core Data
+ Updated Game Data Controller to reflect relationships
+ 12_04_14_01_00_006: Added store deletion code for troubleshooting purposes
+ 12_04_14_01_00_007: Added Game Data Controller to MainViewController
+ 12_04_14_01_00_008: Added game data init and linked game data controller to App Delegate and MainViewController
+ 12_04_14_01_00_009: Added create entity to game data controller
+ 12_04_14_01_00_010: Added Universe Entity creation to game data controller
+ 12_04_14_01_00_011: Fixed pointer warnings due to incorrect const declarations
+ 12_04_14_01_00_012: Started adding sample locations
+ 12_04_14_01_00_013: Added remaining sample data
+ Updated Core Data store to improve implementation
+ 12_04_14_01_00_014: Fixed bug in location population where to-many relationship was not being handled properly; app populates defaults properly and runs to main view controller
+ 12_04_14_01_00_015: Added toolbar and table view to MainViewController
+ 12_04_14_01_00_016: Added required table view methods to MainViewController
+ 12_04_14_01_00_017: Fixed bugs related to custom cells by nuking custom cells
+ Confirmed the two sample games are showing up in the root view.
+ 12_04_15_01_00_018: Added navigation controller for easier navigation during editing
+ 12_04_15_01_00_019: Added title and events related to navigation bar so interface updates correctly
+ 12_04_15_01_00_020: Added back button management so the title of the button changes in the background
+ 12_04_16_01_00_021: Added Generic strings to localizable so new universes get something
+ Added OCStrings for easier management of Core Data constants
+ Added Generic Universe Creation to OCGameDataController
+ 12_04_16_01_00_022: Added Universe Deletion to MainViewController and OCGameDataController
+ 12_04_16_01_00_023: Updated games in MainViewController and OCGameDataController to NSMutableArray
+ 12_04_16_01_00_024: Completed and confirmed universe (game) deletion
+ 12_04_16_01_01_000: Added Game Component Selection View
+ 12_04_16_01_01_001: Fixed bug where the view was not key-value compliant for a key in a different nib (wrong nib being called)
+ 12_04_16_01_02_000: Added Game Metadata View Controller
+ 12_04_16_01_02_001: Added IBOutlets and IBActions for controls and updated interface
+ 12_04_17_01_02_002: Added content updates to OCGameDataController and Game Metadata View Controller
+ 12_04_17_01_02_003: Fixed a couple logic errors where the text area contents were not being applied to the current universe
+ 12_04_17_01_02_004: Added PlayerMetadataView
+ 12_04_17_01_02_005: Added Content hooks to PlayerMetadataView
+ 12_04_17_01_02_006: Fixed bug in OCGameDataController where the player was not actually being created in the data store
+ 12_04_17_01_03_000: Added GameObjectSelectorViewController
+ 12_04_18_01_03_001: Changed GameObjectSelectorViewController to GameObjectSelectionViewController and as a UIViewController so that we could more easily implement a toolbar for adding and deleting objects
+ 12_04_18_01_03_002: Updated OCGameDataController to handle CRUD for Tasks
+ 12_04_18_01_03_003: Updated GameObjectSelectionController to display objects
+ 12_04_18_01_03_004: Updated GameObjectSelectionController to allow editing of lists
+ 12_04_18_01_03_005: Updated OCGameDataController to fix misalignment of data across games, but it isn't working
+ 12_04_18_01_03_006: Fixed some data misalignment issues in OCGameDataController and Localizable.strings
+ 12_04_19_01_03_007: Fixed bug where quests were not being showin GameObjectSelectionView because the section count was incorrect
+ 12_04_19_01_03_008: Fixed bug where certain tasks were not having their intros populated properly because of "Intro" vs. "intro"
+ 12_04_19_01_04_000: Added Task Metadata View
+ 12_04_19_01_04_001: Updated Task Metadata View with interface elements and back button in navigation bar
+ 12_04_19_01_04_002: Updated Task Metadata View with editing hooks
+ 12_04_19_01_05_000: Added Game Play View and OCGameEngine
+ Added Abilities entity to Core Data store
+ Updated Strings to handle Abilities entity
+ Added Equipment to Core Data Store
+ Updated Strings to handle Equipment
+ 12_04_19_01_05_001: Updated Core Data store to have much simpler Task management, where tasks can be related to tasks only and the controller logic decides whether they are locations or accomplishments
+ 12_04_19_01_05_002: Updated OCGameDataController to create locations as just tasks
+ 12_04_19_01_05_003: Updated GamePlayViewController with the core methods needed to work
+ 12_04_19_01_05_004: Updated GamePlayViewController and Game Selector (Mode) to load GamePlayViewController properly and apply universe-level items.
+ Updated xib backgrounds to be consistent
+ 12_04_19_01_05_005: Added core game play methods to OCGameDataController
+ Updated OCGameDataController to get the home location
+ 12_04_19_01_06_000: Updated core data tasks to have strict sibling, parent, and child relationships
+ Updated Strings to reflect the relationships
+ Updated sample game creation to reflect the relationships
+ Updated Game Play Stack to reflect relationships
+ 12_04_19_01_06_001: Identified bug in GamePlayViewController where array is not being passed back from OCGameDataController
+ 12_04_19_01_06_002: Fixed bug in GamePlayViewController where an unpopulated array was being called causing a crash that, of course, had no relevance to the actual problem.
+ 12_04_19_01_06_003: Updated GamePlayViewController to go from location to location
+ 12_04_19_01_06_004: Updated GamePlayViewController so that the back button in the navigation bar will update with the previous location's title
+ 12_04_26_01_07_000: Added Accomplishments to Sample Games
+ 12_04_26_01_07_001: Updated Game Play View Controller to show the Accomplishments for a given location
+ 12_04_26_01_07_002: Updated Game Play View Controller so that the accomplishments button is disabled if there are no accomplishments
+ Updated Game Play View Controller's accomplishments table to style cells so that show the text being inline rather than actionable
+ 12_04_26_01_07_003: Updated Game Play View Controller to show detail view for a given accomplishment
+ /* PORTING COMPLETE. NEW BUILDING BEGINS */
+ 12_04_28_01_08_000: Added Game Object Linker View Controller along with the core items needed to manage content
+ 12_04_28_01_08_001: Updated Game Object Linker View Controller with code needed to manage and make links with OCGameDataController
+ Updated OCGameDataController with a basic method to manage linking for Game Object Linker View Controller
+ 12_04_28_01_08_002: Added linking table menu to the Task Metadata View
+ 12_04_28_01_08_003: Updated linking table menu to show menu items
+ 12_04_28_01_08_004: Added Game Object View Linked and Delinked View Controller
+ Added Linking Stack to OCGameDataController
+ 12_04_28_01_08_005: Updated Linker and View/Delinker, and Game Data Controller with v1 code before testing begins
+ 12_04_28_01_08_006: Added View/Delinker VC code to TaskMetaView to start testing
+ 12_04_28_01_08_007: Fixed problem with linker nibs where deleted properities in the classes were not managed in the nib causing a crash
+ 12_04_28_01_08_008: Updated Game Data Controller to show linked locations in edit stack
+ 12_04_28_01_08_009: Updated Task Metadata View Controller to link to Game Object View Linked for Accomplishments
+ 12_04_28_01_08_010: Updated Linker View to show all instances of a passed entity
+ 12_04_28_01_08_011: Updated OCGameDataController to properly link two object's together.
+ Confirmed that Locations and Accomplishments link and Locations link to other Locations
+ 12_04_29_01_08_012: Updated View/Delinker to actually perform delinking
+ 12_04_29_01_09_000: Updated OCGameDataController to create Abilities scores for different types of objects
+ Updated OCGameDataController to link abilities scores to objects
+ Updated OCGameEngine with core game play routine
+ 12_04_29_01_09_001: Fixed bug in Abilities creation that caused a crash in Core Data because value validation was hard set in the CD editor.
+ 12_04_29_01_09_002: Updated OCGameEngine with core game mechanic
+ 12_04_29_01_09_003: Confirmed core game mechanic works as advertised
+ 12_04_30_02_00_000: Started submission clean up work
+ Updated data store nuking to be more clear
+ Removed data store nuking for testing
+ 12_04_30_02_00_001: Updated AppDelegate to handle low memoery warnings by saving the data store via OCGameDataController
+ 12_04_30_02_00_002: Updated FlipView with information about the app and required copyrights
+ 12_04_30_02_00_003: Updated MainViewController with clean comments and better code reuse
+ 12_04_30_02_00_004: Updated GameSelectorViewController with clean comments and better code reuse
+ 12_04_30_02_00_005: Updated GamePlayViewController with clean comments and better code reuse
+ Updated localized strings with new interface text that was hardcoded into the class
+ 12_04_30_02_00_006: Updated OCGameEngine with clean comments and better code reuse
+ 12_04_30_02_00_007: Updated GameComponentSelectorViewController with clean comments and better code reuse
+ Updated GameComponentSelectorViewController to better handle the lack of equipment-related features
+ 12_04_30_02_00_008: Updated GameComponentSelectorViewController to remove Equipment
+ 12_04_30_02_00_009: Updated Game Object Selection View with clean comments
+ 12_04_30_02_00_010: Updated Game Object Linker View with clean comments
+ 12_04_30_02_00_011: Updated Game Object View Linked and Delink View with clean comments
+ 12_04_30_02_00_012: Updated Game Metadata View with clean comments
+ 12_04_30_02_00_013: Updated Player Metadata View with clean comments
+ 12_04_30_02_00_014: Updated Task Metadata View with clean comments
+ 12_04_30_02_00_015: Updated OCGameDataController with clean comments
+ Updates localizable.strings with content hard coded in OCGameDataController
+ 12_04_30_02_00_016: Updated app so that it supports undeletable tasks (i.e., Home)
+ 12_04_30_02_00_017: Updated OCGameDataController to create Wumpus map
+ 12_05_02_02_01_018: Updated Edit Actions in Game Selection View, Game Object Selection View, and Game Object View Linked and Delink View to cancel editing upon second pressing of "Edit" button.
+ Updated OCGameDataController with a function to reset the data store to the default
+ Updated FlipsideViewController with required hooks to call OCGameDataController to reset games.
+
+Original Proposal
+
+GOOD:
+X I would like to update the backend to better handle some of the features detailed in the Android projects. The core problem I discovered is that the databases are not designed to handle the ownership of multiple pieces equipment of equipment amongst multiple game objects.
+X Actual implementation of the GameEngine would be keen.
+
+BETTER:
+
+* Required objects and qualifications to start certain Accomplishments.
+BEST:
+* Graphics of any kind, but I see that coming into play for the final project. I have a couple ideas that probably go beyond the scope of this project.
+
+First steps
+X Successful porting of the Android code to iOS to match the feature set.
+X Update model (database) to better manage equipment
+
+Second Steps
+X Add the creation, deletion, and linking of core game objects to other game objects (i.e., create a new Task and add it as an Accomplishment to a Location, transfer ownership of an Equipment from a Task to the Player).
+
+Final Steps
+X Creation and deletion of games themselves
+* Some kind of graphics—maybe a Location map during play and linking.
View
771 RPG Kit.xcodeproj/project.pbxproj
@@ -0,0 +1,771 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 9005987B153DDCB60053957D /* PlayerMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90059879153DDCB60053957D /* PlayerMetadataViewController.m */; };
+ 9005987C153DDCB60053957D /* PlayerMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90059879153DDCB60053957D /* PlayerMetadataViewController.m */; };
+ 9005987D153DDCB60053957D /* PlayerMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9005987A153DDCB60053957D /* PlayerMetadataViewController.xib */; };
+ 9005987E153DDCB60053957D /* PlayerMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9005987A153DDCB60053957D /* PlayerMetadataViewController.xib */; };
+ 90225FF8153CED1F000E7F61 /* GameMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90225FF6153CED1F000E7F61 /* GameMetadataViewController.m */; };
+ 90225FF9153CED1F000E7F61 /* GameMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90225FF6153CED1F000E7F61 /* GameMetadataViewController.m */; };
+ 90225FFE153CF191000E7F61 /* GameMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90226001153CF191000E7F61 /* GameMetadataViewController.xib */; };
+ 90225FFF153CF191000E7F61 /* GameMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90226001153CF191000E7F61 /* GameMetadataViewController.xib */; };
+ 9076C43815515B3700E8A1C0 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 9076C43715515B3700E8A1C0 /* icon.png */; };
+ 9076C43A15515B3A00E8A1C0 /* icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 9076C43915515B3A00E8A1C0 /* icon@2x.png */; };
+ 90BBECC0154232250025034B /* TaskMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECBE154232250025034B /* TaskMetadataViewController.m */; };
+ 90BBECC1154232250025034B /* TaskMetadataViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECBE154232250025034B /* TaskMetadataViewController.m */; };
+ 90BBECC2154232250025034B /* TaskMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECBF154232250025034B /* TaskMetadataViewController.xib */; };
+ 90BBECC3154232250025034B /* TaskMetadataViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECBF154232250025034B /* TaskMetadataViewController.xib */; };
+ 90BBECC71542FF630025034B /* GameEngineNotes.txt in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECC61542FF630025034B /* GameEngineNotes.txt */; };
+ 90BBECC81542FF630025034B /* GameEngineNotes.txt in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECC61542FF630025034B /* GameEngineNotes.txt */; };
+ 90BBECCC15430F160025034B /* GamePlayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECCA15430F150025034B /* GamePlayViewController.m */; };
+ 90BBECCD15430F160025034B /* GamePlayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECCA15430F150025034B /* GamePlayViewController.m */; };
+ 90BBECCE15430F160025034B /* GamePlayViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECCB15430F160025034B /* GamePlayViewController.xib */; };
+ 90BBECCF15430F160025034B /* GamePlayViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90BBECCB15430F160025034B /* GamePlayViewController.xib */; };
+ 90BBECD3154313C20025034B /* OCGameEngine.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECD2154313C20025034B /* OCGameEngine.m */; };
+ 90BBECD4154313C20025034B /* OCGameEngine.m in Sources */ = {isa = PBXBuildFile; fileRef = 90BBECD2154313C20025034B /* OCGameEngine.m */; };
+ 90C2F2B41539F2C100C3BCE9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B31539F2C100C3BCE9 /* UIKit.framework */; };
+ 90C2F2B61539F2C100C3BCE9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B51539F2C100C3BCE9 /* Foundation.framework */; };
+ 90C2F2B81539F2C100C3BCE9 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B71539F2C100C3BCE9 /* CoreGraphics.framework */; };
+ 90C2F2BA1539F2C100C3BCE9 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B91539F2C100C3BCE9 /* CoreData.framework */; };
+ 90C2F2C01539F2C100C3BCE9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F2BE1539F2C100C3BCE9 /* InfoPlist.strings */; };
+ 90C2F2C21539F2C100C3BCE9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2C11539F2C100C3BCE9 /* main.m */; };
+ 90C2F2C61539F2C100C3BCE9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2C51539F2C100C3BCE9 /* AppDelegate.m */; };
+ 90C2F2C91539F2C100C3BCE9 /* RPG_Kit.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2C71539F2C100C3BCE9 /* RPG_Kit.xcdatamodeld */; };
+ 90C2F2CC1539F2C100C3BCE9 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2CB1539F2C100C3BCE9 /* MainViewController.m */; };
+ 90C2F2CF1539F2C100C3BCE9 /* FlipsideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2CE1539F2C100C3BCE9 /* FlipsideViewController.m */; };
+ 90C2F2D21539F2C200C3BCE9 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F2D01539F2C200C3BCE9 /* MainViewController.xib */; };
+ 90C2F2D51539F2C200C3BCE9 /* FlipsideViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F2D31539F2C200C3BCE9 /* FlipsideViewController.xib */; };
+ 90C2F2DD1539F2C300C3BCE9 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2DC1539F2C300C3BCE9 /* SenTestingKit.framework */; };
+ 90C2F2DE1539F2C300C3BCE9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B31539F2C100C3BCE9 /* UIKit.framework */; };
+ 90C2F2DF1539F2C300C3BCE9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B51539F2C100C3BCE9 /* Foundation.framework */; };
+ 90C2F2E01539F2C300C3BCE9 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90C2F2B91539F2C100C3BCE9 /* CoreData.framework */; };
+ 90C2F2E81539F2C300C3BCE9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F2E61539F2C300C3BCE9 /* InfoPlist.strings */; };
+ 90C2F2EB1539F2C300C3BCE9 /* RPG_KitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F2EA1539F2C300C3BCE9 /* RPG_KitTests.m */; };
+ 90C2F3071539F78600C3BCE9 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F3061539F78600C3BCE9 /* Localizable.strings */; };
+ 90C2F3081539F78600C3BCE9 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 90C2F3061539F78600C3BCE9 /* Localizable.strings */; };
+ 90C2F30B1539F79400C3BCE9 /* OCGameDataController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F30A1539F79400C3BCE9 /* OCGameDataController.m */; };
+ 90C2F30C1539F79400C3BCE9 /* OCGameDataController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C2F30A1539F79400C3BCE9 /* OCGameDataController.m */; };
+ 90C55B82153EE55600C19381 /* GameObjectSelectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C55B80153EE55600C19381 /* GameObjectSelectionViewController.m */; };
+ 90C55B83153EE55600C19381 /* GameObjectSelectionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C55B80153EE55600C19381 /* GameObjectSelectionViewController.m */; };
+ 90C55B84153EE55600C19381 /* GameObjectSelectionViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C55B81153EE55600C19381 /* GameObjectSelectionViewController.xib */; };
+ 90C55B85153EE55600C19381 /* GameObjectSelectionViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C55B81153EE55600C19381 /* GameObjectSelectionViewController.xib */; };
+ 90C6ECDE154CD13F00413CC7 /* GameObjectLinkerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C6ECDC154CD13F00413CC7 /* GameObjectLinkerViewController.m */; };
+ 90C6ECDF154CD13F00413CC7 /* GameObjectLinkerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C6ECDC154CD13F00413CC7 /* GameObjectLinkerViewController.m */; };
+ 90C6ECE0154CD13F00413CC7 /* GameObjectLinkerViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C6ECDD154CD13F00413CC7 /* GameObjectLinkerViewController.xib */; };
+ 90C6ECE1154CD13F00413CC7 /* GameObjectLinkerViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C6ECDD154CD13F00413CC7 /* GameObjectLinkerViewController.xib */; };
+ 90C6ECE7154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C6ECE5154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m */; };
+ 90C6ECE8154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90C6ECE5154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m */; };
+ 90C6ECE9154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C6ECE6154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib */; };
+ 90C6ECEA154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90C6ECE6154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib */; };
+ 90D1A9BE153CB38F003D083D /* GameComponentSelectorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90D1A9BC153CB38F003D083D /* GameComponentSelectorViewController.m */; };
+ 90D1A9BF153CB38F003D083D /* GameComponentSelectorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90D1A9BC153CB38F003D083D /* GameComponentSelectorViewController.m */; };
+ 90D1A9C0153CB38F003D083D /* GameComponentSelectorViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90D1A9BD153CB38F003D083D /* GameComponentSelectorViewController.xib */; };
+ 90D1A9C1153CB38F003D083D /* GameComponentSelectorViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90D1A9BD153CB38F003D083D /* GameComponentSelectorViewController.xib */; };
+ 90DD13FF153AFA3900842B38 /* GameSelectorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90DD13FD153AFA3900842B38 /* GameSelectorViewController.m */; };
+ 90DD1400153AFA3900842B38 /* GameSelectorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90DD13FD153AFA3900842B38 /* GameSelectorViewController.m */; };
+ 90DD1401153AFA3900842B38 /* GameSelectorViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90DD13FE153AFA3900842B38 /* GameSelectorViewController.xib */; };
+ 90DD1402153AFA3900842B38 /* GameSelectorViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 90DD13FE153AFA3900842B38 /* GameSelectorViewController.xib */; };
+ 90E807B1153C3ADE00530BD2 /* OCStrings.m in Sources */ = {isa = PBXBuildFile; fileRef = 90E807B0153C3ADE00530BD2 /* OCStrings.m */; };
+ 90E807B2153C3ADE00530BD2 /* OCStrings.m in Sources */ = {isa = PBXBuildFile; fileRef = 90E807B0153C3ADE00530BD2 /* OCStrings.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 90C2F2E11539F2C300C3BCE9 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 90C2F2A61539F2C100C3BCE9 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 90C2F2AE1539F2C100C3BCE9;
+ remoteInfo = "RPG Kit";
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ 90059878153DDCB60053957D /* PlayerMetadataViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlayerMetadataViewController.h; sourceTree = "<group>"; };
+ 90059879153DDCB60053957D /* PlayerMetadataViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PlayerMetadataViewController.m; sourceTree = "<group>"; };
+ 9005987A153DDCB60053957D /* PlayerMetadataViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PlayerMetadataViewController.xib; sourceTree = "<group>"; };
+ 90225FF5153CED1F000E7F61 /* GameMetadataViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = GameMetadataViewController.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+ 90225FF6153CED1F000E7F61 /* GameMetadataViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = GameMetadataViewController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
+ 90226000153CF191000E7F61 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/GameMetadataViewController.xib; sourceTree = "<group>"; };
+ 9076C43715515B3700E8A1C0 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = ../icon.png; sourceTree = "<group>"; };
+ 9076C43915515B3A00E8A1C0 /* icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "icon@2x.png"; path = "../icon@2x.png"; sourceTree = "<group>"; };
+ 90BBECBD154232250025034B /* TaskMetadataViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TaskMetadataViewController.h; sourceTree = "<group>"; };
+ 90BBECBE154232250025034B /* TaskMetadataViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TaskMetadataViewController.m; sourceTree = "<group>"; };
+ 90BBECBF154232250025034B /* TaskMetadataViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TaskMetadataViewController.xib; sourceTree = "<group>"; };
+ 90BBECC61542FF630025034B /* GameEngineNotes.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = GameEngineNotes.txt; sourceTree = "<group>"; };
+ 90BBECC915430F150025034B /* GamePlayViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GamePlayViewController.h; sourceTree = "<group>"; };
+ 90BBECCA15430F150025034B /* GamePlayViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GamePlayViewController.m; sourceTree = "<group>"; };
+ 90BBECCB15430F160025034B /* GamePlayViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GamePlayViewController.xib; sourceTree = "<group>"; };
+ 90BBECD1154313C20025034B /* OCGameEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCGameEngine.h; sourceTree = "<group>"; };
+ 90BBECD2154313C20025034B /* OCGameEngine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCGameEngine.m; sourceTree = "<group>"; };
+ 90C2F2AF1539F2C100C3BCE9 /* RPG Kit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RPG Kit.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 90C2F2B31539F2C100C3BCE9 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 90C2F2B51539F2C100C3BCE9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 90C2F2B71539F2C100C3BCE9 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 90C2F2B91539F2C100C3BCE9 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ 90C2F2BD1539F2C100C3BCE9 /* RPG Kit-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RPG Kit-Info.plist"; sourceTree = "<group>"; };
+ 90C2F2BF1539F2C100C3BCE9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 90C2F2C11539F2C100C3BCE9 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 90C2F2C31539F2C100C3BCE9 /* RPG Kit-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RPG Kit-Prefix.pch"; sourceTree = "<group>"; };
+ 90C2F2C41539F2C100C3BCE9 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ 90C2F2C51539F2C100C3BCE9 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 90C2F2C81539F2C100C3BCE9 /* RPG_Kit.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = RPG_Kit.xcdatamodel; sourceTree = "<group>"; };
+ 90C2F2CA1539F2C100C3BCE9 /* MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
+ 90C2F2CB1539F2C100C3BCE9 /* MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
+ 90C2F2CD1539F2C100C3BCE9 /* FlipsideViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FlipsideViewController.h; sourceTree = "<group>"; };
+ 90C2F2CE1539F2C100C3BCE9 /* FlipsideViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FlipsideViewController.m; sourceTree = "<group>"; };
+ 90C2F2D11539F2C200C3BCE9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainViewController.xib; sourceTree = "<group>"; };
+ 90C2F2D41539F2C200C3BCE9 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/FlipsideViewController.xib; sourceTree = "<group>"; };
+ 90C2F2DB1539F2C300C3BCE9 /* RPG KitTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RPG KitTests.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 90C2F2DC1539F2C300C3BCE9 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
+ 90C2F2E51539F2C300C3BCE9 /* RPG KitTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RPG KitTests-Info.plist"; sourceTree = "<group>"; };
+ 90C2F2E71539F2C300C3BCE9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 90C2F2E91539F2C300C3BCE9 /* RPG_KitTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RPG_KitTests.h; sourceTree = "<group>"; };
+ 90C2F2EA1539F2C300C3BCE9 /* RPG_KitTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RPG_KitTests.m; sourceTree = "<group>"; };
+ 90C2F3041539F74100C3BCE9 /* ProjectNotes.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = ProjectNotes.txt; sourceTree = "<group>"; };
+ 90C2F3061539F78600C3BCE9 /* Localizable.strings */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = "<group>"; };
+ 90C2F3091539F79400C3BCE9 /* OCGameDataController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCGameDataController.h; sourceTree = "<group>"; };
+ 90C2F30A1539F79400C3BCE9 /* OCGameDataController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCGameDataController.m; sourceTree = "<group>"; };
+ 90C55B7F153EE55600C19381 /* GameObjectSelectionViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameObjectSelectionViewController.h; sourceTree = "<group>"; };
+ 90C55B80153EE55600C19381 /* GameObjectSelectionViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameObjectSelectionViewController.m; sourceTree = "<group>"; };
+ 90C55B81153EE55600C19381 /* GameObjectSelectionViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GameObjectSelectionViewController.xib; sourceTree = "<group>"; };
+ 90C6ECDB154CD13F00413CC7 /* GameObjectLinkerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameObjectLinkerViewController.h; sourceTree = "<group>"; };
+ 90C6ECDC154CD13F00413CC7 /* GameObjectLinkerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameObjectLinkerViewController.m; sourceTree = "<group>"; };
+ 90C6ECDD154CD13F00413CC7 /* GameObjectLinkerViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GameObjectLinkerViewController.xib; sourceTree = "<group>"; };
+ 90C6ECE4154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameObjectViewLinkedAndDelinkViewController.h; sourceTree = "<group>"; };
+ 90C6ECE5154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameObjectViewLinkedAndDelinkViewController.m; sourceTree = "<group>"; };
+ 90C6ECE6154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GameObjectViewLinkedAndDelinkViewController.xib; sourceTree = "<group>"; };
+ 90D1A9BB153CB38F003D083D /* GameComponentSelectorViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameComponentSelectorViewController.h; sourceTree = "<group>"; };
+ 90D1A9BC153CB38F003D083D /* GameComponentSelectorViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameComponentSelectorViewController.m; sourceTree = "<group>"; };
+ 90D1A9BD153CB38F003D083D /* GameComponentSelectorViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GameComponentSelectorViewController.xib; sourceTree = "<group>"; };
+ 90DD13FC153AFA3900842B38 /* GameSelectorViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameSelectorViewController.h; sourceTree = "<group>"; };
+ 90DD13FD153AFA3900842B38 /* GameSelectorViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameSelectorViewController.m; sourceTree = "<group>"; };
+ 90DD13FE153AFA3900842B38 /* GameSelectorViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GameSelectorViewController.xib; sourceTree = "<group>"; };
+ 90E807AF153C3ADE00530BD2 /* OCStrings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OCStrings.h; sourceTree = "<group>"; };
+ 90E807B0153C3ADE00530BD2 /* OCStrings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OCStrings.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 90C2F2AC1539F2C100C3BCE9 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2B41539F2C100C3BCE9 /* UIKit.framework in Frameworks */,
+ 90C2F2B61539F2C100C3BCE9 /* Foundation.framework in Frameworks */,
+ 90C2F2B81539F2C100C3BCE9 /* CoreGraphics.framework in Frameworks */,
+ 90C2F2BA1539F2C100C3BCE9 /* CoreData.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 90C2F2D71539F2C300C3BCE9 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2DD1539F2C300C3BCE9 /* SenTestingKit.framework in Frameworks */,
+ 90C2F2DE1539F2C300C3BCE9 /* UIKit.framework in Frameworks */,
+ 90C2F2DF1539F2C300C3BCE9 /* Foundation.framework in Frameworks */,
+ 90C2F2E01539F2C300C3BCE9 /* CoreData.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9005987F153DDCBD0053957D /* Player Metadata View */ = {
+ isa = PBXGroup;
+ children = (
+ 90059878153DDCB60053957D /* PlayerMetadataViewController.h */,
+ 90059879153DDCB60053957D /* PlayerMetadataViewController.m */,
+ 9005987A153DDCB60053957D /* PlayerMetadataViewController.xib */,
+ );
+ name = "Player Metadata View";
+ sourceTree = "<group>";
+ };
+ 90225FFD153CED2A000E7F61 /* Game Metadata View */ = {
+ isa = PBXGroup;
+ children = (
+ 90225FF5153CED1F000E7F61 /* GameMetadataViewController.h */,
+ 90225FF6153CED1F000E7F61 /* GameMetadataViewController.m */,
+ 90226001153CF191000E7F61 /* GameMetadataViewController.xib */,
+ );
+ name = "Game Metadata View";
+ sourceTree = "<group>";
+ };
+ 9069538B153DFC0600079F7C /* Game Object Selection View */ = {
+ isa = PBXGroup;
+ children = (
+ 90C55B7F153EE55600C19381 /* GameObjectSelectionViewController.h */,
+ 90C55B80153EE55600C19381 /* GameObjectSelectionViewController.m */,
+ 90C55B81153EE55600C19381 /* GameObjectSelectionViewController.xib */,
+ );
+ name = "Game Object Selection View";
+ sourceTree = "<group>";
+ };
+ 90BBECC51542323C0025034B /* Task Metadata View */ = {
+ isa = PBXGroup;
+ children = (
+ 90BBECBD154232250025034B /* TaskMetadataViewController.h */,
+ 90BBECBE154232250025034B /* TaskMetadataViewController.m */,
+ 90BBECBF154232250025034B /* TaskMetadataViewController.xib */,
+ );
+ name = "Task Metadata View";
+ sourceTree = "<group>";
+ };
+ 90BBECD015430F1D0025034B /* Game Play View */ = {
+ isa = PBXGroup;
+ children = (
+ 90BBECC915430F150025034B /* GamePlayViewController.h */,
+ 90BBECCA15430F150025034B /* GamePlayViewController.m */,
+ 90BBECCB15430F160025034B /* GamePlayViewController.xib */,
+ 90BBECD1154313C20025034B /* OCGameEngine.h */,
+ 90BBECD2154313C20025034B /* OCGameEngine.m */,
+ );
+ name = "Game Play View";
+ sourceTree = "<group>";
+ };
+ 90C2F2A41539F2C100C3BCE9 = {
+ isa = PBXGroup;
+ children = (
+ 90C2F3041539F74100C3BCE9 /* ProjectNotes.txt */,
+ 90BBECC61542FF630025034B /* GameEngineNotes.txt */,
+ 90C2F2BB1539F2C100C3BCE9 /* RPG Kit */,
+ 90C2F2E31539F2C300C3BCE9 /* RPG KitTests */,
+ 90C2F2B21539F2C100C3BCE9 /* Frameworks */,
+ 90C2F2B01539F2C100C3BCE9 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 90C2F2B01539F2C100C3BCE9 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2AF1539F2C100C3BCE9 /* RPG Kit.app */,
+ 90C2F2DB1539F2C300C3BCE9 /* RPG KitTests.octest */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 90C2F2B21539F2C100C3BCE9 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2B31539F2C100C3BCE9 /* UIKit.framework */,
+ 90C2F2B51539F2C100C3BCE9 /* Foundation.framework */,
+ 90C2F2B71539F2C100C3BCE9 /* CoreGraphics.framework */,
+ 90C2F2B91539F2C100C3BCE9 /* CoreData.framework */,
+ 90C2F2DC1539F2C300C3BCE9 /* SenTestingKit.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 90C2F2BB1539F2C100C3BCE9 /* RPG Kit */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2C41539F2C100C3BCE9 /* AppDelegate.h */,
+ 90C2F2C51539F2C100C3BCE9 /* AppDelegate.m */,
+ 90DD13E6153A5F9F00842B38 /* Game Selection View */,
+ 90D1A9C4153CB3CC003D083D /* Game Mode View */,
+ 90BBECD015430F1D0025034B /* Game Play View */,
+ 90D1A9C3153CB39D003D083D /* Game Component Selector */,
+ 9069538B153DFC0600079F7C /* Game Object Selection View */,
+ 90C6ECE3154CD14700413CC7 /* Game Object Linker */,
+ 90C6ECEB154D7FF100413CC7 /* Game Object View Linked and Delink View */,
+ 90225FFD153CED2A000E7F61 /* Game Metadata View */,
+ 9005987F153DDCBD0053957D /* Player Metadata View */,
+ 90BBECC51542323C0025034B /* Task Metadata View */,
+ 90DD13E7153A5FAA00842B38 /* Info and Help View */,
+ 90DD13E8153A5FB800842B38 /* Helper Classes */,
+ 90C2F2C71539F2C100C3BCE9 /* RPG_Kit.xcdatamodeld */,
+ 90C2F3061539F78600C3BCE9 /* Localizable.strings */,
+ 9076C43915515B3A00E8A1C0 /* icon@2x.png */,
+ 9076C43715515B3700E8A1C0 /* icon.png */,
+ 90C2F2BC1539F2C100C3BCE9 /* Supporting Files */,
+ );
+ path = "RPG Kit";
+ sourceTree = "<group>";
+ };
+ 90C2F2BC1539F2C100C3BCE9 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2BD1539F2C100C3BCE9 /* RPG Kit-Info.plist */,
+ 90C2F2BE1539F2C100C3BCE9 /* InfoPlist.strings */,
+ 90C2F2C11539F2C100C3BCE9 /* main.m */,
+ 90C2F2C31539F2C100C3BCE9 /* RPG Kit-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 90C2F2E31539F2C300C3BCE9 /* RPG KitTests */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2E91539F2C300C3BCE9 /* RPG_KitTests.h */,
+ 90C2F2EA1539F2C300C3BCE9 /* RPG_KitTests.m */,
+ 90C2F2E41539F2C300C3BCE9 /* Supporting Files */,
+ );
+ path = "RPG KitTests";
+ sourceTree = "<group>";
+ };
+ 90C2F2E41539F2C300C3BCE9 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2E51539F2C300C3BCE9 /* RPG KitTests-Info.plist */,
+ 90C2F2E61539F2C300C3BCE9 /* InfoPlist.strings */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 90C6ECE3154CD14700413CC7 /* Game Object Linker */ = {
+ isa = PBXGroup;
+ children = (
+ 90C6ECDB154CD13F00413CC7 /* GameObjectLinkerViewController.h */,
+ 90C6ECDC154CD13F00413CC7 /* GameObjectLinkerViewController.m */,
+ 90C6ECDD154CD13F00413CC7 /* GameObjectLinkerViewController.xib */,
+ );
+ name = "Game Object Linker";
+ sourceTree = "<group>";
+ };
+ 90C6ECEB154D7FF100413CC7 /* Game Object View Linked and Delink View */ = {
+ isa = PBXGroup;
+ children = (
+ 90C6ECE4154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.h */,
+ 90C6ECE5154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m */,
+ 90C6ECE6154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib */,
+ );
+ name = "Game Object View Linked and Delink View";
+ sourceTree = "<group>";
+ };
+ 90D1A9C3153CB39D003D083D /* Game Component Selector */ = {
+ isa = PBXGroup;
+ children = (
+ 90D1A9BB153CB38F003D083D /* GameComponentSelectorViewController.h */,
+ 90D1A9BC153CB38F003D083D /* GameComponentSelectorViewController.m */,
+ 90D1A9BD153CB38F003D083D /* GameComponentSelectorViewController.xib */,
+ );
+ name = "Game Component Selector";
+ sourceTree = "<group>";
+ };
+ 90D1A9C4153CB3CC003D083D /* Game Mode View */ = {
+ isa = PBXGroup;
+ children = (
+ 90DD13FC153AFA3900842B38 /* GameSelectorViewController.h */,
+ 90DD13FD153AFA3900842B38 /* GameSelectorViewController.m */,
+ 90DD13FE153AFA3900842B38 /* GameSelectorViewController.xib */,
+ );
+ name = "Game Mode View";
+ sourceTree = "<group>";
+ };
+ 90DD13E6153A5F9F00842B38 /* Game Selection View */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2CA1539F2C100C3BCE9 /* MainViewController.h */,
+ 90C2F2CB1539F2C100C3BCE9 /* MainViewController.m */,
+ 90C2F2D01539F2C200C3BCE9 /* MainViewController.xib */,
+ );
+ name = "Game Selection View";
+ sourceTree = "<group>";
+ };
+ 90DD13E7153A5FAA00842B38 /* Info and Help View */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F2CD1539F2C100C3BCE9 /* FlipsideViewController.h */,
+ 90C2F2CE1539F2C100C3BCE9 /* FlipsideViewController.m */,
+ 90C2F2D31539F2C200C3BCE9 /* FlipsideViewController.xib */,
+ );
+ name = "Info and Help View";
+ sourceTree = "<group>";
+ };
+ 90DD13E8153A5FB800842B38 /* Helper Classes */ = {
+ isa = PBXGroup;
+ children = (
+ 90E807AF153C3ADE00530BD2 /* OCStrings.h */,
+ 90E807B0153C3ADE00530BD2 /* OCStrings.m */,
+ 90DD13E9153A5FCA00842B38 /* Game Data Controller */,
+ );
+ name = "Helper Classes";
+ sourceTree = "<group>";
+ };
+ 90DD13E9153A5FCA00842B38 /* Game Data Controller */ = {
+ isa = PBXGroup;
+ children = (
+ 90C2F3091539F79400C3BCE9 /* OCGameDataController.h */,
+ 90C2F30A1539F79400C3BCE9 /* OCGameDataController.m */,
+ );
+ name = "Game Data Controller";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 90C2F2AE1539F2C100C3BCE9 /* RPG Kit */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 90C2F2EE1539F2C300C3BCE9 /* Build configuration list for PBXNativeTarget "RPG Kit" */;
+ buildPhases = (
+ 90C2F2AB1539F2C100C3BCE9 /* Sources */,
+ 90C2F2AC1539F2C100C3BCE9 /* Frameworks */,
+ 90C2F2AD1539F2C100C3BCE9 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "RPG Kit";
+ productName = "RPG Kit";
+ productReference = 90C2F2AF1539F2C100C3BCE9 /* RPG Kit.app */;
+ productType = "com.apple.product-type.application";
+ };
+ 90C2F2DA1539F2C300C3BCE9 /* RPG KitTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 90C2F2F11539F2C300C3BCE9 /* Build configuration list for PBXNativeTarget "RPG KitTests" */;
+ buildPhases = (
+ 90C2F2D61539F2C300C3BCE9 /* Sources */,
+ 90C2F2D71539F2C300C3BCE9 /* Frameworks */,
+ 90C2F2D81539F2C300C3BCE9 /* Resources */,
+ 90C2F2D91539F2C300C3BCE9 /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 90C2F2E21539F2C300C3BCE9 /* PBXTargetDependency */,
+ );
+ name = "RPG KitTests";
+ productName = "RPG KitTests";
+ productReference = 90C2F2DB1539F2C300C3BCE9 /* RPG KitTests.octest */;
+ productType = "com.apple.product-type.bundle";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 90C2F2A61539F2C100C3BCE9 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ };
+ buildConfigurationList = 90C2F2A91539F2C100C3BCE9 /* Build configuration list for PBXProject "RPG Kit" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 90C2F2A41539F2C100C3BCE9;
+ productRefGroup = 90C2F2B01539F2C100C3BCE9 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 90C2F2AE1539F2C100C3BCE9 /* RPG Kit */,
+ 90C2F2DA1539F2C300C3BCE9 /* RPG KitTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 90C2F2AD1539F2C100C3BCE9 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2C01539F2C100C3BCE9 /* InfoPlist.strings in Resources */,
+ 90C2F2D21539F2C200C3BCE9 /* MainViewController.xib in Resources */,
+ 90C2F2D51539F2C200C3BCE9 /* FlipsideViewController.xib in Resources */,
+ 90C2F3071539F78600C3BCE9 /* Localizable.strings in Resources */,
+ 90DD1401153AFA3900842B38 /* GameSelectorViewController.xib in Resources */,
+ 90D1A9C0153CB38F003D083D /* GameComponentSelectorViewController.xib in Resources */,
+ 90225FFE153CF191000E7F61 /* GameMetadataViewController.xib in Resources */,
+ 9005987D153DDCB60053957D /* PlayerMetadataViewController.xib in Resources */,
+ 90C55B84153EE55600C19381 /* GameObjectSelectionViewController.xib in Resources */,
+ 90BBECC2154232250025034B /* TaskMetadataViewController.xib in Resources */,
+ 90BBECC71542FF630025034B /* GameEngineNotes.txt in Resources */,
+ 90BBECCE15430F160025034B /* GamePlayViewController.xib in Resources */,
+ 90C6ECE0154CD13F00413CC7 /* GameObjectLinkerViewController.xib in Resources */,
+ 90C6ECE9154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib in Resources */,
+ 9076C43815515B3700E8A1C0 /* icon.png in Resources */,
+ 9076C43A15515B3A00E8A1C0 /* icon@2x.png in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 90C2F2D81539F2C300C3BCE9 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2E81539F2C300C3BCE9 /* InfoPlist.strings in Resources */,
+ 90C2F3081539F78600C3BCE9 /* Localizable.strings in Resources */,
+ 90DD1402153AFA3900842B38 /* GameSelectorViewController.xib in Resources */,
+ 90D1A9C1153CB38F003D083D /* GameComponentSelectorViewController.xib in Resources */,
+ 90225FFF153CF191000E7F61 /* GameMetadataViewController.xib in Resources */,
+ 9005987E153DDCB60053957D /* PlayerMetadataViewController.xib in Resources */,
+ 90C55B85153EE55600C19381 /* GameObjectSelectionViewController.xib in Resources */,
+ 90BBECC3154232250025034B /* TaskMetadataViewController.xib in Resources */,
+ 90BBECC81542FF630025034B /* GameEngineNotes.txt in Resources */,
+ 90BBECCF15430F160025034B /* GamePlayViewController.xib in Resources */,
+ 90C6ECE1154CD13F00413CC7 /* GameObjectLinkerViewController.xib in Resources */,
+ 90C6ECEA154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 90C2F2D91539F2C300C3BCE9 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 90C2F2AB1539F2C100C3BCE9 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2C21539F2C100C3BCE9 /* main.m in Sources */,
+ 90C2F2C61539F2C100C3BCE9 /* AppDelegate.m in Sources */,
+ 90C2F2C91539F2C100C3BCE9 /* RPG_Kit.xcdatamodeld in Sources */,
+ 90C2F2CC1539F2C100C3BCE9 /* MainViewController.m in Sources */,
+ 90C2F2CF1539F2C100C3BCE9 /* FlipsideViewController.m in Sources */,
+ 90C2F30B1539F79400C3BCE9 /* OCGameDataController.m in Sources */,
+ 90DD13FF153AFA3900842B38 /* GameSelectorViewController.m in Sources */,
+ 90E807B1153C3ADE00530BD2 /* OCStrings.m in Sources */,
+ 90D1A9BE153CB38F003D083D /* GameComponentSelectorViewController.m in Sources */,
+ 90225FF8153CED1F000E7F61 /* GameMetadataViewController.m in Sources */,
+ 9005987B153DDCB60053957D /* PlayerMetadataViewController.m in Sources */,
+ 90C55B82153EE55600C19381 /* GameObjectSelectionViewController.m in Sources */,
+ 90BBECC0154232250025034B /* TaskMetadataViewController.m in Sources */,
+ 90BBECCC15430F160025034B /* GamePlayViewController.m in Sources */,
+ 90BBECD3154313C20025034B /* OCGameEngine.m in Sources */,
+ 90C6ECDE154CD13F00413CC7 /* GameObjectLinkerViewController.m in Sources */,
+ 90C6ECE7154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 90C2F2D61539F2C300C3BCE9 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 90C2F2EB1539F2C300C3BCE9 /* RPG_KitTests.m in Sources */,
+ 90C2F30C1539F79400C3BCE9 /* OCGameDataController.m in Sources */,
+ 90DD1400153AFA3900842B38 /* GameSelectorViewController.m in Sources */,
+ 90E807B2153C3ADE00530BD2 /* OCStrings.m in Sources */,
+ 90D1A9BF153CB38F003D083D /* GameComponentSelectorViewController.m in Sources */,
+ 90225FF9153CED1F000E7F61 /* GameMetadataViewController.m in Sources */,
+ 9005987C153DDCB60053957D /* PlayerMetadataViewController.m in Sources */,
+ 90C55B83153EE55600C19381 /* GameObjectSelectionViewController.m in Sources */,
+ 90BBECC1154232250025034B /* TaskMetadataViewController.m in Sources */,
+ 90BBECCD15430F160025034B /* GamePlayViewController.m in Sources */,
+ 90BBECD4154313C20025034B /* OCGameEngine.m in Sources */,
+ 90C6ECDF154CD13F00413CC7 /* GameObjectLinkerViewController.m in Sources */,
+ 90C6ECE8154D7FE800413CC7 /* GameObjectViewLinkedAndDelinkViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 90C2F2E21539F2C300C3BCE9 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 90C2F2AE1539F2C100C3BCE9 /* RPG Kit */;
+ targetProxy = 90C2F2E11539F2C300C3BCE9 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 90226001153CF191000E7F61 /* GameMetadataViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 90226000153CF191000E7F61 /* en */,
+ );
+ name = GameMetadataViewController.xib;
+ sourceTree = "<group>";
+ };
+ 90C2F2BE1539F2C100C3BCE9 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 90C2F2BF1539F2C100C3BCE9 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ 90C2F2D01539F2C200C3BCE9 /* MainViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 90C2F2D11539F2C200C3BCE9 /* en */,
+ );
+ name = MainViewController.xib;
+ sourceTree = "<group>";
+ };
+ 90C2F2D31539F2C200C3BCE9 /* FlipsideViewController.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 90C2F2D41539F2C200C3BCE9 /* en */,
+ );
+ name = FlipsideViewController.xib;
+ sourceTree = "<group>";
+ };
+ 90C2F2E61539F2C300C3BCE9 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 90C2F2E71539F2C300C3BCE9 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 90C2F2EC1539F2C300C3BCE9 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 90C2F2ED1539F2C300C3BCE9 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 90C2F2EF1539F2C300C3BCE9 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RPG Kit/RPG Kit-Prefix.pch";
+ INFOPLIST_FILE = "RPG Kit/RPG Kit-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 90C2F2F01539F2C300C3BCE9 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RPG Kit/RPG Kit-Prefix.pch";
+ INFOPLIST_FILE = "RPG Kit/RPG Kit-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ 90C2F2F21539F2C300C3BCE9 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RPG Kit.app/RPG Kit";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(DEVELOPER_LIBRARY_DIR)/Frameworks",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RPG Kit/RPG Kit-Prefix.pch";
+ INFOPLIST_FILE = "RPG KitTests/RPG KitTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Debug;
+ };
+ 90C2F2F31539F2C300C3BCE9 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RPG Kit.app/RPG Kit";
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(SDKROOT)/Developer/Library/Frameworks",
+ "$(DEVELOPER_LIBRARY_DIR)/Frameworks",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RPG Kit/RPG Kit-Prefix.pch";
+ INFOPLIST_FILE = "RPG KitTests/RPG KitTests-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TEST_HOST = "$(BUNDLE_LOADER)";
+ WRAPPER_EXTENSION = octest;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 90C2F2A91539F2C100C3BCE9 /* Build configuration list for PBXProject "RPG Kit" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 90C2F2EC1539F2C300C3BCE9 /* Debug */,
+ 90C2F2ED1539F2C300C3BCE9 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 90C2F2EE1539F2C300C3BCE9 /* Build configuration list for PBXNativeTarget "RPG Kit" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 90C2F2EF1539F2C300C3BCE9 /* Debug */,
+ 90C2F2F01539F2C300C3BCE9 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 90C2F2F11539F2C300C3BCE9 /* Build configuration list for PBXNativeTarget "RPG KitTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 90C2F2F21539F2C300C3BCE9 /* Debug */,
+ 90C2F2F31539F2C300C3BCE9 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+
+/* Begin XCVersionGroup section */
+ 90C2F2C71539F2C100C3BCE9 /* RPG_Kit.xcdatamodeld */ = {
+ isa = XCVersionGroup;
+ children = (
+ 90C2F2C81539F2C100C3BCE9 /* RPG_Kit.xcdatamodel */,
+ );
+ currentVersion = 90C2F2C81539F2C100C3BCE9 /* RPG_Kit.xcdatamodel */;
+ path = RPG_Kit.xcdatamodeld;
+ sourceTree = "<group>";
+ versionGroupType = wrapper.xcdatamodel;
+ };
+/* End XCVersionGroup section */
+ };
+ rootObject = 90C2F2A61539F2C100C3BCE9 /* Project object */;
+}
View
7 RPG Kit.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:RPG Kit.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN ...odeproj/project.xcworkspace/xcuserdata/philipr.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
View
10 ...xcodeproj/project.xcworkspace/xcuserdata/philipr.xcuserdatad/WorkspaceSettings.xcsettings
@@ -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>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
+ <true/>
+ <key>SnapshotAutomaticallyBeforeSignificantChanges</key>
+ <false/>
+</dict>
+</plist>
View
254 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
@@ -0,0 +1,254 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+ type = "1"
+ version = "1.0">
+ <FileBreakpoints>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357651865.90248"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "1119"
+ endingLineNumber = "1119"
+ landmarkName = "@implementation OCGameDataController"
+ landmarkType = "3">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/MainViewController.m"
+ timestampString = "357652166.256549"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "131"
+ endingLineNumber = "131"
+ landmarkName = "-tableView:didSelectRowAtIndexPath:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameMetadataViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "179"
+ endingLineNumber = "179"
+ landmarkName = "-keyboardWasShown:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "303"
+ endingLineNumber = "303"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "309"
+ endingLineNumber = "309"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "468"
+ endingLineNumber = "468"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "173"
+ endingLineNumber = "173"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "451"
+ endingLineNumber = "451"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectSelectionViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "136"
+ endingLineNumber = "136"
+ landmarkName = "-tableView:cellForRowAtIndexPath:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectSelectionViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "129"
+ endingLineNumber = "129"
+ landmarkName = "-tableView:cellForRowAtIndexPath:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectSelectionViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "123"
+ endingLineNumber = "123"
+ landmarkName = "-tableView:numberOfRowsInSection:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357651865.90248"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "1059"
+ endingLineNumber = "1059"
+ landmarkName = "-createAbilitiesForPlayer"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "347"
+ endingLineNumber = "347"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectLinkerViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "80"
+ endingLineNumber = "80"
+ landmarkName = "-viewWillAppear:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectLinkerViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "77"
+ endingLineNumber = "77"
+ landmarkName = "-viewWillAppear:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/GameObjectLinkerViewController.m"
+ timestampString = "357498116.599249"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "152"
+ endingLineNumber = "152"
+ landmarkName = "-doneAction:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357651865.90248"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "988"
+ endingLineNumber = "988"
+ landmarkName = "-retrieveEntities:relatedToObject:viaRelationship:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357651865.90248"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "985"
+ endingLineNumber = "985"
+ landmarkName = "@implementation OCGameDataController"
+ landmarkType = "3">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "RPG Kit/OCGameDataController.m"
+ timestampString = "357509666.839561"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "471"
+ endingLineNumber = "471"
+ landmarkName = "-populateSampleGame:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ </FileBreakpoints>
+</Bucket>
View
95 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcschemes/RPG Kit.xcscheme
@@ -0,0 +1,95 @@
+<?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 = "90C2F2AE1539F2C100C3BCE9"
+ BuildableName = "RPG Kit.app"
+ BlueprintName = "RPG Kit"
+ ReferencedContainer = "container:RPG Kit.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ <TestableReference
+ skipped = "NO">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90C2F2DA1539F2C300C3BCE9"
+ BuildableName = "RPG KitTests.octest"
+ BlueprintName = "RPG KitTests"
+ ReferencedContainer = "container:RPG Kit.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90C2F2AE1539F2C100C3BCE9"
+ BuildableName = "RPG Kit.app"
+ BlueprintName = "RPG Kit"
+ ReferencedContainer = "container:RPG Kit.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90C2F2AE1539F2C100C3BCE9"
+ BuildableName = "RPG Kit.app"
+ BlueprintName = "RPG Kit"
+ ReferencedContainer = "container:RPG Kit.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "90C2F2AE1539F2C100C3BCE9"
+ BuildableName = "RPG Kit.app"
+ BlueprintName = "RPG Kit"
+ ReferencedContainer = "container:RPG Kit.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
27 RPG Kit.xcodeproj/xcuserdata/philipr.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,27 @@
+<?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>RPG Kit.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>90C2F2AE1539F2C100C3BCE9</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ <key>90C2F2DA1539F2C300C3BCE9</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
27 RPG Kit/AppDelegate.h
@@ -0,0 +1,27 @@
+//
+// AppDelegate.h
+// RPG Kit
+//
+// Created by Philip Regan on 4/14/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@class MainViewController;
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+@property (strong, nonatomic) UINavigationController *navigationController;
+
+@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
+@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
+@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
+
+- (void)saveContext;
+- (NSURL *)applicationDocumentsDirectory;
+
+@property (strong, nonatomic) MainViewController *mainViewController;
+
+@end
View
201 RPG Kit/AppDelegate.m
@@ -0,0 +1,201 @@
+//
+// AppDelegate.m
+// RPG Kit
+//
+// Created by Philip Regan on 4/14/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+#import "MainViewController.h"
+
+#import "OCGameDataController.h"
+
+@interface AppDelegate ()
+
+@property (strong, nonatomic, readwrite) OCGameDataController *gameDataController;
+
+@end
+
+@implementation AppDelegate
+
+@synthesize window = _window;
+@synthesize navigationController = _navigationController;
+@synthesize managedObjectContext = __managedObjectContext;
+@synthesize managedObjectModel = __managedObjectModel;
+@synthesize persistentStoreCoordinator = __persistentStoreCoordinator;
+@synthesize mainViewController = _mainViewController;
+@synthesize gameDataController = _gameDataController;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+ // Override point for customization after application launch.
+
+ // create a game controller and ensure at lease data gets loaded.
+ self.gameDataController = [[OCGameDataController alloc] initWithManagedObjectContext:self.managedObjectContext];
+
+ if ( ![self.gameDataController dataStoreIsPopulated] ) {
+ if ( ![self.gameDataController populateDefaults] ) {
+ return NO;
+ }
+ }
+
+ // set up the root view controller for the app
+ self.mainViewController = [[MainViewController alloc] initWithNibName:@"MainViewController" bundle:nil];
+ self.mainViewController.managedObjectContext = self.managedObjectContext;
+ self.mainViewController.gameDataController = self.gameDataController;
+
+ // set up a navigation controller to help manage navigation
+ self.navigationController = [[UINavigationController alloc] initWithRootViewController:self.mainViewController];
+ self.window.rootViewController = self.navigationController;
+ self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor];
+
+ // push into view
+ [self.window makeKeyAndVisible];
+ 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.
+ [self.gameDataController updateChanges];
+}
+
+- (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.gameDataController updateChanges];
+}
+
+- (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.
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application
+{
+ // Saves changes in the application's managed object context before the application terminates.
+ [self.gameDataController updateChanges];
+
+ [self saveContext];
+}
+
+- (void)saveContext
+{
+ NSError *error = nil;
+ NSManagedObjectContext *managedObjectContext = self.managedObjectContext;
+ if (managedObjectContext != nil) {
+ if ([managedObjectContext hasChanges] && ![managedObjectContext save:&error]) {
+ // Replace this implementation with code to handle the error appropriately.
+ // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
+ NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
+ abort();
+ }
+ }
+}
+
+#pragma mark - Core Data stack
+
+// Returns the managed object context for the application.
+// If the context doesn't already exist, it is created and bound to the persistent store coordinator for the application.
+- (NSManagedObjectContext *)managedObjectContext
+{
+ if (__managedObjectContext != nil) {
+ return __managedObjectContext;
+ }
+
+ NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator];
+ if (coordinator != nil) {
+ __managedObjectContext = [[NSManagedObjectContext alloc] init];
+ [__managedObjectContext setPersistentStoreCoordinator:coordinator];
+ }
+ return __managedObjectContext;
+}
+
+// Returns the managed object model for the application.
+// If the model doesn't already exist, it is created from the application's model.
+- (NSManagedObjectModel *)managedObjectModel
+{
+ if (__managedObjectModel != nil) {
+ return __managedObjectModel;
+ }
+ NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"RPG_Kit" withExtension:@"momd"];
+ __managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];
+ return __managedObjectModel;
+}
+
+// Returns the persistent store coordinator for the application.
+// If the coordinator doesn't already exist, it is created and the application's store added to it.
+- (NSPersistentStoreCoordinator *)persistentStoreCoordinator
+{
+ if (__persistentStoreCoordinator != nil) {
+ return __persistentStoreCoordinator;
+ }
+
+ NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"RPG_Kit.sqlite"];
+
+ /*
+ ¡¡¡ DANGER, SEÑOR ROBINSON !!!
+ For testing purposes, we nuke the database from orbit because this is faster
+ than cleaning the simulator and build in the initial stages of development.
+ It's the only way to be sure. With great power comes great responsibility.
+ */
+
+ //[[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil];
+
+ /*
+ ¡¡¡ END OF DANGER !!!
+ */
+
+ NSError *error = nil;
+ __persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]];
+ if (![__persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:nil error:&error]) {
+ /*
+ Replace this implementation with code to handle the error appropriately.
+
+ abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
+
+ Typical reasons for an error here include:
+ * The persistent store is not accessible;
+ * The schema for the persistent store is incompatible with current managed object model.
+ Check the error message to determine what the actual problem was.
+
+
+ If the persistent store is not accessible, there is typically something wrong with the file path. Often, a file URL is pointing into the application's resources directory instead of a writeable directory.
+
+ If you encounter schema incompatibility errors during development, you can reduce their frequency by:
+ * Simply deleting the existing store:
+ [[NSFileManager defaultManager] removeItemAtURL:storeURL error:nil]
+
+ * Performing automatic lightweight migration by passing the following dictionary as the options parameter:
+ [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], NSMigratePersistentStoresAutomaticallyOption, [NSNumber numberWithBool:YES], NSInferMappingModelAutomaticallyOption, nil];
+
+ Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details.
+
+ */
+ NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
+ abort();
+ }
+
+ return __persistentStoreCoordinator;
+}
+
+#pragma mark - Application's Documents directory
+
+// Returns the URL to the application's Documents directory.
+- (NSURL *)applicationDocumentsDirectory
+{
+ return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
+}
+
+@end
View
28 RPG Kit/FlipsideViewController.h
@@ -0,0 +1,28 @@
+//
+// FlipsideViewController.h
+// RPG Kit
+//
+// Created by Philip Regan on 4/14/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "OCGameDataController.h"
+
+@class FlipsideViewController;
+
+@protocol FlipsideViewControllerDelegate
+- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
+@end
+
+@interface FlipsideViewController : UIViewController
+
+@property (weak, nonatomic) id <FlipsideViewControllerDelegate> delegate;
+
+@property (strong, nonatomic, readwrite) OCGameDataController *gameDataController;
+
+- (IBAction)done:(id)sender;
+- (IBAction)resetGames:(id)sender;
+
+@end
View
56 RPG Kit/FlipsideViewController.m
@@ -0,0 +1,56 @@
+//
+// FlipsideViewController.m
+// RPG Kit
+//
+// Created by Philip Regan on 4/14/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import "FlipsideViewController.h"
+
+@interface FlipsideViewController ()
+
+@end
+
+@implementation FlipsideViewController
+
+@synthesize delegate = _delegate;
+@synthesize gameDataController = _gameDataController;
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ }
+ return self;
+}
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+}
+
+- (void)viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
+}
+
+#pragma mark - Actions
+
+- (IBAction)done:(id)sender
+{
+ [self.delegate flipsideViewControllerDidFinish:self];
+}
+
+- (IBAction)resetGames:(id)sender {
+ [self.gameDataController resetGames];
+}
+
+@end
View
29 RPG Kit/GameComponentSelectorViewController.h
@@ -0,0 +1,29 @@
+//
+// GameComponentSelectorViewController.h
+// RPG Kit
+//
+// Created by Philip Regan on 4/16/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+/*
+ The Game Compontent View Controller provides a simple table view for all editable
+ components within a given game.
+ */
+
+#import <UIKit/UIKit.h>
+
+#import "OCStrings.h"
+#import "OCGameDataController.h"
+
+@interface GameComponentSelectorViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UINavigationControllerDelegate, UINavigationBarDelegate, UIAlertViewDelegate>
+
+#pragma mark - Game Data
+
+@property (strong, nonatomic, readwrite) OCGameDataController *gameDataController;
+
+#pragma mark - Interface elements
+
+@property (weak, nonatomic) IBOutlet UITableView *tableView;
+
+@end
View
204 RPG Kit/GameComponentSelectorViewController.m
@@ -0,0 +1,204 @@
+//
+// GameComponentSelectorViewController.m
+// RPG Kit
+//
+// Created by Philip Regan on 4/16/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import "GameComponentSelectorViewController.h"
+#import "GameMetadataViewController.h"
+#import "PlayerMetadataViewController.h"
+#import "GameObjectSelectionViewController.h"
+
+#pragma mark - Interface Constants
+
+enum COMPONENT_INDEX {
+ GAME_INDEX = 0,
+ PLAYER_INDEX,
+ TASKS_INDEX
+};
+
+@interface GameComponentSelectorViewController ()
+
+@property (strong, nonatomic, readwrite) NSMutableArray *gameComponents;
+
+@end
+
+@implementation GameComponentSelectorViewController
+
+@synthesize gameDataController = _gameDataController;
+@synthesize tableView = _tableView;
+@synthesize gameComponents = _gameComponents;
+
+#pragma mark - Object Lifecycle Stack
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // this is largely a manual task since the data shown isn't dynamic
+ self.gameComponents = [NSMutableArray arrayWithObjects:
+ @"Game",
+ @"Player",
+ @"Tasks",
+ nil];
+ }
+ return self;
+}
+
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+
+}
+
+- (void)viewDidUnload
+{
+ [self setTableView:nil];
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+#pragma mark NavigationController Stack
+
+-(void) viewWillAppear:(BOOL)animated {
+ [self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:animated];
+ self.title = [self.gameDataController.currentUniverse valueForKey:OCAttributeTitleStory];
+ self.navigationController.delegate = self;
+}
+
+- (void)viewWillDisappear:(BOOL)animated {
+ self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"OCGameComponentBackButton", @"")
+ style:UIBarButtonItemStyleBordered
+ target:nil
+ action:nil];
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ return (interfaceOrientation == UIInterfaceOrientationPortrait);
+}
+
+#pragma mark - Table View Stack
+
+/*
+ required by UITableViewDelegate and UITableViewDataSource
+ */
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
+ return [self.gameComponents count];
+}
+
+/*
+ required by UITableViewDelegate and UITableViewDataSource
+ */
+
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
+
+ static NSString *cellID = @"GameComponentCell";
+
+ UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
+ if ( !cell ) {
+ cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:cellID];
+ }
+
+ cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
+
+ // set the label for the cell by the index
+ switch ( indexPath.row ) {
+ case GAME_INDEX:
+ cell.textLabel.text = NSLocalizedString(@"OCGameComponentGame", @"");
+ break;
+ case PLAYER_INDEX:
+ cell.textLabel.text = NSLocalizedString(@"OCGameComponentPlayer", @"");
+ break;
+ case TASKS_INDEX:
+ cell.textLabel.text = NSLocalizedString(@"OCGameComponentTask", @"");
+ break;
+ default:
+ break;
+ }
+
+
+ return cell;
+
+}
+
+/*
+ required by UITableViewDelegate to capture clicks
+ */
+- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
+
+ // set up the appropriate view by the row clicked
+ switch ( indexPath.row ) {
+ case GAME_INDEX:
+ [self pushGameMetadataView];
+ break;
+ case PLAYER_INDEX:
+ [self pushPlayerMetadataView];
+ break;
+ case TASKS_INDEX:
+ [self pushTasksMetadataView];
+ break;
+ default:
+ break;
+ }
+}
+
+#pragma mark - Action Stack
+
+/*
+ since we can't have object instantiation within a switch statement (I know, right?)
+ we have the below helper methods for pushing views according to the component
+ selected by the user
+ */
+
+/*
+ Helper method to push to the game metadata view
+*/
+- (void)pushGameMetadataView {
+ GameMetadataViewController *gameMetadataViewController = [[GameMetadataViewController alloc] initWithNibName:@"GameMetadataViewController" bundle:nil];
+ gameMetadataViewController.gameDataController = self.gameDataController;
+ [self.navigationController pushViewController:gameMetadataViewController animated:YES];
+}
+
+/*
+ Helper method to push to the player metadata view
+ */
+- (void)pushPlayerMetadataView {
+ PlayerMetadataViewController *playerMetadataViewController = [[PlayerMetadataViewController alloc] initWithNibName:@"PlayerMetadataViewController" bundle:nil];
+ playerMetadataViewController.gameDataController = self.gameDataController;
+ [self.navigationController pushViewController:playerMetadataViewController animated:YES];
+}
+
+/*
+ DEPRECATED AS EQUIPMENT NOT IMPLEMENTED
+ Helper method to push to the equipment metadata view
+ */
+- (void)pushEquipmentMetadataView {
+ UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Sorry!"
+ message:@"Equipment has not been implemented yet"
+ delegate:self
+ cancelButtonTitle:@"Bummer"
+ otherButtonTitles:nil];
+ [alertView show];
+ [self.tableView deselectRowAtIndexPath:self.tableView.indexPathForSelectedRow animated:YES];
+}
+
+/*
+ Helper method to push to the tasks metadata view
+ */
+- (void)pushTasksMetadataView {
+ GameObjectSelectionViewController *gameObjectSelectionViewController = [[GameObjectSelectionViewController alloc] initWithNibName:@"GameObjectSelectionViewController" bundle:nil];
+ gameObjectSelectionViewController.gameDataController = self.gameDataController;
+ // because
+ gameObjectSelectionViewController.targetEntity = nil;
+ gameObjectSelectionViewController.targetRelationship = OCRelationshipQuests;
+ gameObjectSelectionViewController.targetParent = self.gameDataController.currentUniverse;
+ [self.navigationController pushViewController:gameObjectSelectionViewController animated:YES];
+}
+
+@end
View
192 RPG Kit/GameComponentSelectorViewController.xib
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1296</int>
+ <string key="IBDocument.SystemVersion">11D50b</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2182</string>
+ <string key="IBDocument.AppKitVersion">1138.32</string>
+ <string key="IBDocument.HIToolboxVersion">568.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">1179</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIView</string>
+ <string>IBUITableView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <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="191373211">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <array class="NSMutableArray" key="NSSubviews">
+ <object class="IBUITableView" id="945618750">
+ <reference key="NSNextResponder" ref="191373211"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, -5}, {320, 465}}</string>
+ <reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIAlwaysBounceVertical">YES</bool>
+ <int key="IBUISeparatorStyle">1</int>
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
+ <float key="IBUIRowHeight">44</float>
+ <float key="IBUISectionHeaderHeight">22</float>
+ <float key="IBUISectionFooterHeight">22</float>
+ </object>
+ </array>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <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>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
+ <int key="IBUIStatusBarStyle">2</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="191373211"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">tableView</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="945618750"/>
+ </object>
+ <int key="connectionID">7</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="945618750"/>
+ <reference key="destination" ref="372490531"/>
+ </object>
+ <int key="connectionID">5</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">dataSource</string>
+ <reference key="source" ref="945618750"/>
+ <reference key="destination" ref="372490531"/>
+ </object>
+ <int key="connectionID">6</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1</int>
+ <reference key="object" ref="191373211"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="945618750"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </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">4</int>
+ <reference key="object" ref="945618750"/>
+ <reference key="parent" ref="191373211"/>
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">GameComponentSelectorViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+ <nil key="activeLocalization"/>
+ <dictionary class="NSMutableDictionary" key="localizations"/>
+ <nil key="sourceID"/>
+ <int key="maxID">7</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">GameComponentSelectorViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">tableView</string>
+ <string key="NS.object.0">UITableView</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">tableView</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">tableView</string>
+ <string key="candidateClassName">UITableView</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/GameComponentSelectorViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <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>
+ <real value="1296" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key=