cocos2d/cocos2d-iphone — pull request #183 by araker (2012-03-11 21:52:43+00:00)
Title: New CCTouchDispatcher implementation

This is the code from pull request https://github.com/cocos2d/cocos2d-iphone/pull/171

I've made some minor changes to get everything working correctly.

Changes made:
-CCArray additions have been put into CCArray, made method names more consistent with existing methods. Fixed a few build errors when compiling for objective-c++.

TouchDispatcher
-made print method more verbose
-made CCHandlersToDo private

TouchDispatcher Performance Tests
-added prototypes for functions
-added a assert for the various test, to prevent initialization with less than 15 items

Removed a few clang warnings and build errors when compiling all projects.