Skip to content

Commit

Permalink
Merge pull request #11 from cocos2d/master
Browse files Browse the repository at this point in the history
update js
  • Loading branch information
chuanweizhang2013 committed Mar 14, 2014
2 parents 659e6be + 672949d commit c7500ce
Show file tree
Hide file tree
Showing 19 changed files with 270 additions and 198 deletions.
2 changes: 1 addition & 1 deletion frameworks/cocos2d-html5
Submodule cocos2d-html5 updated 2 files
+63 −0 CHANGELOG.txt
+ tools/compiler/compiler.jar
60 changes: 30 additions & 30 deletions frameworks/js-bindings/bindings/auto/api/jsb_cocos2dx_auto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ getFragmentShaderLog : function (

/**
* @method initWithByteArrays
* @param {char*} arg0
* @param {char*} arg1
* @param {char} arg0
* @param {char} arg1
* @return {bool}
*/
initWithByteArrays : function (
Expand All @@ -298,7 +298,7 @@ char

/**
* @method bindAttribLocation
* @param {char*} arg0
* @param {char} arg0
* @param {unsigned int} arg1
*/
bindAttribLocation : function (
Expand All @@ -311,7 +311,7 @@ int
/**
* @method setUniformLocationWithMatrix4fv
* @param {int} arg0
* @param {float*} arg1
* @param {float} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWithMatrix4fv : function (
Expand All @@ -338,7 +338,7 @@ str

/**
* @method getUniformLocationForName
* @param {char*} arg0
* @param {char} arg0
* @return {int}
*/
getUniformLocationForName : function (
Expand Down Expand Up @@ -395,7 +395,7 @@ int
/**
* @method setUniformLocationWith3iv
* @param {int} arg0
* @param {int*} arg1
* @param {int} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWith3iv : function (
Expand All @@ -417,7 +417,7 @@ updateUniforms : function (
/**
* @method setUniformLocationWith4iv
* @param {int} arg0
* @param {int*} arg1
* @param {int} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWith4iv : function (
Expand All @@ -430,7 +430,7 @@ int

/**
* @method getUniformLocation
* @param {char*} arg0
* @param {char} arg0
* @return {int}
*/
getUniformLocation : function (
Expand All @@ -455,7 +455,7 @@ int
/**
* @method setUniformLocationWith2iv
* @param {int} arg0
* @param {int*} arg1
* @param {int} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWith2iv : function (
Expand All @@ -469,7 +469,7 @@ int
/**
* @method setUniformLocationWithMatrix3fv
* @param {int} arg0
* @param {float*} arg1
* @param {float} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWithMatrix3fv : function (
Expand All @@ -490,7 +490,7 @@ reset : function (

/**
* @method getAttribLocation
* @param {char*} arg0
* @param {char} arg0
* @return {int}
*/
getAttribLocation : function (
Expand All @@ -503,7 +503,7 @@ char
/**
* @method setUniformLocationWithMatrix2fv
* @param {int} arg0
* @param {float*} arg1
* @param {float} arg1
* @param {unsigned int} arg2
*/
setUniformLocationWithMatrix2fv : function (
Expand Down Expand Up @@ -805,7 +805,7 @@ getMaxT : function (

/**
* @method getStringForFormat
* @return {char*}
* @return {char}
*/
getStringForFormat : function (
)
Expand Down Expand Up @@ -911,8 +911,8 @@ getName : function (

/**
* @method initWithString
* @param {char*|char*} char
* @param {cc.FontDefinition|char*} fontdefinition
* @param {char|char} char
* @param {cc.FontDefinition|char} fontdefinition
* @param {float} float
* @param {SizeObject} size
* @param {cc.TextHAlignment} texthalignment
Expand Down Expand Up @@ -1982,7 +1982,7 @@ int

/**
* @method setAdditionalTransform
* @param {cc.AffineTransform|kmMat4*} affinetransform
* @param {cc.AffineTransform|kmMat4} affinetransform
*/
setAdditionalTransform : function(
kmmat4
Expand Down Expand Up @@ -2052,8 +2052,8 @@ actionmanager

/**
* @method getPosition
* @param {float*} float
* @param {float*} float
* @param {float} float
* @param {float} float
* @return {PointObject}
*/
getPosition : function(
Expand Down Expand Up @@ -3730,9 +3730,9 @@ cc.OrbitCamera = {

/**
* @method sphericalRadius
* @param {float*} arg0
* @param {float*} arg1
* @param {float*} arg2
* @param {float} arg0
* @param {float} arg1
* @param {float} arg2
*/
sphericalRadius : function (
float,
Expand Down Expand Up @@ -5616,7 +5616,7 @@ tile

/**
* @method shuffle
* @param {unsigned int*} arg0
* @param {unsigned int} arg0
* @param {unsigned int} arg1
*/
shuffle : function (
Expand Down Expand Up @@ -5825,7 +5825,7 @@ point

/**
* @method shuffle
* @param {unsigned int*} arg0
* @param {unsigned int} arg0
* @param {unsigned int} arg1
*/
shuffle : function (
Expand Down Expand Up @@ -13187,7 +13187,7 @@ cc.SAXParser = {

/**
* @method init
* @param {char*} arg0
* @param {char} arg0
* @return {bool}
*/
init : function (
Expand Down Expand Up @@ -14559,7 +14559,7 @@ releaseMap : function (

/**
* @method setTiles
* @param {unsigned int*} arg0
* @param {unsigned int} arg0
*/
setTiles : function (
int
Expand Down Expand Up @@ -15481,7 +15481,7 @@ cc.AudioEngine = {

/**
* @method preloadBackgroundMusic
* @param {char*} arg0
* @param {char} arg0
*/
preloadBackgroundMusic : function (
char
Expand Down Expand Up @@ -15535,7 +15535,7 @@ float

/**
* @method preloadEffect
* @param {char*} arg0
* @param {char} arg0
*/
preloadEffect : function (
char
Expand Down Expand Up @@ -15585,7 +15585,7 @@ int

/**
* @method playEffect
* @param {char*} arg0
* @param {char} arg0
* @param {bool} arg1
* @param {float} arg2
* @param {float} arg3
Expand Down Expand Up @@ -15613,7 +15613,7 @@ rewindBackgroundMusic : function (

/**
* @method playBackgroundMusic
* @param {char*} arg0
* @param {char} arg0
* @param {bool} arg1
*/
playBackgroundMusic : function (
Expand Down Expand Up @@ -15669,7 +15669,7 @@ pauseAllEffects : function (

/**
* @method unloadEffect
* @param {char*} arg0
* @param {char} arg0
*/
unloadEffect : function (
char
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ node

/**
* @method runAnimationsForSequenceNamedTweenDuration
* @param {char*} arg0
* @param {char} arg0
* @param {float} arg1
*/
runAnimationsForSequenceNamedTweenDuration : function (
Expand Down Expand Up @@ -250,7 +250,7 @@ float

/**
* @method getRunningSequenceName
* @return {char*}
* @return {char}
*/
getRunningSequenceName : function (
)
Expand Down Expand Up @@ -310,7 +310,7 @@ ccbanimationmanagerdelegate

/**
* @method getSequenceDuration
* @param {char*} arg0
* @param {char} arg0
* @return {float}
*/
getSequenceDuration : function (
Expand All @@ -332,7 +332,7 @@ node

/**
* @method runAnimationsForSequenceNamed
* @param {char*} arg0
* @param {char} arg0
*/
runAnimationsForSequenceNamed : function (
char
Expand All @@ -342,7 +342,7 @@ char

/**
* @method getSequenceId
* @param {char*} arg0
* @param {char} arg0
* @return {int}
*/
getSequenceId : function (
Expand Down Expand Up @@ -470,7 +470,7 @@ eventtype

/**
* @method setCCBRootPath
* @param {char*} arg0
* @param {char} arg0
*/
setCCBRootPath : function (
char
Expand Down
Loading

0 comments on commit c7500ce

Please sign in to comment.