Commit Graph

380 Commits

Author SHA1 Message Date
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 3cf19787ce Fix #791 really 2022-08-11 10:52:38 +08:00
DelinWorks 4ed7c32cf3 Remove assign dups and simplify function naming. 2022-08-11 01:52:04 +03:00
Turky Mohammed 84003b66b2
Update CCCamera.h [skip ci] 2022-08-10 21:10:34 +03:00
DelinWorks dcd0fd6001 Add initialize member function. 2022-08-10 21:09:10 +03:00
DelinWorks 0dfa828926 Update CCCamera.cpp [skip ci] 2022-08-10 20:38:59 +03:00
DelinWorks 63e72775f5 Fix camera view calculation and tidy up system 2022-08-10 20:14:18 +03:00
halx99 0df0947d05 Improve code style
Refer to: https://github.com/cocos2d/cocos2d-x/pull/20743
2022-08-10 21:08:51 +08:00
aismann 8b408b2cde rename push_back vs emplace_back (fine tuning and remove on Live2D (too much)) 2022-08-09 05:51:07 +02:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core (#781)
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\

D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762

* Replace push_back() vs emplace_back() on axis\core\ #781

* Update CCConsole.cpp

* Update UIWebViewImpl-android.cpp

* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
halx99 9b7910daea Improve android gradle utils 2022-08-07 09:26:56 +08:00
halx99 f03bce1380 Improve android gradle cmake & ndk setup 2022-08-06 23:09:16 +08:00
halx99 f40c44755f Improve android setup tools
- Rename ANDROID_SDK to ANDROID_SDK_ROOT, refer to: https://developer.android.google.cn/studio/command-line/variables
- CMake: Use ndk in sdk_root/ndk/xxx/
2022-08-06 22:02:58 +08:00
Turky Mohammed 399dac7478
[PROPOSAL] Add wireframe rendering and function classification improvements. (#778)
* Add wireframe rendering and function classification improvements.

* Fix platform compilation.

* Update CommandBufferGL.cpp

GL_LINE and GL_FILL are no present in mobile devices, so the raw value has been used instead.

* Update CommandBufferGL.cpp

* Try fix IOS compilation

* Update CommandBufferMTL.h [skip ci]

* GLES & D3D11 wireframe

Added crude but okay wireframe mode for GLES and D3D11 devices.
2022-08-06 16:17:55 +08:00
一线灵 5f099c56ac
Fix #771 2022-08-02 21:48:16 +08:00
unknown 797a41b469 Missed edge case when resizing the memorymapped file in UserDefault that could cause a crash 2022-08-02 16:13:12 +05:30
halx99 84a540ea66 Improve gradle script 2022-08-02 17:55:00 +08:00
unknown 5685db91a3 closeKeyboard() method for EditBox 2022-08-02 03:02:35 +05:30
halx99 0800903a0a Add more compatible macros to cocos2d.h [skip ci] 2022-07-26 22:50:51 +08:00
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
DelinWorks 1791579fda Add primitive type support for mesh materials. 2022-07-20 02:33:45 +03:00
DelinWorks a0e6d4a045 Fix quad vertex shader compilation. 2022-07-19 08:20:13 +03:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
一线灵 c7a26bebbf
Fix warning format 2022-07-12 22:57:45 +08:00
一线灵 5a1b8074f1
[Gradle] Fix findNDK 2022-07-12 21:51:44 +08:00
一线灵 406f962cad
Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
halx99 cf6baeed52 Improve android gradle script axistools.gradle 2022-07-12 13:07:27 +08:00
halx99 4ad4bf93b0 Avoid unexpected frame refs increase 2022-07-11 19:34:31 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
halx99 986540dbef Update byte_buffer to fix #741 2022-07-11 09:12:40 +08:00
一线灵 8bbcf80330
Fix logic 2022-07-10 21:22:08 +08:00
一线灵 3594b161bf
Fix ci 2022-07-10 20:47:50 +08:00
halx99 16a30c8fb8 Fix #741 2022-07-10 20:23:48 +08:00
DelinWorks 9db438a375 Update FastRNG.h 2022-07-10 10:00:02 +03:00
一线灵 3329e1b0ea
Merge pull request #739 from axis-project/migrate-engine-test-extension-config
Migrate tests, extensions and configs
2022-07-10 09:47:41 +08:00
一线灵 04ca16125b
Merge pull request #738 from solan-solan/index_array_to_stl
IndexArray to stl
2022-07-10 09:47:27 +08:00
halx99 9ee4181976 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
DESKTOP-16GC0B8\813658 2f8d5dd2f6 operator[] changed for better usage 2022-07-09 02:07:01 +03:00
一线灵 18076d09f0
Merge pull request #734 from solan-solan/index_array_to_stl
IndexArray to stl
2022-07-09 01:23:36 +08:00
Turky Mohammed 8517d0ee7f
Replace everything under `core` (#735)
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
DESKTOP-16GC0B8\813658 21f928c4a0 Added operator[] for IndexArray to align it to stl container to protect existing code which could use IndexArray with the corresponding api;
Added uint16_t as default template parameter for IndexArray::push_back(...)
2022-07-08 17:08:39 +03:00
一线灵 86e56f304f
Update version [skip ci] 2022-07-08 16:02:51 +08:00
一线灵 590fbba6bd
Merge pull request #730 from DelinWorks/migrate-engine-name
Fix engine setup files.
2022-07-08 15:34:23 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
DelinWorks a27486a7f7 [skip ci] 2022-07-08 07:36:32 +03:00
DelinWorks 49b6dda016 Fix CMAKE 2022-07-08 02:10:35 +03:00
一线灵 1062a2251f
Merge pull request #720 from axis-project/improve-index-array
Improve IndexArray
2022-07-07 16:53:18 +08:00
halx99 698b84d7b2 Delete unused comments 2022-07-07 15:41:32 +08:00