Permalink
Browse files

includes missing prototypes.

  • Loading branch information...
1 parent 73b6900 commit c8fee14630c536d704a104fc2e0eeb7b550743b1 @ricardoquesada ricardoquesada committed Jun 7, 2011
@@ -24,6 +24,10 @@ of this software and associated documentation files (the "Software"), to deal
#import "CocosDenshion.h"
+ALvoid alBufferDataStaticProc(const ALint bid, ALenum format, ALvoid* data, ALsizei size, ALsizei freq);
+ALvoid alcMacOSXMixerOutputRateProc(const ALdouble value);
+
+
typedef ALvoid AL_APIENTRY (*alBufferDataStaticProcPtr) (const ALint bid, ALenum format, ALvoid* data, ALsizei size, ALsizei freq);
ALvoid alBufferDataStaticProc(const ALint bid, ALenum format, ALvoid* data, ALsizei size, ALsizei freq)
{
View
@@ -104,7 +104,10 @@ -(id) addSpriteWithoutQuad:(CCSprite*)child z:(NSUInteger)z tag:(NSInteger)aTag
#pragma mark -
#pragma mark CCTMXLayer
-@interface CCTMXLayer (Private)
+int compareInts (const void * a, const void * b);
+
+
+@interface CCTMXLayer ()
-(CGPoint) positionForIsoAt:(CGPoint)pos;
-(CGPoint) positionForOrthoAt:(CGPoint)pos;
-(CGPoint) positionForHexAt:(CGPoint)pos;
@@ -121,12 +124,6 @@ -(void) parseInternalProperties;
-(NSInteger) vertexZForPos:(CGPoint)pos;
-// adding quad from sprite
--(void)addQuadFromSprite:(CCSprite*)sprite quadIndex:(NSUInteger)index;
-
-// adds an sprite without the quad
--(id)addSpriteWithoutQuad:(CCSprite*)child z:(NSInteger)z tag:(NSInteger)aTag;
-
// index
-(NSUInteger) atlasIndexForExistantZ:(NSUInteger)z;
-(NSUInteger) atlasIndexForNewZ:(NSUInteger)z;
View
@@ -11,6 +11,8 @@
unsigned char alphabet[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+int _base64Decode( unsigned char *input, unsigned int input_len, unsigned char *output, unsigned int *output_len );
+
int _base64Decode( unsigned char *input, unsigned int input_len, unsigned char *output, unsigned int *output_len )
{
static char inalphabet[256], decoder[256];
@@ -18,6 +18,10 @@
kTagSequence,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
static int sceneIdx=-1;
static NSString *transitions[] = {
@"CrashTest",
View
@@ -12,6 +12,10 @@
kTagAnimationDance = 1,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
static int sceneIdx=-1;
static NSString *transitions[] = {
@"ActionManual",
View
@@ -17,6 +17,10 @@
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
sceneIdx++;
View
@@ -32,6 +32,11 @@
kTagSlider = 1,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
+
Class nextAction()
{
@@ -222,6 +222,10 @@ -(NSString*) subtitle
@"Issue631",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
actionIdx++;
View
@@ -315,6 +315,10 @@ +(id) actionWithDuration:(ccTime)t
@"PageTurn3D",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
actionIdx++;
View
@@ -33,6 +33,12 @@
@"Scissor Cuts",
};
+
+NSString* nextAction(void);
+NSString* backAction(void);
+NSString* restartAction(void);
+
+
NSString* nextAction()
{
fontIdx++;
View
@@ -27,6 +27,10 @@
kTagSprite8,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -52,6 +52,9 @@
kTagSprite7,
kTagSprite8,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
Class nextAction()
{
View
@@ -23,6 +23,10 @@
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -22,6 +22,10 @@
#pragma mark Callbacks
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -21,6 +21,10 @@
@"Parallax2",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -57,6 +57,10 @@
@"Issue870",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
@@ -22,6 +22,10 @@
kTagSlider = 1,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
@@ -15,6 +15,10 @@
@"RenderTextureZbuffer",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -24,6 +24,10 @@
@"RescheduleSelector",
};
+Class nextTest(void);
+Class prevTest(void);
+Class restartTest(void);
+
Class nextTest()
{
@@ -9,12 +9,16 @@
// local import
#import "TestCocos2dExtension.h"
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
static int sceneIdx=-1;
static NSString *transitions[] = {
@"Test1",
};
-Class nextAction()
+Class nextAction(void)
{
sceneIdx++;
@@ -24,7 +28,7 @@ Class nextAction()
return c;
}
-Class backAction()
+Class backAction(void)
{
sceneIdx--;
int total = ( sizeof(transitions) / sizeof(transitions[0]) );
@@ -36,7 +40,7 @@ Class backAction()
return c;
}
-Class restartAction()
+Class restartAction(void)
{
NSString *r = transitions[sceneIdx];
Class c = NSClassFromString(r);
View
@@ -60,6 +60,10 @@
#pragma mark Callbacks
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -48,6 +48,11 @@
kTagTileMap = 1,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
+
Class nextAction()
{
View
@@ -180,6 +180,10 @@ +(id) transitionWithDuration:(ccTime) t scene:(CCScene*)s {
@"CCTransitionSlideInB",
};
+Class nextTransition(void);
+Class backTransition(void);
+Class restartTransition(void);
+
Class nextTransition()
{
// HACK: else NSClassFromString will fail
View
@@ -15,6 +15,10 @@
@"ZwoptexGenericTest",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{
View
@@ -8,6 +8,8 @@
#pragma mark -
#pragma mark MemBug
+int check_for_error( CGPoint p1, CGPoint p2, CGPoint p3, CGPoint p4, float s, float t );
+
int check_for_error( CGPoint p1, CGPoint p2, CGPoint p3, CGPoint p4, float s, float t )
{
// the hit point is p3 + t * (p4 - p3);
View
@@ -18,6 +18,9 @@
kTagSlider,
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
static int sceneIdx=-1;
static NSString *transitions[] = {
@@ -15,6 +15,10 @@
@"Test1",
};
+Class nextAction(void);
+Class backAction(void);
+Class restartAction(void);
+
Class nextAction()
{

0 comments on commit c8fee14

Please sign in to comment.