Commit Graph

1795 Commits

Author SHA1 Message Date
deal 0777da8863
Delete unused 2022-01-23 11:01:42 +08:00
halx99 bca3a82eea Fix lua_xml_http_request dataSize incorrect 2022-01-18 18:39:58 +08:00
deal b0e7c79428
hard to link fmt-header-only[skip ci]
target_link_libraries(fairygui fmt-header-only)
2022-01-08 15:25:50 +08:00
deal 01f97ca042
Update CMakeLists.txt 2022-01-08 14:01:43 +08:00
halx99 4b12f12a55 [spine] Improve RTTI compare performance when compiler string pooling enabled
Refer to: https://github.com/EsotericSoftware/spine-runtimes/pull/2012

Signed-off-by: halx99 <halx99@live.com>
2022-01-05 14:10:05 +08:00
halx99 aaef0c3048 Fix ClippingAttachment doesn't work
Refer to: https://github.com/EsotericSoftware/spine-runtimes/pull/2011

Reported by: @kangleblue

Signed-off-by: halx99 <halx99@live.com>
2022-01-04 22:38:02 +08:00
halx99 3d7218a0eb Fix #570
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
halx99 3282e1abaf Improve vec2, vec3, vec4 lua storage
a. store as fixed size array
b. use metatable access via: x, y, z, w
c. For vec2
  - vec2[0] could be access via x or w(idth) or u
  - vec2[1] could be access via y or h(eight) or v
