Fix for unable to compile linux tests
Application should terminate itself after receiving NAVIGATOR_EXIT event
fixed #1328:Pass any data from C++ to Lua
[LUA] update LuaCocos2d.cpp
…Handler() [LUA] rename CCMenuTtem::unregisterScriptHandler() to unregisterScriptTapHandler reason: CCNode already have registerScriptHandler() and unregisterScriptHandler()
fixed #1320: (PR#1013)Updating to work with BB10. Updating the source code to work with BB10. Involves updates to the screen calls as well as changing the accelerometer over to use the sensor api. Also renamed all references from QNX to BlackBerry.
…6cf9be4379a20c fixed #1319: Native Keyboard support BB10/PlayBook.
… BB10 and PlayBook. Also updated the accelerometer to use the bps/sensor api. Renamed the folders and the defines from QNX to BlackBerry.
Add CCScriptEngineProtocol::pushStringToLuaStack Add CCScriptEngineProtocol::pushCCLuaValueToLuaStack Add CCScriptEngineProtocol::pushCCLuaTableDictToLuaStack Add CCScriptEngineProtocol::pushCCLuaTableArrayToLuaStack
- fixed new time scale in copy constructor of CCParticleSystem
fixed #1264: CCLabelTTF: wrong string alignment when using utf-8 encoded text.
…ded text. And fixed a bug in CCActionCamera.cpp.
…positions: - length(), as in "vector length" -> CCPoint shouldn't be taken as a vector but there is no other type provided... - normalize(), to normalize a direction ( then use the multiplication operator to make a final move vector) - distance() between to points
Not all operators are provided because it shouldn't be the role of CCPoint to have more mathematical functions. A 2D vector abstraction would be more adequate. I added these operators because they are the most commonly used by my code when placing sprites.