Permalink
Browse files

Moved CCBReader to it's own submodule

  • Loading branch information...
1 parent dca6f5c commit 79fdeaca9a29e93b22c6dce0146c550120321be5 Viktor Lidholt committed Nov 17, 2012
Showing with 463 additions and 5,653 deletions.
  1. +3 −0 .gitmodules
  2. +237 −93 CocosPlayer/CocosPlayer.xcodeproj/project.pbxproj
  3. +0 −120 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBAnimationManager.h
  4. +0 −623 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBAnimationManager.m
  5. +0 −40 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBKeyframe.h
  6. +0 −40 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBKeyframe.m
  7. +0 −170 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBReader.h
  8. +0 −1,220 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBReader.m
  9. +0 −43 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBSequence.h
  10. +0 −49 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBSequence.m
  11. +0 −38 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBSequenceProperty.h
  12. +0 −51 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCBSequenceProperty.m
  13. +0 −65 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCNode+CCBRelativePositioning.h
  14. +0 −193 CocosPlayer/CocosPlayer/libs/CocosBuilderReader/CCNode+CCBRelativePositioning.m
  15. +222 −188 Examples/CocosBuilderExample.xcodeproj/project.pbxproj
  16. +0 −120 Examples/CocosBuilderExample/CCBAnimationManager.h
  17. +0 −623 Examples/CocosBuilderExample/CCBAnimationManager.m
  18. +0 −40 Examples/CocosBuilderExample/CCBKeyframe.h
  19. +0 −40 Examples/CocosBuilderExample/CCBKeyframe.m
  20. +0 −177 Examples/CocosBuilderExample/CCBReader.h
  21. +0 −1,278 Examples/CocosBuilderExample/CCBReader.m
  22. +0 −43 Examples/CocosBuilderExample/CCBSequence.h
  23. +0 −49 Examples/CocosBuilderExample/CCBSequence.m
  24. +0 −38 Examples/CocosBuilderExample/CCBSequenceProperty.h
  25. +0 −51 Examples/CocosBuilderExample/CCBSequenceProperty.m
  26. +0 −65 Examples/CocosBuilderExample/CCNode+CCBRelativePositioning.h
  27. +0 −193 Examples/CocosBuilderExample/CCNode+CCBRelativePositioning.m
  28. +1 −0 Examples/CocosBuilderExample/libs/CCBReader
  29. +0 −1 Examples/CocosBuilderExample/libs/CCControlExtension
  30. +0 −1 Examples/CocosBuilderExample/libs/CCScrollView
  31. +0 −1 Examples/CocosBuilderExample/libs/ssziparchive
View
@@ -13,3 +13,6 @@
[submodule "Examples/CocosDragonJS"]
path = Examples/CocosDragonJS
url = https://github.com/vlidholt/CocosDragonJS
+[submodule "Examples/CocosBuilderExample/libs/CCBReader"]
+ path = Examples/CocosBuilderExample/libs/CCBReader
+ url = https://github.com/vlidholt/CCBReader

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,120 +0,0 @@
-/*
- * CocosBuilder: http://www.cocosbuilder.com
- *
- * Copyright (c) 2012 Zynga Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- */
-
-#import <Foundation/Foundation.h>
-#import "cocos2d.h"
-
-@class CCBSequence;
-
-#pragma mark Delegate
-
-@protocol CCBAnimationManagerDelegate <NSObject>
-
-- (void) completedAnimationSequenceNamed:(NSString*)name;
-
-@end
-
-#pragma mark Action Manager
-
-@interface CCBAnimationManager : NSObject
-{
- NSMutableArray* sequences;
- NSMutableDictionary* nodeSequences;
- NSMutableDictionary* baseValues;
- int autoPlaySequenceId;
-
- CCNode* rootNode;
- CGSize rootContainerSize;
-
- NSObject<CCBAnimationManagerDelegate>* delegate;
- CCBSequence* runningSequence;
-
- // Used by javascript bindings
- NSMutableArray* documentOutletNames;
- NSMutableArray* documentOutletNodes;
- NSMutableArray* documentCallbackNames;
- NSMutableArray* documentCallbackNodes;
- NSString* documentControllerName;
- NSString* lastCompletedSequenceName;
-
- void (^block)(id sender);
-}
-@property (nonatomic,readonly) NSMutableArray* sequences;
-@property (nonatomic,assign) int autoPlaySequenceId;
-@property (nonatomic,retain) CCNode* rootNode;
-@property (nonatomic,assign) CGSize rootContainerSize;
-@property (nonatomic,retain) NSObject<CCBAnimationManagerDelegate>* delegate;
-@property (nonatomic,readonly) NSString* runningSequenceName;
-@property (nonatomic,readonly) NSMutableArray* documentOutletNames;
-@property (nonatomic,readonly) NSMutableArray* documentOutletNodes;
-@property (nonatomic,readonly) NSMutableArray* documentCallbackNames;
-@property (nonatomic,readonly) NSMutableArray* documentCallbackNodes;
-@property (nonatomic,copy) NSString* documentControllerName;
-@property (nonatomic,readonly) NSString* lastCompletedSequenceName;
-
-- (CGSize) containerSize:(CCNode*)node;
-
-- (void) addNode:(CCNode*)node andSequences:(NSDictionary*)seq;
-- (void) moveAnimationsFromNode:(CCNode*)fromNode toNode:(CCNode*)toNode;
-
-- (void) setBaseValue:(id)value forNode:(CCNode*)node propertyName:(NSString*)propName;
-
-- (void) runAnimationsForSequenceNamed:(NSString*)name tweenDuration:(float)tweenDuration;
-- (void) runAnimationsForSequenceNamed:(NSString*)name;
-- (void) runAnimationsForSequenceId:(int)seqId tweenDuration:(float) tweenDuration;
-
--(void) setCompletedAnimationCallbackBlock:(void(^)(id sender))b;
-
-- (void) debug;
-
-@end
-
-#pragma mark Custom Animation Actions
-
-@interface CCBSetSpriteFrame : CCActionInstant <NSCopying>
-{
- CCSpriteFrame* spriteFrame;
-}
-/** creates a Place action with a position */
-+(id) actionWithSpriteFrame: (CCSpriteFrame*) sf;
-/** Initializes a Place action with a position */
--(id) initWithSpriteFrame: (CCSpriteFrame*) sf;
-@end
-
-@interface CCBRotateTo : CCActionInterval <NSCopying>
-{
- float startAngle_;
- float dstAngle_;
- float diffAngle_;
-}
-+(id) actionWithDuration:(ccTime)duration angle:(float)angle;
--(id) initWithDuration:(ccTime)duration angle:(float)angle;
-@end
-
-//
-// EeseInstant
-//
-@interface CCEaseInstant : CCActionEase <NSCopying>
-{}
-@end
Oops, something went wrong.

0 comments on commit 79fdeac

Please sign in to comment.