Commit Graph

2672 Commits

Author SHA1 Message Date
John 3c08471bab don't convert const char* to char* (#20039)
* C++ forbids conversion from const char* string to char*, so we change
function signature from char* to const char* in lua basic conversion
functions.
2019-08-16 15:29:49 +08:00
CocosRobot a8d07022d6 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20036) 2019-08-15 17:01:11 +08:00
coulsonwang c4e6ede197 move VertexLayout to ProgramState (#20029)
* move VertexLayout to ProgramState

* fix lua
2019-08-15 16:51:49 +08:00
CocosRobot 28bc31aac6 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20014) 2019-08-06 14:14:59 +08:00
coulsonwang 320b9b4e67 Feature/sprite optimized (#19998)
Optimize sprite creation speed
2019-08-06 09:37:49 +08:00
CocosRobot b758f626eb [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#19991) 2019-07-26 17:33:42 +08:00
CocosRobot 17ee8f0082 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#19987) 2019-07-25 14:28:26 +08:00
minggo 0d121d7913
remove void in function declaration (#19954) 2019-07-22 09:38:46 +08:00
minggo a4fb692f36
fix for #19713 (#19714) (#19939)
#19713
2019-07-22 09:35:44 +08:00
Arnold 097a4a74dc [Lua] Export ccexp.AudioEngine on linux (#19898)
* export ccexp.AudioEngine on linux

* revert auto bindings

* gen bindings
2019-07-03 18:57:18 +08:00
Arnold 888cd9b159 fix lua (#19888) 2019-07-02 09:29:20 +08:00
Arnold 2eb4625cbc
regenerate (#19887) 2019-07-01 13:51:02 +08:00
coulsonwang e8839cefbe Feature/lua drawing node (#19863)
* fix DrawInRect in lua

* fix

* rename
2019-06-27 17:44:07 +08:00
Arnold abd7ffddc6 [lua] remove TODO in LuaBasicConversions.cpp (#19848)
* remove todos

* merge
2019-06-25 10:22:03 +08:00
Arnold a0e114a07f remove cc.SimpleAudioEngine (#19859) 2019-06-25 09:41:19 +08:00
coulsonwang ab749c69ec fix setBlendFunc (#19858) 2019-06-24 15:30:15 +08:00
coulsonwang 22e8a651d2 Feature/lua render texture test (#19827)
* fix render texture test in lua

* remove unnecessary code

* fix CI compile error
2019-06-18 22:45:14 -07:00
coulsonwang 7a94e66a14 Feature/fix alpha test (#19824) 2019-06-18 00:25:26 -07:00
Arnold 7851f212bf Rename backend::Texture2D (#19821)
* compile on windows

* compile on mac

* rename to Texture2DBackend

* compile on mac
2019-06-12 00:01:15 -07:00
minggo 1273fb305d
Remove simple audio engine (#19802) 2019-06-11 18:23:16 -07:00
Arnold 60deaa60ca run genbindings.py (#19805) 2019-06-06 02:49:33 -07:00
coulsonwang 9dc04bf228 remove opengl codes (#19797) 2019-06-05 02:58:33 -07:00
coulsonwang 10b2799051 Feature/fix mipmap issues (#19753)
* fix mipmap

* fix mipmap issues

* remove unneeded code

* fix

* remove Texture2D::PixelFormat, add backend::PixelFormat

* fix lua compile error

* reset *.tps files

* fix compile error

* fix compile error
2019-06-02 18:39:51 -07:00
Arnold 3d314f29ea rename Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.* to Cocos2dxLuaJavaBridge.* (#19695) 2019-05-13 17:59:29 -07:00
Arnold ceb8fa1166
re-run genbindings 2019-05-06 09:52:17 +08:00
Arnold 401ce1ee1c
run genbinding 2019-05-06 09:43:40 +08:00
Arnold 98d5f37a30 fix lua-tests errors (#19646)
* enable test case

* save

* generate enum classes

* save

* autobindg backend interface

* safe

* fix typos

* fix setUniform

* enable draw primitives and fast tmx tiled map

* save all

* update

* fix compile error on mac

* fix locations

* fix locations

* deduce vertexlayout

* clean

* compile on mac

* fix resource path

* save

* update bindings-generator

* remove unused code

* rename ccbackend to ccb

* remove todo
2019-05-05 00:26:34 -07:00
John c259918d03 Optimize cases where loop variable is unecessarily copied in a range-for loop. (#19637) (#19640)
Pass by const reference when appropriate.
2019-04-27 18:20:22 -07:00
minggo fd792813d2
Optimize calls to std::string::find() and friends (#19624) 2019-04-21 18:44:19 -07:00
minggo e8993c9860
Remove jsb/h5 (#19621)
* remove h5 engine

* remove jsb codes

* remove js tests

* remove js templates and tojs

* remove h5 submodule
2019-04-18 23:56:12 -07:00
CocosRobot 212abc4ea0 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19600) 2019-04-10 18:51:34 -07:00
CocosRobot 01b9863723 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19599) 2019-04-10 18:30:29 -07:00
CocosRobot d453af8fe5 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19550) 2019-03-25 23:12:59 -07:00
CocosRobot 6f05e57761 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19544) 2019-03-24 19:19:01 -07:00
CocosRobot b88f8e5062 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19535) 2019-03-20 14:44:46 +08:00
Arnold e1675ae67b Enable navmesh (#19530)
* enable flags

* impl debug draw

* run tests

* remove comments

* fix mac compile error

* review fix
2019-03-20 14:34:35 +08:00
CocosRobot#Set 9b567b2261 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically 2019-03-20 01:41:18 +00:00
patricejiang 82bbeb9b87
merge metal-support 2019-03-19 10:30:15 +08:00
patricejiang 926e49caf6
fix luabindings 2019-03-18 11:36:32 +08:00
patricejiang bfd390af35
auto generate luabindings 2019-03-18 10:30:11 +08:00
Arnold e3385e0e58
revert binding 2019-03-15 14:51:33 +08:00
Arnold d75c2f3c5e
add uniform callback 2019-03-15 14:44:28 +08:00
CocosRobot#Set 16b2649ba2 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically 2019-03-15 02:48:36 +00:00
minggo 629eebd031
Merge pull request #19498 from PatriceJiang/texture_setTexParams
Texture2D::TexParams fields use backend enum types
2019-03-15 10:43:52 +08:00
Arnold eb771312f5
fix lua compile 2019-03-13 15:34:32 +08:00
Arnold 1d0107c087
alias backend::SamplerDescriptor 2019-03-13 10:54:26 +08:00
CocosRobot#Set 0ee2dc8c78 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically 2019-03-13 02:14:20 +00:00
minggo 4854f1c3e7
make travis work (#19478)
* make travis work

* don't compile ios as needing team id
2019-03-08 15:24:47 +08:00
minggo e63c4d1ba6
make lua binding work (#19474) 2019-03-07 18:29:06 +08:00
minggo a6be522601
make hello lua work 2019-02-28 11:17:05 +08:00