James Chen
444a30e226
issue #3677 : Wrong include fix.
2014-01-22 14:12:25 +08:00
James Chen
32572e257e
issue #3677 : File rename. PerformanceEventDispatcher.h/.cpp -> PerformanceEventDispatcherTest.h/.cpp.
2014-01-22 14:10:42 +08:00
James Chen
cecb20f824
issue #3677 : Adds EventDispatcher performance test.
2014-01-22 13:33:40 +08:00
Ricardo Quesada
7a8707cb08
Merge branch 'develop' into local_z_Order_fixes
...
Conflicts:
cocos/2d/CCNode.cpp
cocos/2d/CCNode.h
2014-01-21 10:10:50 -08:00
Ricardo Quesada
f1444a26a1
Improves documentation with local z order
2014-01-21 09:26:58 -08:00
James Chen
b116a11c3c
issue #2789 : Adds performance test for Map<K, V> and Dictionary.
2014-01-20 11:13:30 +08:00
James Chen
b11ef3069f
issue #2789 : Adds Map, Dictionary perf test, not yet finished.
2014-01-20 11:13:29 +08:00
James Chen
f48f429825
issue #2789 : Removes unused empty lines and renames some variables.
2014-01-17 10:29:21 +08:00
James Chen
83b459fcdb
issue #2789 : Adds loop test for Vector and Array.
2014-01-17 10:02:13 +08:00
James Chen
811f55bb8d
issue #2789 : Avoids compiler to do optimization.
2014-01-17 10:02:12 +08:00
James Chen
4302f3886d
issue #2789 : Adds performance test for Vector and CCArray.
2014-01-17 10:02:12 +08:00
Ricardo Quesada
f2471b8caf
Merge pull request #5068 from dabingnn/develop_renderer_tileMapTest
...
add performance test for New renderer: LargeTileMap test for quadCommand
2014-01-16 16:03:42 -08:00
Ricardo Quesada
4dba667ea2
Adds test '13' to Sprite Test
...
...and also adds missing Image HD files
2014-01-16 13:07:56 -08:00
Ricardo Quesada
afb4077de5
Remove Sprites works as expected
2014-01-16 12:22:11 -08:00
Huabing.Xu
21d586d4ca
Merge branch 'develop' into develop_renderer_tileMapTest
...
* develop: (24 commits)
Update CHANGELOG [ci skip]
Update AUTHORS [ci skip]
Update CHANGELOG [ci skip]
More renderer optimizations
[AUTO] : updating submodule reference to latest autogenerated bindings
Update CHANGELOG [ci skip]
Sprite: removed _hasChildren
Compilation fix: Updates cocos_files.json and removes unused in template.
use data.isNull() instead of !data.getBytes()
Update VS project file.
Updates CHANGELOG
SpriteBatchCommand and ParticleBatchCommand use the BatchCommand
Updates Xcode, Android and Linux project
fixes #3720
Renderer performance fixes
Console::log(format, va_args) is private
fix compiling error
Relieve inherit from LabelProtocol
closed #3688 , Solve the bug : LabelAtlas set a shorter string than before, the effect will be wrong.
add check data valid in getStringFromFile
...
2014-01-16 12:47:32 +08:00
James Chen
2e7516c582
Merge pull request #5041 from Dhilan007/develop_label
...
closed #3630:Uses a struct of TTF configuration for Label::createWithTTF to reduce parameters and make this interface more easily to use.
2014-01-15 18:37:40 -08:00
Dhilan007
629f111f7d
Relieve inherit from LabelProtocol
2014-01-15 17:21:08 +08:00
Huabing.Xu
19705fcf37
issue #3640 : add performance test->renderer LargeTileMap test
2014-01-15 11:27:57 +08:00
Ricardo Quesada
c267c479db
Performance Test fixes
...
* SpritePerfTest: 3 new tests added
* SpritePerfTest: random() always use the same seed
* SpritePerfTest: Fixed tests 8 and 9 on retina display machines
* Console: Added 3 new commands: 'config', 'fileutils dump', 'textures'
2014-01-14 17:22:45 -08:00
Dhilan007
69c004108b
issue#3630:Adjust some method for more easily create and change type.
2014-01-11 22:33:07 +08:00
minggo
4033ecea77
don't rlease autoreleased object
2014-01-06 17:20:42 +08:00
minggo
7b55c3da1e
don't release autoreleased objec
2014-01-06 17:03:24 +08:00
minggo
b0c23eacf5
Don't release autoreased object.
2014-01-03 18:28:43 +08:00
minggo
1d04b42947
Put "initxx" functions into protected.
2014-01-03 18:15:56 +08:00
minggo
7c0d4240ae
Don't release an autoreleased object
2014-01-03 18:12:58 +08:00
minggo
d52e980538
don't release an object return by Object::create()
2014-01-03 16:53:04 +08:00
minggo
3d37a26e21
Merge pull request #4523 from Dhilan007/increase_test_pressure
...
increase label test pressure.
2013-12-21 17:08:20 -08:00
Ricardo Quesada
59fee6b8d2
replaces std::for_each with for()
...
replaces `std::for_each` with C++11 `for( : )`
2013-12-19 13:34:41 -08:00
Ricardo Quesada
c044a91f6e
Adds `std::for_each` test in invocation
...
and removes CArray and CMacro tests
2013-12-18 19:28:09 -08:00
Ricardo Quesada
7616edd9f3
Improves SpriteTest
...
Improves SpriteTest.
It is easier to see if Sprite works as SpriteBatchNode (and vice-versa).
Needed for the new renderer.
Also adds `const` to title() and subtitle()
2013-12-18 13:52:10 -08:00
James Chen
7719c692b8
More warning fixes.
2013-12-18 16:03:07 +08:00
Dhilan007
2a3390d3eb
increase label test pressure.
2013-12-18 10:46:02 +08:00
James Chen
d16fa07661
Removes Vector<T>::forEach, please use std::for_each instead. The same as Vector<T>::sort.
2013-12-17 17:45:29 +08:00
Dhilan007
32f23ebdba
fix bad position for performance test about Label.
2013-12-16 11:04:52 +08:00
Dhilan007
8b9cfd7d35
fix compiling error on linux and android.
2013-12-13 12:58:16 +08:00
Dhilan007
39280d55f3
new label:add support for distanceField
...
PerformanceTest:add performance test for label.
2013-12-13 12:42:15 +08:00
minggo
fa7c97171b
fix some warnings
2013-12-06 16:32:06 +08:00
James Chen
8aef092005
issue #2790 : TestCpp with new Vector<>.
2013-12-04 16:01:54 +08:00
signmotion
41daad30fa
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
2013-11-29 19:44:03 +02:00
signmotion
0d9cd9784b
* Fixed warnings in VS2012: C4018 (signed/unsigned mismatch) and C4244 (conversion from 'double' to 'float').
2013-11-23 07:23:06 +02:00
Ricardo Quesada
dd68eb4796
ParticleSystem uses protected constructors
2013-11-14 16:21:49 -08:00
Ricardo Quesada
cd0ba6850c
Merge branch 'develop' into constructors_are_protected
2013-11-14 11:57:18 -08:00
Ricardo Quesada
2ce2eaf4b3
More tests converted
2013-11-13 17:36:33 -08:00
Ricardo Quesada
d590986e73
Constructors are protected
2013-11-13 15:55:36 -08:00
boyu0
fb04c9e574
issue #2770 : fix some warning
2013-11-13 11:22:34 +08:00
Huabing.Xu
bd7d62aee0
issue #3025 : replace TextureCache::getInstance() by Director::getInstance()->getTextureCache() in samples folder
2013-11-07 21:48:39 +08:00
samuelhu
1f07a659a6
issue #3069:Modify layer lua register and add some compatible lua binding functions
2013-10-31 09:49:04 +08:00
James Chen
48ce5e39fe
EventDispatcher is managed by Director now, like Scheduler and ActionManager.
2013-10-26 15:04:01 +08:00
James Chen
9ed263056c
Use eventDispatcher to dispatch event. Remove controller codes in Layer.
2013-10-25 10:53:46 +08:00
James Chen
1f3863e787
Event Dispatcher refactor commit. TestCpp could run.
2013-10-25 10:53:45 +08:00