joybox 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +3 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +4 -4
- data/README.md +66 -22
- data/Rakefile +22 -4
- data/app/ios/app_delegate.rb +48 -0
- data/app/osx/app_delegate.rb +26 -0
- data/app/osx/layers/game_layer.rb +5 -0
- data/app/osx/menu.rb +51 -0
- data/command/command/image.rb +26 -0
- data/command/command/string.rb +15 -0
- data/command/command/template.rb +59 -0
- data/command/command/tmx.rb +75 -0
- data/command/joybox_generate_command.rb +64 -110
- data/command/joybox_retina_command.rb +87 -0
- data/command/{joybox/templates → templates}/layer.erb +0 -0
- data/command/{joybox/templates → templates}/layer_spec.erb +0 -0
- data/command/{joybox/templates → templates}/scene.erb +0 -0
- data/command/{joybox/templates → templates}/scene_spec.erb +0 -0
- data/command/{joybox/templates → templates}/sprite.erb +0 -0
- data/command/{joybox/templates → templates}/sprite_spec.erb +0 -0
- data/ext/extconf.rb +34 -0
- data/joybox.gemspec +103 -50
- data/lib/joybox.rb +2 -0
- data/lib/joybox/joybox-ios.rb +18 -3
- data/lib/joybox/joybox-osx.rb +18 -2
- data/lib/joybox/version.rb +1 -1
- data/motion/joybox-ios/common/cg_point.rb +46 -16
- data/motion/joybox-ios/common/device.rb +56 -0
- data/motion/joybox-ios/common/ui_touch.rb +0 -2
- data/motion/joybox-ios/configuration/configuration.rb +10 -40
- data/motion/joybox-ios/configuration/file_utils.rb +0 -4
- data/motion/joybox-ios/configuration/gl_view.rb +14 -20
- data/motion/joybox-ios/configuration/texture_2d.rb +0 -4
- data/motion/joybox-ios/core/layer.rb +2 -8
- data/motion/joybox-ios/debug/proxy_view.rb +5 -5
- data/motion/joybox-ios/debug/{node.rb → repl.rb} +25 -19
- data/motion/joybox-ios/director.rb +15 -4
- data/motion/joybox-osx/common/ats_point.rb +45 -15
- data/motion/joybox-osx/common/device.rb +30 -0
- data/motion/joybox-osx/common/ns_event.rb +0 -1
- data/motion/joybox-osx/configuration/configuration.rb +6 -26
- data/motion/joybox-osx/configuration/gl_view.rb +16 -14
- data/motion/joybox-osx/core/layer.rb +45 -26
- data/motion/joybox-osx/debug/proxy_view.rb +5 -5
- data/motion/joybox-osx/debug/{node.rb → repl.rb} +13 -7
- data/motion/joybox-osx/director.rb +4 -3
- data/motion/joybox/actions/animate.rb +0 -1
- data/motion/joybox/actions/bezier.rb +2 -9
- data/motion/joybox/actions/blink.rb +1 -4
- data/motion/joybox/actions/callback.rb +19 -0
- data/motion/joybox/actions/d3/flip.rb +27 -0
- data/motion/joybox/actions/d3/jump.rb +30 -0
- data/motion/joybox/actions/d3/lens.rb +30 -0
- data/motion/joybox/actions/d3/shake.rb +32 -0
- data/motion/joybox/actions/d3/shatter.rb +30 -0
- data/motion/joybox/actions/d3/wave.rb +33 -0
- data/motion/joybox/actions/delay.rb +19 -0
- data/motion/joybox/actions/ease.rb +3 -21
- data/motion/joybox/actions/fade.rb +30 -6
- data/motion/joybox/actions/jump.rb +0 -5
- data/motion/joybox/actions/liquid.rb +28 -0
- data/motion/joybox/actions/move.rb +2 -9
- data/motion/joybox/actions/place.rb +0 -2
- data/motion/joybox/actions/repeat.rb +0 -2
- data/motion/joybox/actions/rotate.rb +2 -9
- data/motion/joybox/actions/scale.rb +2 -9
- data/motion/joybox/actions/sequence.rb +0 -1
- data/motion/joybox/actions/shuffle.rb +26 -0
- data/motion/joybox/actions/skew.rb +2 -11
- data/motion/joybox/actions/spawn.rb +0 -1
- data/motion/joybox/actions/split.rb +24 -0
- data/motion/joybox/actions/tint.rb +0 -5
- data/motion/joybox/actions/turn.rb +24 -0
- data/motion/joybox/actions/twirl.rb +30 -0
- data/motion/joybox/actions/visibility.rb +21 -0
- data/motion/joybox/actions/wave.rb +32 -0
- data/motion/joybox/animations/animation.rb +7 -11
- data/motion/joybox/audio/audio.rb +31 -0
- data/motion/joybox/audio/audio_effect.rb +69 -0
- data/motion/joybox/audio/background_audio.rb +77 -0
- data/motion/joybox/common/{gc_size.rb → cg_size.rb} +13 -12
- data/motion/joybox/common/color.rb +4 -13
- data/motion/joybox/common/initialize.rb +11 -0
- data/motion/joybox/common/ns_array.rb +15 -0
- data/motion/joybox/common/ns_string.rb +7 -0
- data/motion/joybox/common/numeric.rb +13 -4
- data/motion/joybox/common/screen.rb +4 -12
- data/motion/joybox/configuration/debug.rb +29 -0
- data/motion/joybox/core/layer.rb +0 -24
- data/motion/joybox/core/layer_color.rb +47 -0
- data/motion/joybox/core/node.rb +18 -8
- data/motion/joybox/core/scene.rb +0 -5
- data/motion/joybox/core/sprite.rb +43 -25
- data/motion/joybox/core/sprite_batch.rb +15 -6
- data/motion/joybox/core/sprite_frame_cache.rb +9 -58
- data/motion/joybox/debug/physics.rb +40 -0
- data/motion/joybox/debug/physics_draw.rb +191 -0
- data/motion/joybox/joybox.rb +9 -1
- data/motion/joybox/macros.rb +13 -13
- data/motion/joybox/physics/aabb.rb +28 -0
- data/motion/joybox/physics/body.rb +163 -68
- data/motion/joybox/physics/chain_shape.rb +71 -0
- data/motion/joybox/physics/circle_shape.rb +31 -0
- data/motion/joybox/physics/edge_shape.rb +37 -0
- data/motion/joybox/physics/filter.rb +17 -0
- data/motion/joybox/physics/fixture.rb +52 -0
- data/motion/joybox/physics/mass_data.rb +19 -0
- data/motion/joybox/physics/physics_sprite.rb +50 -16
- data/motion/joybox/physics/polygon_shape.rb +54 -0
- data/motion/joybox/physics/profile.rb +14 -0
- data/motion/joybox/physics/ray_cast_input.rb +30 -0
- data/motion/joybox/physics/ray_cast_output.rb +17 -0
- data/motion/joybox/physics/shape.rb +61 -0
- data/motion/joybox/physics/transform.rb +17 -0
- data/motion/joybox/physics/world.rb +101 -30
- data/motion/joybox/tmx/object_layer.rb +12 -0
- data/motion/joybox/tmx/tile_layer.rb +74 -0
- data/motion/joybox/tmx/tile_map.rb +112 -0
- data/motion/joybox/tmx/tile_set.rb +26 -0
- data/motion/joybox/tmx/tmx.rb +16 -0
- data/motion/joybox/ui/label.rb +44 -16
- data/motion/joybox/ui/menu.rb +7 -9
- data/motion/joybox/ui/menu_image.rb +11 -8
- data/motion/joybox/ui/menu_label.rb +14 -13
- data/resources/Default-568h@2x.png +0 -0
- data/resources/animation_frames-hd.plist +126 -0
- data/resources/animation_frames-ipadhd.plist +126 -0
- data/resources/animation_frames.plist +126 -0
- data/resources/animation_sprite_sheet-hd.png +0 -0
- data/resources/animation_sprite_sheet-ipadhd.png +0 -0
- data/resources/animation_sprite_sheet.png +0 -0
- data/resources/fps_images-hd.png +0 -0
- data/resources/fps_images-ipadhd.png +0 -0
- data/resources/fps_images.png +0 -0
- data/resources/sprite.png +0 -0
- data/resources/sprite_inverted.png +0 -0
- data/resources/sprite_sheet.png +0 -0
- data/spec/motion/joybox-ios/common/screen_spec.rb +21 -0
- data/spec/{main_spec.rb → motion/joybox-ios/main_spec.rb} +6 -2
- data/spec/motion/joybox-ios/ui/label_spec.rb +20 -0
- data/spec/motion/joybox-ios/ui/menu_label_spec.rb +15 -0
- data/spec/motion/joybox-ios/ui/menu_spec.rb +87 -0
- data/spec/motion/joybox-osx/common/screen_spec.rb +21 -0
- data/spec/motion/joybox-osx/main_spec.rb +13 -0
- data/spec/motion/joybox-osx/ui/label_spec.rb +18 -0
- data/spec/motion/joybox-osx/ui/menu_label_spec.rb +13 -0
- data/spec/motion/joybox-osx/ui/menu_spec.rb +87 -0
- data/spec/motion/joybox/actions/actions_spec.rb +11 -0
- data/spec/motion/joybox/actions/bezier_spec.rb +37 -0
- data/spec/motion/joybox/actions/blink_spec.rb +16 -0
- data/spec/motion/joybox/actions/fade_spec.rb +49 -0
- data/spec/motion/joybox/actions/jump_spec.rb +37 -0
- data/spec/motion/joybox/actions/move_spec.rb +37 -0
- data/spec/motion/joybox/actions/place_spec.rb +12 -0
- data/spec/motion/joybox/actions/rotate_spec.rb +35 -0
- data/spec/motion/joybox/actions/scale_spec.rb +43 -0
- data/spec/motion/joybox/actions/skew_spec.rb +43 -0
- data/spec/motion/joybox/common/cg_size_spec.rb +29 -0
- data/spec/motion/joybox/common/color_spec.rb +31 -0
- data/spec/motion/joybox/common/ns_string_spec.rb +8 -0
- data/spec/motion/joybox/common/numeric_spec.rb +13 -0
- data/spec/motion/joybox/core/node_spec.rb +36 -0
- data/spec/motion/joybox/core/sprite_batch_spec.rb +34 -0
- data/spec/motion/joybox/core/sprite_frame_cache_spec.rb +111 -0
- data/spec/motion/joybox/core/sprite_spec.rb +121 -0
- data/spec/motion/joybox/macros_spec.rb +280 -0
- data/spec/motion/joybox/physics/aabb_spec.rb +17 -0
- data/spec/motion/joybox/physics/body_spec.rb +318 -0
- data/spec/motion/joybox/physics/chain_shape_spec.rb +80 -0
- data/spec/motion/joybox/physics/circle_shape_spec.rb +63 -0
- data/spec/motion/joybox/physics/edge_shape_spec.rb +48 -0
- data/spec/motion/joybox/physics/fixture_spec.rb +106 -0
- data/spec/motion/joybox/physics/mass_data_spec.rb +13 -0
- data/spec/motion/joybox/physics/physics_sprite_spec.rb +50 -0
- data/spec/motion/joybox/physics/polygon_shape_spec.rb +92 -0
- data/spec/motion/joybox/physics/ray_cast_input_spec.rb +17 -0
- data/spec/motion/joybox/physics/ray_cast_output_spec.rb +13 -0
- data/spec/motion/joybox/physics/shape_spec.rb +50 -0
- data/spec/motion/joybox/physics/transform_spec.rb +13 -0
- data/spec/motion/joybox/physics/world_spec.rb +228 -0
- data/spec/motion/joybox/ui/label_spec.rb +53 -0
- data/spec/motion/joybox/ui/menu_image_spec.rb +51 -0
- data/spec/motion/joybox/ui/menu_label_spec.rb +68 -0
- data/spec/motion/joybox/ui/menu_spec.rb +26 -0
- data/spec/spec_helpers/cg_point.rb +5 -0
- data/spec/spec_helpers/cg_point_spec.rb +14 -0
- data/template/joybox-ios-example-repl/files/.gitignore +16 -0
- data/template/joybox-ios/files/.gitignore +16 -0
- data/template/joybox-osx-example-repl/files/.gitignore +16 -0
- data/template/joybox-osx/files/.gitignore +16 -0
- data/vendor/vendor-ios/box_2d/box_2d.bridgesupport +1201 -85
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DAABB.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBody.h +58 -13
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyDef.h +44 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DChainShape.h +29 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DCircleShape.h +7 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DColor.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactFilter.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h +1 -1
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DDraw.h +54 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFilter.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixture.h +47 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DMassData.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DProfile.h +31 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DShape.h +23 -3
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DTransform.h +21 -0
- data/vendor/vendor-ios/box_2d/box_2d_include/B2DWorld.h +40 -19
- data/vendor/vendor-ios/box_2d/libBox2D.a +0 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d.bridgesupport +808 -1578
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/ccTypes.h +51 -1
- data/vendor/vendor-ios/cocos_2d/libcocos2d.a +0 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
- data/vendor/vendor-ios/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
- data/vendor/vendor-ios/cocos_builder_reader/libCocosBuilderReader.a +0 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
- data/vendor/vendor-ios/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
- data/vendor/vendor-ios/cocos_denshion/libCocosDenshion.a +0 -0
- data/vendor/vendor-ios/kazmath/kazmath.bridgesupport +865 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/GL/mat4stack.h +51 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/GL/matrix.h +58 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/aabb.h +53 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/kazmath.h +39 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/mat3.h +75 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/mat4.h +93 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/plane.h +70 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/quaternion.h +113 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/ray2.h +50 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/utility.h +74 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec2.h +64 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec3.h +68 -0
- data/vendor/vendor-ios/kazmath/kazmath_include/vec4.h +68 -0
- data/vendor/vendor-ios/kazmath/libkazmath.a +0 -0
- data/vendor/vendor-osx/box_2d/box_2d.bridgesupport +1199 -83
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DAABB.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBody.h +58 -13
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyDef.h +44 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DBodyTypes.h +20 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DChainShape.h +29 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DCircleShape.h +7 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DColor.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactFilter.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h +1 -1
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DDestructionListener.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DDraw.h +54 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DEdgeShape.h +13 -2
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFilter.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixture.h +47 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DFixtureDef.h +29 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DMassData.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DPolygonShape.h +14 -1
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DProfile.h +31 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DQueryCallback.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastCallback.h +24 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastInput.h +23 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DRayCastOutput.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DShape.h +23 -3
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DShapeTypes.h +22 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DTransform.h +21 -0
- data/vendor/vendor-osx/box_2d/box_2d_include/B2DWorld.h +40 -19
- data/vendor/vendor-osx/box_2d/libBox2D.a +0 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d.bridgesupport +2820 -2633
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCActionEase.h +47 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCFontDefinition.h +85 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCLabelTTF.h +54 -6
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCMenuItem.h +1 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTMXLayer.h +2 -2
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/CCTexture2D.h +4 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCDirectorIOS.h +111 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCES2Renderer.h +83 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCESRenderer.h +54 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCGLView.h +175 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDelegateProtocol.h +75 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchDispatcher.h +120 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/Platforms/iOS/CCTouchHandler.h +93 -0
- data/vendor/vendor-osx/cocos_2d/cocos_2d_include/ccTypes.h +65 -1
- data/vendor/vendor-osx/cocos_2d/libcocos2d.a +0 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader.bridgesupport +510 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBAnimationManager.h +149 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBKeyframe.h +40 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBReader.h +176 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequence.h +49 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCBSequenceProperty.h +38 -0
- data/vendor/vendor-osx/cocos_builder_reader/cocos_builder_reader_include/CCNode+CCBRelativePositioning.h +65 -0
- data/vendor/vendor-osx/cocos_builder_reader/libCocosBuilderReader.a +0 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion.bridgesupport +1001 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDAudioManager.h +243 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDConfig.h +60 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDOpenALSupport.h +77 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXMacOSXSupport.h +232 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CDXPropertyModifierAction.h +45 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/CocosDenshion.h +440 -0
- data/vendor/vendor-osx/cocos_denshion/cocos_denshion_include/SimpleAudioEngine.h +90 -0
- data/vendor/vendor-osx/cocos_denshion/libCocosDenshion.a +0 -0
- data/vendor/vendor-osx/kazmath/kazmath.bridgesupport +865 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/GL/mat4stack.h +51 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/GL/matrix.h +58 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/aabb.h +53 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/kazmath.h +39 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/mat3.h +75 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/mat4.h +93 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/neon_matrix_impl.h +41 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/plane.h +70 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/quaternion.h +113 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/ray2.h +50 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/utility.h +74 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec2.h +64 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec3.h +68 -0
- data/vendor/vendor-osx/kazmath/kazmath_include/vec4.h +68 -0
- data/vendor/vendor-osx/kazmath/libkazmath.a +0 -0
- metadata +353 -57
- checksums.yaml +0 -15
- data/bin/joybox +0 -49
- data/command/joybox/USAGE +0 -24
- data/motion/joybox-ios/configuration/debug.rb +0 -27
- data/motion/joybox-ios/debug/debug.rb +0 -10
- data/motion/joybox-osx/configuration/debug.rb +0 -27
- data/motion/joybox-osx/configuration/sprite_view.rb +0 -91
- data/motion/joybox-osx/debug/debug.rb +0 -10
- data/motion/joybox/core/ns_object.rb +0 -8
- data/spec/lib/joybox/cocos2d/cocos2d_spec.rb +0 -7
- data/spec/lib/joybox/cocos2d/macros_spec.rb +0 -37
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/cocos2d-ios-exceptions.bridgesupport +0 -39
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_bridgesupport.sh +0 -17
- data/vendor/vendor-ios/cocos_2d/cocos_2d_include/gen_cocos2d_complement.sh +0 -17
|
@@ -32,8 +32,19 @@
|
|
|
32
32
|
#import <Foundation/Foundation.h>
|
|
33
33
|
#import "ccMacros.h"
|
|
34
34
|
|
|
35
|
+
#ifdef __CC_PLATFORM_IOS
|
|
36
|
+
#import <CoreGraphics/CGGeometry.h> // CGPoint
|
|
37
|
+
#endif
|
|
38
|
+
|
|
35
39
|
#import "Platforms/CCGL.h"
|
|
36
40
|
|
|
41
|
+
/** RGB color composed of bytes 3 bytes
|
|
42
|
+
@since v0.8
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
#ifdef __cplusplus
|
|
46
|
+
extern "C" {
|
|
47
|
+
#endif
|
|
37
48
|
|
|
38
49
|
typedef struct _ccColor3B
|
|
39
50
|
{
|
|
@@ -374,5 +385,58 @@ typedef CGFloat ccTime;
|
|
|
374
385
|
//typedef double ccTime;
|
|
375
386
|
|
|
376
387
|
typedef float ccMat4[16];
|
|
377
|
-
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
typedef struct _ccFontShadow
|
|
391
|
+
{
|
|
392
|
+
// true if shadow enabled
|
|
393
|
+
bool m_shadowEnabled;
|
|
394
|
+
// shadow x and y offset
|
|
395
|
+
CGSize m_shadowOffset;
|
|
396
|
+
// shadow blurrines
|
|
397
|
+
float m_shadowBlur;
|
|
398
|
+
// shadow opacity
|
|
399
|
+
float m_shadowOpacity;
|
|
400
|
+
|
|
401
|
+
} ccFontShadow;
|
|
402
|
+
|
|
403
|
+
typedef struct _ccFontStroke
|
|
404
|
+
{
|
|
405
|
+
// true if stroke enabled
|
|
406
|
+
bool m_strokeEnabled;
|
|
407
|
+
// stroke color
|
|
408
|
+
ccColor3B m_strokeColor;
|
|
409
|
+
// stroke size
|
|
410
|
+
float m_strokeSize;
|
|
411
|
+
|
|
412
|
+
} ccFontStroke;
|
|
413
|
+
|
|
414
|
+
/*
|
|
415
|
+
typedef struct _ccFontDefinition
|
|
416
|
+
{
|
|
417
|
+
// font name
|
|
418
|
+
NSString *m_fontName;
|
|
419
|
+
// font size
|
|
420
|
+
int m_fontSize;
|
|
421
|
+
// horizontal alignment
|
|
422
|
+
CCTextAlignment m_alignment;
|
|
423
|
+
// vertical alignment
|
|
424
|
+
CCVerticalTextAlignment m_vertAlignment;
|
|
425
|
+
// line break mode
|
|
426
|
+
CCLineBreakMode m_lineBreakMode;
|
|
427
|
+
// renering box
|
|
428
|
+
CGSize m_dimensions;
|
|
429
|
+
// font color
|
|
430
|
+
ccColor3B m_fontFillColor;
|
|
431
|
+
// font shadow
|
|
432
|
+
ccFontShadow m_shadow;
|
|
433
|
+
// font stroke
|
|
434
|
+
ccFontStroke m_stroke;
|
|
435
|
+
|
|
436
|
+
} ccFontDefinition;
|
|
437
|
+
*/
|
|
438
|
+
|
|
439
|
+
#ifdef __cplusplus
|
|
440
|
+
}
|
|
441
|
+
#endif
|
|
378
442
|
|
|
Binary file
|
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
<?xml version='1.0'?>
|
|
2
|
+
<signatures version='1.0'>
|
|
3
|
+
<constant name='ccbResolutionScale' type='f' declared_type='float'/>
|
|
4
|
+
<enum name='kCCBFloat0' value='0'/>
|
|
5
|
+
<enum name='kCCBFloat05' value='3'/>
|
|
6
|
+
<enum name='kCCBFloat1' value='1'/>
|
|
7
|
+
<enum name='kCCBFloatFull' value='5'/>
|
|
8
|
+
<enum name='kCCBFloatInteger' value='4'/>
|
|
9
|
+
<enum name='kCCBFloatMinus1' value='2'/>
|
|
10
|
+
<enum name='kCCBKeyframeEasingBackIn' value='11'/>
|
|
11
|
+
<enum name='kCCBKeyframeEasingBackInOut' value='13'/>
|
|
12
|
+
<enum name='kCCBKeyframeEasingBackOut' value='12'/>
|
|
13
|
+
<enum name='kCCBKeyframeEasingBounceIn' value='8'/>
|
|
14
|
+
<enum name='kCCBKeyframeEasingBounceInOut' value='10'/>
|
|
15
|
+
<enum name='kCCBKeyframeEasingBounceOut' value='9'/>
|
|
16
|
+
<enum name='kCCBKeyframeEasingCubicIn' value='2'/>
|
|
17
|
+
<enum name='kCCBKeyframeEasingCubicInOut' value='4'/>
|
|
18
|
+
<enum name='kCCBKeyframeEasingCubicOut' value='3'/>
|
|
19
|
+
<enum name='kCCBKeyframeEasingElasticIn' value='5'/>
|
|
20
|
+
<enum name='kCCBKeyframeEasingElasticInOut' value='7'/>
|
|
21
|
+
<enum name='kCCBKeyframeEasingElasticOut' value='6'/>
|
|
22
|
+
<enum name='kCCBKeyframeEasingInstant' value='0'/>
|
|
23
|
+
<enum name='kCCBKeyframeEasingLinear' value='1'/>
|
|
24
|
+
<enum name='kCCBPlatformAll' value='0'/>
|
|
25
|
+
<enum name='kCCBPlatformIOS' value='1'/>
|
|
26
|
+
<enum name='kCCBPlatformMac' value='2'/>
|
|
27
|
+
<enum name='kCCBPositionTypeMultiplyResolution' value='5'/>
|
|
28
|
+
<enum name='kCCBPositionTypePercent' value='4'/>
|
|
29
|
+
<enum name='kCCBPositionTypeRelativeBottomLeft' value='0'/>
|
|
30
|
+
<enum name='kCCBPositionTypeRelativeBottomRight' value='3'/>
|
|
31
|
+
<enum name='kCCBPositionTypeRelativeTopLeft' value='1'/>
|
|
32
|
+
<enum name='kCCBPositionTypeRelativeTopRight' value='2'/>
|
|
33
|
+
<enum name='kCCBPropTypeAnimation' value='22'/>
|
|
34
|
+
<enum name='kCCBPropTypeBlendmode' value='16'/>
|
|
35
|
+
<enum name='kCCBPropTypeBlock' value='21'/>
|
|
36
|
+
<enum name='kCCBPropTypeBlockCCControl' value='25'/>
|
|
37
|
+
<enum name='kCCBPropTypeByte' value='12'/>
|
|
38
|
+
<enum name='kCCBPropTypeCCBFile' value='23'/>
|
|
39
|
+
<enum name='kCCBPropTypeCheck' value='9'/>
|
|
40
|
+
<enum name='kCCBPropTypeColor3' value='13'/>
|
|
41
|
+
<enum name='kCCBPropTypeColor4FVar' value='14'/>
|
|
42
|
+
<enum name='kCCBPropTypeDegrees' value='5'/>
|
|
43
|
+
<enum name='kCCBPropTypeFlip' value='15'/>
|
|
44
|
+
<enum name='kCCBPropTypeFloat' value='7'/>
|
|
45
|
+
<enum name='kCCBPropTypeFloatScale' value='26'/>
|
|
46
|
+
<enum name='kCCBPropTypeFloatVar' value='8'/>
|
|
47
|
+
<enum name='kCCBPropTypeFloatXY' value='27'/>
|
|
48
|
+
<enum name='kCCBPropTypeFntFile' value='17'/>
|
|
49
|
+
<enum name='kCCBPropTypeFontTTF' value='19'/>
|
|
50
|
+
<enum name='kCCBPropTypeInteger' value='6'/>
|
|
51
|
+
<enum name='kCCBPropTypeIntegerLabeled' value='20'/>
|
|
52
|
+
<enum name='kCCBPropTypePoint' value='2'/>
|
|
53
|
+
<enum name='kCCBPropTypePointLock' value='3'/>
|
|
54
|
+
<enum name='kCCBPropTypePosition' value='0'/>
|
|
55
|
+
<enum name='kCCBPropTypeScaleLock' value='4'/>
|
|
56
|
+
<enum name='kCCBPropTypeSize' value='1'/>
|
|
57
|
+
<enum name='kCCBPropTypeSpriteFrame' value='10'/>
|
|
58
|
+
<enum name='kCCBPropTypeString' value='24'/>
|
|
59
|
+
<enum name='kCCBPropTypeText' value='18'/>
|
|
60
|
+
<enum name='kCCBPropTypeTexture' value='11'/>
|
|
61
|
+
<enum name='kCCBScaleTypeAbsolute' value='0'/>
|
|
62
|
+
<enum name='kCCBScaleTypeMultiplyResolution' value='1'/>
|
|
63
|
+
<enum name='kCCBSizeTypeAbsolute' value='0'/>
|
|
64
|
+
<enum name='kCCBSizeTypeHorizontalPercent' value='3'/>
|
|
65
|
+
<enum name='kCCBSizeTypeMultiplyResolution' value='5'/>
|
|
66
|
+
<enum name='kCCBSizeTypePercent' value='1'/>
|
|
67
|
+
<enum name='kCCBSizeTypeRelativeContainer' value='2'/>
|
|
68
|
+
<enum name='kCCBSizeTypeVerticalPercent' value='4'/>
|
|
69
|
+
<enum name='kCCBTargetTypeDocumentRoot' value='1'/>
|
|
70
|
+
<enum name='kCCBTargetTypeNone' value='0'/>
|
|
71
|
+
<enum name='kCCBTargetTypeOwner' value='2'/>
|
|
72
|
+
<enum name='kCCBVersion' value='5'/>
|
|
73
|
+
<class name='CCBAnimationManager'>
|
|
74
|
+
<method selector='addNode:andSequences:'>
|
|
75
|
+
<arg name='node' type='@' index='0' declared_type='CCNode*'/>
|
|
76
|
+
<arg name='seq' type='@' index='1' declared_type='NSDictionary*'/>
|
|
77
|
+
<retval type='v' declared_type='void'/>
|
|
78
|
+
</method>
|
|
79
|
+
<method selector='autoPlaySequenceId'>
|
|
80
|
+
<retval type='i' declared_type='int'/>
|
|
81
|
+
</method>
|
|
82
|
+
<method selector='containerSize:'>
|
|
83
|
+
<arg name='node' type='@' index='0' declared_type='CCNode*'/>
|
|
84
|
+
<retval type='{CGSize=ff}' declared_type='CGSize'/>
|
|
85
|
+
</method>
|
|
86
|
+
<method selector='debug'>
|
|
87
|
+
<retval type='v' declared_type='void'/>
|
|
88
|
+
</method>
|
|
89
|
+
<method selector='delegate'>
|
|
90
|
+
<retval type='@' declared_type='NSObject*'/>
|
|
91
|
+
</method>
|
|
92
|
+
<method selector='documentCallbackNames'>
|
|
93
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
94
|
+
</method>
|
|
95
|
+
<method selector='documentCallbackNodes'>
|
|
96
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
97
|
+
</method>
|
|
98
|
+
<method selector='documentControllerName'>
|
|
99
|
+
<retval type='@' declared_type='NSString*'/>
|
|
100
|
+
</method>
|
|
101
|
+
<method selector='documentOutletNames'>
|
|
102
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
103
|
+
</method>
|
|
104
|
+
<method selector='documentOutletNodes'>
|
|
105
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
106
|
+
</method>
|
|
107
|
+
<method selector='jsControlled'>
|
|
108
|
+
<retval type='B' declared_type='BOOL'/>
|
|
109
|
+
</method>
|
|
110
|
+
<method selector='keyframeCallbacks'>
|
|
111
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
112
|
+
</method>
|
|
113
|
+
<method selector='lastCompletedSequenceName'>
|
|
114
|
+
<retval type='@' declared_type='NSString*'/>
|
|
115
|
+
</method>
|
|
116
|
+
<method selector='moveAnimationsFromNode:toNode:'>
|
|
117
|
+
<arg name='fromNode' type='@' index='0' declared_type='CCNode*'/>
|
|
118
|
+
<arg name='toNode' type='@' index='1' declared_type='CCNode*'/>
|
|
119
|
+
<retval type='v' declared_type='void'/>
|
|
120
|
+
</method>
|
|
121
|
+
<method selector='owner'>
|
|
122
|
+
<retval type='@' declared_type='id'/>
|
|
123
|
+
</method>
|
|
124
|
+
<method selector='rootContainerSize'>
|
|
125
|
+
<retval type='{CGSize=ff}' declared_type='CGSize'/>
|
|
126
|
+
</method>
|
|
127
|
+
<method selector='rootNode'>
|
|
128
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
129
|
+
</method>
|
|
130
|
+
<method selector='runAnimationsForSequenceId:tweenDuration:'>
|
|
131
|
+
<arg name='seqId' type='i' index='0' declared_type='int'/>
|
|
132
|
+
<arg name='tweenDuration' type='f' index='1' declared_type='float'/>
|
|
133
|
+
<retval type='v' declared_type='void'/>
|
|
134
|
+
</method>
|
|
135
|
+
<method selector='runAnimationsForSequenceNamed:'>
|
|
136
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
137
|
+
<retval type='v' declared_type='void'/>
|
|
138
|
+
</method>
|
|
139
|
+
<method selector='runAnimationsForSequenceNamed:tweenDuration:'>
|
|
140
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
141
|
+
<arg name='tweenDuration' type='f' index='1' declared_type='float'/>
|
|
142
|
+
<retval type='v' declared_type='void'/>
|
|
143
|
+
</method>
|
|
144
|
+
<method selector='runningSequenceName'>
|
|
145
|
+
<retval type='@' declared_type='NSString*'/>
|
|
146
|
+
</method>
|
|
147
|
+
<method selector='sequences'>
|
|
148
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
149
|
+
</method>
|
|
150
|
+
<method selector='setAutoPlaySequenceId:'>
|
|
151
|
+
<arg name='autoPlaySequenceId' type='i' index='0' declared_type='int'/>
|
|
152
|
+
<retval type='v' declared_type='void'/>
|
|
153
|
+
</method>
|
|
154
|
+
<method selector='setBaseValue:forNode:propertyName:'>
|
|
155
|
+
<arg name='value' type='@' index='0' declared_type='id'/>
|
|
156
|
+
<arg name='node' type='@' index='1' declared_type='CCNode*'/>
|
|
157
|
+
<arg name='propName' type='@' index='2' declared_type='NSString*'/>
|
|
158
|
+
<retval type='v' declared_type='void'/>
|
|
159
|
+
</method>
|
|
160
|
+
<method selector='setCallFunc:forJSCallbackNamed:'>
|
|
161
|
+
<arg name='callFunc' type='@' index='0' declared_type='CCCallBlockN*'/>
|
|
162
|
+
<arg name='callbackNamed' type='@' index='1' declared_type='NSString*'/>
|
|
163
|
+
<retval type='v' declared_type='void'/>
|
|
164
|
+
</method>
|
|
165
|
+
<method selector='setCompletedAnimationCallbackBlock:'>
|
|
166
|
+
<arg name='b' type='@?' index='0' declared_type='void (^)(id)' function_pointer='true'>
|
|
167
|
+
<arg type='@' declared_type='id'/>
|
|
168
|
+
<retval type='v' declared_type='void'/>
|
|
169
|
+
</arg>
|
|
170
|
+
<retval type='v' declared_type='void'/>
|
|
171
|
+
</method>
|
|
172
|
+
<method selector='setDelegate:'>
|
|
173
|
+
<arg name='delegate' type='@' index='0' declared_type='NSObject*'/>
|
|
174
|
+
<retval type='v' declared_type='void'/>
|
|
175
|
+
</method>
|
|
176
|
+
<method selector='setDocumentControllerName:'>
|
|
177
|
+
<arg name='documentControllerName' type='@' index='0' declared_type='NSString*'/>
|
|
178
|
+
<retval type='v' declared_type='void'/>
|
|
179
|
+
</method>
|
|
180
|
+
<method selector='setJsControlled:'>
|
|
181
|
+
<arg name='jsControlled' type='B' index='0' declared_type='BOOL'/>
|
|
182
|
+
<retval type='v' declared_type='void'/>
|
|
183
|
+
</method>
|
|
184
|
+
<method selector='setOwner:'>
|
|
185
|
+
<arg name='owner' type='@' index='0' declared_type='id'/>
|
|
186
|
+
<retval type='v' declared_type='void'/>
|
|
187
|
+
</method>
|
|
188
|
+
<method selector='setRootContainerSize:'>
|
|
189
|
+
<arg name='rootContainerSize' type='{CGSize=ff}' index='0' declared_type='CGSize'/>
|
|
190
|
+
<retval type='v' declared_type='void'/>
|
|
191
|
+
</method>
|
|
192
|
+
<method selector='setRootNode:'>
|
|
193
|
+
<arg name='rootNode' type='@' index='0' declared_type='CCNode*'/>
|
|
194
|
+
<retval type='v' declared_type='void'/>
|
|
195
|
+
</method>
|
|
196
|
+
</class>
|
|
197
|
+
<class name='CCBKeyframe'>
|
|
198
|
+
<method selector='easingOpt'>
|
|
199
|
+
<retval type='f' declared_type='float'/>
|
|
200
|
+
</method>
|
|
201
|
+
<method selector='easingType'>
|
|
202
|
+
<retval type='i' declared_type='int'/>
|
|
203
|
+
</method>
|
|
204
|
+
<method selector='setEasingOpt:'>
|
|
205
|
+
<arg name='easingOpt' type='f' index='0' declared_type='float'/>
|
|
206
|
+
<retval type='v' declared_type='void'/>
|
|
207
|
+
</method>
|
|
208
|
+
<method selector='setEasingType:'>
|
|
209
|
+
<arg name='easingType' type='i' index='0' declared_type='int'/>
|
|
210
|
+
<retval type='v' declared_type='void'/>
|
|
211
|
+
</method>
|
|
212
|
+
<method selector='setTime:'>
|
|
213
|
+
<arg name='time' type='f' index='0' declared_type='float'/>
|
|
214
|
+
<retval type='v' declared_type='void'/>
|
|
215
|
+
</method>
|
|
216
|
+
<method selector='setValue:'>
|
|
217
|
+
<arg name='value' type='@' index='0' declared_type='id'/>
|
|
218
|
+
<retval type='v' declared_type='void'/>
|
|
219
|
+
</method>
|
|
220
|
+
<method selector='time'>
|
|
221
|
+
<retval type='f' declared_type='float'/>
|
|
222
|
+
</method>
|
|
223
|
+
<method selector='value'>
|
|
224
|
+
<retval type='@' declared_type='id'/>
|
|
225
|
+
</method>
|
|
226
|
+
</class>
|
|
227
|
+
<class name='CCBReader'>
|
|
228
|
+
<method selector='actionManager'>
|
|
229
|
+
<retval type='@' declared_type='CCBAnimationManager*'/>
|
|
230
|
+
</method>
|
|
231
|
+
<method selector='animationManagersForNodes'>
|
|
232
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
233
|
+
</method>
|
|
234
|
+
<method class_method='true' selector='ccbDirectoryPath'>
|
|
235
|
+
<retval type='@' declared_type='NSString*'/>
|
|
236
|
+
</method>
|
|
237
|
+
<method class_method='true' selector='nodeGraphFromData:owner:parentSize:'>
|
|
238
|
+
<arg name='data' type='@' index='0' declared_type='NSData*'/>
|
|
239
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
240
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
241
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
242
|
+
</method>
|
|
243
|
+
<method selector='nodeGraphFromData:owner:parentSize:'>
|
|
244
|
+
<arg name='data' type='@' index='0' declared_type='NSData*'/>
|
|
245
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
246
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
247
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
248
|
+
</method>
|
|
249
|
+
<method class_method='true' selector='nodeGraphFromFile:'>
|
|
250
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
251
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
252
|
+
</method>
|
|
253
|
+
<method selector='nodeGraphFromFile:'>
|
|
254
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
255
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
256
|
+
</method>
|
|
257
|
+
<method class_method='true' selector='nodeGraphFromFile:owner:'>
|
|
258
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
259
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
260
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
261
|
+
</method>
|
|
262
|
+
<method selector='nodeGraphFromFile:owner:'>
|
|
263
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
264
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
265
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
266
|
+
</method>
|
|
267
|
+
<method class_method='true' selector='nodeGraphFromFile:owner:parentSize:'>
|
|
268
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
269
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
270
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
271
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
272
|
+
</method>
|
|
273
|
+
<method selector='nodeGraphFromFile:owner:parentSize:'>
|
|
274
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
275
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
276
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
277
|
+
<retval type='@' declared_type='CCNode*'/>
|
|
278
|
+
</method>
|
|
279
|
+
<method selector='nodesWithAnimationManagers'>
|
|
280
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
281
|
+
</method>
|
|
282
|
+
<method selector='ownerCallbackNames'>
|
|
283
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
284
|
+
</method>
|
|
285
|
+
<method selector='ownerCallbackNodes'>
|
|
286
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
287
|
+
</method>
|
|
288
|
+
<method selector='ownerOutletNames'>
|
|
289
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
290
|
+
</method>
|
|
291
|
+
<method selector='ownerOutletNodes'>
|
|
292
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
293
|
+
</method>
|
|
294
|
+
<method class_method='true' selector='reader'>
|
|
295
|
+
<retval type='@' declared_type='CCBReader*'/>
|
|
296
|
+
</method>
|
|
297
|
+
<method class_method='true' selector='sceneWithNodeGraphFromFile:'>
|
|
298
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
299
|
+
<retval type='@' declared_type='CCScene*'/>
|
|
300
|
+
</method>
|
|
301
|
+
<method class_method='true' selector='sceneWithNodeGraphFromFile:owner:'>
|
|
302
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
303
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
304
|
+
<retval type='@' declared_type='CCScene*'/>
|
|
305
|
+
</method>
|
|
306
|
+
<method class_method='true' selector='sceneWithNodeGraphFromFile:owner:parentSize:'>
|
|
307
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
308
|
+
<arg name='owner' type='@' index='1' declared_type='id'/>
|
|
309
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
310
|
+
<retval type='@' declared_type='CCScene*'/>
|
|
311
|
+
</method>
|
|
312
|
+
<method selector='setActionManager:'>
|
|
313
|
+
<arg name='actionManager' type='@' index='0' declared_type='CCBAnimationManager*'/>
|
|
314
|
+
<retval type='v' declared_type='void'/>
|
|
315
|
+
</method>
|
|
316
|
+
<method class_method='true' selector='setResolutionScale:'>
|
|
317
|
+
<arg name='scale' type='f' index='0' declared_type='float'/>
|
|
318
|
+
<retval type='v' declared_type='void'/>
|
|
319
|
+
</method>
|
|
320
|
+
<method class_method='true' selector='setResourcePath:'>
|
|
321
|
+
<arg name='searchPath' type='@' index='0' declared_type='NSString*'/>
|
|
322
|
+
<retval type='v' declared_type='void'/>
|
|
323
|
+
</method>
|
|
324
|
+
</class>
|
|
325
|
+
<class name='CCBRotateTo'>
|
|
326
|
+
<method class_method='true' selector='actionWithDuration:angle:'>
|
|
327
|
+
<arg name='duration' type='f' index='0' declared_type='ccTime'/>
|
|
328
|
+
<arg name='angle' type='f' index='1' declared_type='float'/>
|
|
329
|
+
<retval type='@' declared_type='id'/>
|
|
330
|
+
</method>
|
|
331
|
+
<method selector='initWithDuration:angle:'>
|
|
332
|
+
<arg name='duration' type='f' index='0' declared_type='ccTime'/>
|
|
333
|
+
<arg name='angle' type='f' index='1' declared_type='float'/>
|
|
334
|
+
<retval type='@' declared_type='id'/>
|
|
335
|
+
</method>
|
|
336
|
+
</class>
|
|
337
|
+
<class name='CCBSequence'>
|
|
338
|
+
<method selector='callbackChannel'>
|
|
339
|
+
<retval type='@' declared_type='CCBSequenceProperty*'/>
|
|
340
|
+
</method>
|
|
341
|
+
<method selector='chainedSequenceId'>
|
|
342
|
+
<retval type='i' declared_type='int'/>
|
|
343
|
+
</method>
|
|
344
|
+
<method selector='duration'>
|
|
345
|
+
<retval type='f' declared_type='float'/>
|
|
346
|
+
</method>
|
|
347
|
+
<method selector='name'>
|
|
348
|
+
<retval type='@' declared_type='NSString*'/>
|
|
349
|
+
</method>
|
|
350
|
+
<method selector='sequenceId'>
|
|
351
|
+
<retval type='i' declared_type='int'/>
|
|
352
|
+
</method>
|
|
353
|
+
<method selector='setCallbackChannel:'>
|
|
354
|
+
<arg name='callbackChannel' type='@' index='0' declared_type='CCBSequenceProperty*'/>
|
|
355
|
+
<retval type='v' declared_type='void'/>
|
|
356
|
+
</method>
|
|
357
|
+
<method selector='setChainedSequenceId:'>
|
|
358
|
+
<arg name='chainedSequenceId' type='i' index='0' declared_type='int'/>
|
|
359
|
+
<retval type='v' declared_type='void'/>
|
|
360
|
+
</method>
|
|
361
|
+
<method selector='setDuration:'>
|
|
362
|
+
<arg name='duration' type='f' index='0' declared_type='float'/>
|
|
363
|
+
<retval type='v' declared_type='void'/>
|
|
364
|
+
</method>
|
|
365
|
+
<method selector='setName:'>
|
|
366
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
367
|
+
<retval type='v' declared_type='void'/>
|
|
368
|
+
</method>
|
|
369
|
+
<method selector='setSequenceId:'>
|
|
370
|
+
<arg name='sequenceId' type='i' index='0' declared_type='int'/>
|
|
371
|
+
<retval type='v' declared_type='void'/>
|
|
372
|
+
</method>
|
|
373
|
+
<method selector='setSoundChannel:'>
|
|
374
|
+
<arg name='soundChannel' type='@' index='0' declared_type='CCBSequenceProperty*'/>
|
|
375
|
+
<retval type='v' declared_type='void'/>
|
|
376
|
+
</method>
|
|
377
|
+
<method selector='soundChannel'>
|
|
378
|
+
<retval type='@' declared_type='CCBSequenceProperty*'/>
|
|
379
|
+
</method>
|
|
380
|
+
</class>
|
|
381
|
+
<class name='CCBSequenceProperty'>
|
|
382
|
+
<method selector='keyframes'>
|
|
383
|
+
<retval type='@' declared_type='NSMutableArray*'/>
|
|
384
|
+
</method>
|
|
385
|
+
<method selector='name'>
|
|
386
|
+
<retval type='@' declared_type='NSString*'/>
|
|
387
|
+
</method>
|
|
388
|
+
<method selector='setName:'>
|
|
389
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
390
|
+
<retval type='v' declared_type='void'/>
|
|
391
|
+
</method>
|
|
392
|
+
<method selector='setType:'>
|
|
393
|
+
<arg name='type' type='i' index='0' declared_type='int'/>
|
|
394
|
+
<retval type='v' declared_type='void'/>
|
|
395
|
+
</method>
|
|
396
|
+
<method selector='type'>
|
|
397
|
+
<retval type='i' declared_type='int'/>
|
|
398
|
+
</method>
|
|
399
|
+
</class>
|
|
400
|
+
<class name='CCBSetSpriteFrame'>
|
|
401
|
+
<method class_method='true' selector='actionWithSpriteFrame:'>
|
|
402
|
+
<arg name='sf' type='@' index='0' declared_type='CCSpriteFrame*'/>
|
|
403
|
+
<retval type='@' declared_type='id'/>
|
|
404
|
+
</method>
|
|
405
|
+
<method selector='initWithSpriteFrame:'>
|
|
406
|
+
<arg name='sf' type='@' index='0' declared_type='CCSpriteFrame*'/>
|
|
407
|
+
<retval type='@' declared_type='id'/>
|
|
408
|
+
</method>
|
|
409
|
+
</class>
|
|
410
|
+
<class name='CCBSoundEffect'>
|
|
411
|
+
<method class_method='true' selector='actionWithSoundFile:pitch:pan:gain:'>
|
|
412
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
413
|
+
<arg name='pitch' type='f' index='1' declared_type='float'/>
|
|
414
|
+
<arg name='pan' type='f' index='2' declared_type='float'/>
|
|
415
|
+
<arg name='gain' type='f' index='3' declared_type='float'/>
|
|
416
|
+
<retval type='@' declared_type='id'/>
|
|
417
|
+
</method>
|
|
418
|
+
<method selector='initWithSoundFile:pitch:pan:gain:'>
|
|
419
|
+
<arg name='file' type='@' index='0' declared_type='NSString*'/>
|
|
420
|
+
<arg name='pitch' type='f' index='1' declared_type='float'/>
|
|
421
|
+
<arg name='pan' type='f' index='2' declared_type='float'/>
|
|
422
|
+
<arg name='gain' type='f' index='3' declared_type='float'/>
|
|
423
|
+
<retval type='@' declared_type='id'/>
|
|
424
|
+
</method>
|
|
425
|
+
</class>
|
|
426
|
+
<class name='CCNode'>
|
|
427
|
+
<method selector='absolutePositionFromRelative:type:parentSize:propertyName:'>
|
|
428
|
+
<arg name='pt' type='{CGPoint=ff}' index='0' declared_type='CGPoint'/>
|
|
429
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
430
|
+
<arg name='containerSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
431
|
+
<arg name='propertyName' type='@' index='3' declared_type='NSString*'/>
|
|
432
|
+
<retval type='{CGPoint=ff}' declared_type='CGPoint'/>
|
|
433
|
+
</method>
|
|
434
|
+
<method selector='resolutionScale'>
|
|
435
|
+
<retval type='f' declared_type='float'/>
|
|
436
|
+
</method>
|
|
437
|
+
<method selector='setRelativeFloat:type:propertyName:'>
|
|
438
|
+
<arg name='f' type='f' index='0' declared_type='float'/>
|
|
439
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
440
|
+
<arg name='propertyName' type='@' index='2' declared_type='NSString*'/>
|
|
441
|
+
<retval type='v' declared_type='void'/>
|
|
442
|
+
</method>
|
|
443
|
+
<method selector='setRelativePosition:type:'>
|
|
444
|
+
<arg name='position' type='{CGPoint=ff}' index='0' declared_type='CGPoint'/>
|
|
445
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
446
|
+
<retval type='v' declared_type='void'/>
|
|
447
|
+
</method>
|
|
448
|
+
<method selector='setRelativePosition:type:parentSize:'>
|
|
449
|
+
<arg name='position' type='{CGPoint=ff}' index='0' declared_type='CGPoint'/>
|
|
450
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
451
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
452
|
+
<retval type='v' declared_type='void'/>
|
|
453
|
+
</method>
|
|
454
|
+
<method selector='setRelativePosition:type:parentSize:propertyName:'>
|
|
455
|
+
<arg name='pt' type='{CGPoint=ff}' index='0' declared_type='CGPoint'/>
|
|
456
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
457
|
+
<arg name='containerSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
458
|
+
<arg name='propertyName' type='@' index='3' declared_type='NSString*'/>
|
|
459
|
+
<retval type='v' declared_type='void'/>
|
|
460
|
+
</method>
|
|
461
|
+
<method selector='setRelativeScaleX:Y:type:'>
|
|
462
|
+
<arg name='x' type='f' index='0' declared_type='float'/>
|
|
463
|
+
<arg name='y' type='f' index='1' declared_type='float'/>
|
|
464
|
+
<arg name='type' type='i' index='2' declared_type='int'/>
|
|
465
|
+
<retval type='v' declared_type='void'/>
|
|
466
|
+
</method>
|
|
467
|
+
<method selector='setRelativeScaleX:Y:type:propertyName:'>
|
|
468
|
+
<arg name='x' type='f' index='0' declared_type='float'/>
|
|
469
|
+
<arg name='y' type='f' index='1' declared_type='float'/>
|
|
470
|
+
<arg name='type' type='i' index='2' declared_type='int'/>
|
|
471
|
+
<arg name='propertyName' type='@' index='3' declared_type='NSString*'/>
|
|
472
|
+
<retval type='v' declared_type='void'/>
|
|
473
|
+
</method>
|
|
474
|
+
<method selector='setRelativeSize:type:'>
|
|
475
|
+
<arg name='size' type='{CGSize=ff}' index='0' declared_type='CGSize'/>
|
|
476
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
477
|
+
<retval type='v' declared_type='void'/>
|
|
478
|
+
</method>
|
|
479
|
+
<method selector='setRelativeSize:type:parentSize:'>
|
|
480
|
+
<arg name='size' type='{CGSize=ff}' index='0' declared_type='CGSize'/>
|
|
481
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
482
|
+
<arg name='parentSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
483
|
+
<retval type='v' declared_type='void'/>
|
|
484
|
+
</method>
|
|
485
|
+
<method selector='setRelativeSize:type:parentSize:propertyName:'>
|
|
486
|
+
<arg name='size' type='{CGSize=ff}' index='0' declared_type='CGSize'/>
|
|
487
|
+
<arg name='type' type='i' index='1' declared_type='int'/>
|
|
488
|
+
<arg name='containerSize' type='{CGSize=ff}' index='2' declared_type='CGSize'/>
|
|
489
|
+
<arg name='propertyName' type='@' index='3' declared_type='NSString*'/>
|
|
490
|
+
<retval type='v' declared_type='void'/>
|
|
491
|
+
</method>
|
|
492
|
+
</class>
|
|
493
|
+
<class name='CCScene'>
|
|
494
|
+
<method selector='init'>
|
|
495
|
+
<retval type='@' declared_type='id'/>
|
|
496
|
+
</method>
|
|
497
|
+
</class>
|
|
498
|
+
<class name='NSObject'>
|
|
499
|
+
<method selector='completedAnimationSequenceNamed:'>
|
|
500
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
501
|
+
<retval type='v' declared_type='void'/>
|
|
502
|
+
</method>
|
|
503
|
+
</class>
|
|
504
|
+
<informal_protocol name='CCBAnimationManagerDelegate'>
|
|
505
|
+
<method type='v12@0:4@8' selector='completedAnimationSequenceNamed:'>
|
|
506
|
+
<arg name='name' type='@' index='0' declared_type='NSString*'/>
|
|
507
|
+
<retval type='v' declared_type='void'/>
|
|
508
|
+
</method>
|
|
509
|
+
</informal_protocol>
|
|
510
|
+
</signatures>
|