2022-01-03 22:06:49 +08:00
halx99 a651879ee6 Tidy audio folder 2022-01-03 11:34:58 +08:00
halx99 6b70fc5ff3 Fix ci 2021-12-31 16:29:11 +08:00
halx99 deddc5542e Fix ci [skip ci] 2021-12-31 15:49:45 +08:00
deal 3825fb1b02
Update CMakeLists.txt 2021-12-31 14:47:57 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00
halx99 f95ed06187 Improve string_view for some file 2021-12-30 09:48:39 +08:00
halx99 b5b4b1e5d8 Committing clang-format changes 2021-12-29 11:31:28 +00:00
halx99 6639f55c0f Fix linux build 2021-12-28 19:16:15 +08:00
halx99 a7e153c9b0 Fix ci 2021-12-28 19:10:50 +08:00
halx99 ce5adf35f7 Committing clang-format changes 2021-12-28 08:06:23 +00:00
halx99 8e8affab5e string_view for lua bindings 2021-12-28 15:46:32 +08:00
halx99 1c3ec2d68c string_view for apple 2021-12-28 11:48:48 +08:00
halx99 f785632497 Merge commit 2021-12-28 11:07:12 +08:00
halx99 d397854ead Commit chnages 2021-12-28 11:05:34 +08:00
halx99 9eeeb151a1 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 a0761b0a5d string_view for android 2021-12-27 19:24:35 +08:00
halx99 8e644ef0b4 Modify fairygui for string_view 2021-12-27 15:10:29 +08:00
halx99 01310bf1b1 Modify some extensions for string_view 2021-12-27 13:52:08 +08:00
halx99 0076283252 Huge changes for all string_view 2021-12-26 23:26:34 +08:00
halx99 2ba77a42fb Committing clang-format changes 2021-12-25 02:04:45 +00:00
halx99 ea1c0733ce Fix compile 2021-12-24 22:58:29 +08:00
halx99 e9f6e9e22c Fix encoding 2021-12-24 21:16:08 +08:00
halx99 c0f5912ebe Fix encodings 2021-12-24 21:11:44 +08:00
halx99 4ff0221a9e Fix encodings 2021-12-24 20:50:31 +08:00
halx99 b4bedd24d0 Improve starter lua template HellLua
a. Use lua search path for scripts instead FileUtils
b. Put new lua search path to front of LuaStack
2021-12-19 14:59:00 +08:00
halx99 2e0cc940ee [HttpClient] Use `byte_buffer` instead `std::vector<char>` 2021-12-10 19:15:48 +08:00
halx99 b459acbcf7 Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
aismann 6a41776f20 change all setString(const std::string & ...) to setString(std::string_view ...)
Change all methods inherited from virtual void setString(std::string_view label) = 0;
2021-11-30 20:35:34 +01:00
halx99 9930eef75a Fix compile 2021-11-26 18:13:33 +08:00
halx99 bc14e09079 Move ntcvt directory 2021-11-26 17:19:50 +08:00
halx99 778dc7e2b9
Improve skipBOM 2021-11-22 13:58:41 +08:00
halx99 9e35b0a1e2 Fix cocos2dx_lua_loader 2021-11-17 20:59:12 +08:00
halx99 8e1087a987 Refine cocos2dx_lua_loader logic 2021-11-16 14:12:32 +08:00
halx99 3c5224220f Fix lua state usage 2021-11-15 19:05:08 +08:00
halx99 bc4dccff9b Compatible lua getXXXSize API for get width,height from vec2 2021-11-12 19:12:29 +08:00
halx99 442d0f7c4c Sync fix 2021-11-11 18:33:46 +08:00
halx99 24ad9f7bec Fix fairygui compilation 2021-11-11 18:04:38 +08:00
halx99 95a1734cd7 Add `CCValue` int64_t/uint64_t support 2021-11-09 14:29:15 +08:00
halx99 5f4d535f76 Remove unnecessary function 2021-10-23 23:36:48 +08:00
halx99 cc2ba51ed6 Use struct `Vec2` instead `Size` 2021-10-23 23:27:14 +08:00
halx99 cc1d09d04d Remove unused 2021-10-12 13:12:44 +08:00
halx99 dfd93f6a10 lua load, better code style 2021-10-12 13:07:05 +08:00
halx99 9b88d72331 lua loader, more better pefromance 2021-10-12 12:35:03 +08:00
halx99 b98c496221 Remove unused 2021-10-12 12:18:38 +08:00
halx99 9fa030b5e9 More standard 2021-10-12 12:11:48 +08:00
halx99 bfd5577753 Don't try different file ext, load as-is for lua load 2021-10-11 23:23:30 +08:00
halx99 5b3979a8ef Reduce file exist check 2021-10-11 22:57:21 +08:00
halx99 0b7ff8d9ea Refine lua loader 2021-10-11 22:34:41 +08:00
halx99 b99a445519 Fix ci 2021-10-11 13:44:28 +08:00
halx99 c38681bdd0 Code style 2021-10-11 12:15:41 +08:00
halx99 bc4cbddd50 Fix some warnings 2021-10-09 13:48:56 +08:00
halx99 1ada732ffc Use lua-5.4.3 as default plainlua version
see also: #332
2021-10-08 16:15:33 +08:00
halx99 e90eda918d Fix #508 warnings 2021-09-26 21:52:36 +08:00
halx99 8762fa353a Fix warnings 2021-09-26 21:03:41 +08:00
halx99 d2ba7fb117 Refine ImGuiEXT 2021-09-26 19:56:34 +08:00
halx99 a17c843914 Fix #507 2021-09-26 12:05:42 +08:00
halx99 f9e766086c Fix #505 2021-09-23 14:53:57 +08:00
halx99 23b6c1d549 Fix mac build [skip ci] 2021-09-20 18:18:52 +08:00
halx99 15be00be20 Sync commit from pr:
https://github.com/EsotericSoftware/spine-runtimes/pull/1947
2021-09-14 11:54:19 +08:00
榆柳松 ac1aa636ac Merge remote-tracking branch 'upstream/dev' into dev 2021-09-05 20:45:32 +08:00
榆柳松 f5663f279c [fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout. 2021-09-05 20:44:14 +08:00
halx99 7cc2d34398 LayerMultiplex use Node* to store layers
a. Layer no specificed functions
2021-09-03 11:13:15 +08:00
rh101 69d6039306 Update lua bindings 2021-09-02 21:24:45 +10:00
rh101 de182c8360 Change %ld to %d for 32bit data types
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
halx99 d197e8b245 Fix part of #487 2021-09-02 11:43:27 +08:00
halx99 cb81a61530 Refactor layer
Reimplement LayerColor and LayerGradient based on sprite for auto batch draw
2021-08-30 19:47:53 +08:00
halx99 80e0e3b941 Fix spine command pipeline state uniform location mismatch 2021-08-30 17:40:35 +08:00
aismann 1c05947474
Merge branch 'adxeproject:dev' into dev 2021-08-27 07:49:17 +02:00
aismann cbeeb8d8ab Debug 64bit build error
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E0075	operand of '*' must be a pointer but has type "bool"	cpp-tests	D:\______\GitHub\adxe\tests\cpp-tests\Classes\SpineTest\SpineTest.cpp	153
2021-08-27 07:47:22 +02:00
halx99 81fd4df36e
Delete x-studio.cmake 2021-08-27 13:23:51 +08:00
halx99 bd436ae078 Fix lua build for win64 and 1 warning 2021-08-27 11:41:11 +08:00
halx99 f9ac34c20f Fix byteorder detect error for win64 and some warnings 2021-08-27 11:27:33 +08:00
halx99 d7e590b513 Fix win64 build 2021-08-27 08:33:17 +08:00
halx99 395a5afdd7 [Draft] Tidy windows prebuilt folder for win64 support 2021-08-26 23:25:17 +08:00
halx99 d0d77730a9 Update imgui 2021-08-23 17:49:38 +08:00
aismann e2ef8d5ba7 class PhysicsDebugNodeBox2D cleanup 2021-08-19 06:03:58 +02:00
aismann a9569ca061 fix 2021-08-18 06:00:43 +02:00
aismann 42439e5b50 Update CCPhysicsDebugNodeBox2D.cpp 2021-08-18 05:31:33 +02:00
aismann 5b3748cdd6 Important API change for naming convention
rename
class DebugDraw
to
PhysicsDebugNodeBox2D
2021-08-18 05:23:03 +02:00
aismann 780d4e6294 cleanup and improvement 2021-08-18 04:16:21 +02:00
rh101 7ef0ec96bf Update LUA bindings 2021-08-18 01:01:56 +10:00
halx99 16e3d66a66 Update lua bindings 2021-08-14 13:22:03 +08:00
aismann 9f2ab0ef28
More improvements (#455) 2021-08-14 10:28:28 +08:00
halx99 c5aeed4c06 Update lua bindings 2021-08-13 20:36:10 +08:00
aismann 7b7a3a8ae7 Box2D_TestBed_improvement 2021-08-12 05:54:06 +02:00
halx99 39ca61f623 Update spine-3.8 runtime to latest
Maybe no further update until upgrade to spine-4.x
2021-08-07 00:59:58 +08:00
aismann 56b99eff6a Box2D - Basic ready for use 2021-08-06 09:35:29 +02:00
aismann f5077bfb0f
Add DebugDraw to Box2DTest, Improve Box2D-Testbed add some new classes to physics-nodes (#444)
* Update AppDelegate.cpp

Add '*Debug*' on the title

* Update CCPhysicsDebugNodeBox2D.h

* Improve Box2D-TestBed

* improvements

* Update CCPhysicsDebugNodeBox2D.cpp

* Improve the 2d physics stuff

* dirty fix for build android:

* Fix fatal error: 'GLFW/glfw3.h' file not found

* Add DebugDraw to  Box2DTest, Improve Box2DTestBed, Add some new physicnodes

* fix settings, unknow  labelDebugDraw;
2021-08-05 17:23:55 +08:00
halx99 484549b801 Fix ci 2021-07-19 08:10:37 +08:00
halx99 d90dfd89e0
Update lua_xml_http_request.cpp 2021-07-19 01:29:08 +08:00
halx99 ad035e2729 Improve code quality 2021-07-17 23:32:31 +08:00
halx99 26c3de632a Update fairygui 2021-07-17 19:51:27 +08:00