Commit Graph

52 Commits

Author SHA1 Message Date
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
aismann a5810457f1
rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
一线灵|Deal 92e5f465fa
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
halx99 d1efe584be Improve code style 2022-09-24 10:42:11 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
Paulo Coutinho 8c359917f7
Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
unknown c26ab44880 Add empty check 2022-08-16 15:12:45 +05:30
unknown 8a462d89c9 Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
unknown f5c7940418 RichElementImage - Add support for scaling 2022-08-12 03:58:36 +05:30
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 0df0947d05 Improve code style
Refer to: https://github.com/cocos2d/cocos2d-x/pull/20743
2022-08-10 21:08:51 +08: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
unknown 5685db91a3 closeKeyboard() method for EditBox 2022-08-02 03:02:35 +05:30
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08: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
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +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
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
halx99 768a8bd5e1 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
halx99 03628930cb string_view 2022-06-20 01:49:50 +08:00
halx99 86921d2c9e Delete unused comment 2022-06-11 15:30:51 +08:00
rh101 65b70dce36 Allow the forced reformatting of RichText contents 2022-05-25 11:42:12 +10:00
halx99 810b0f563d Fix incorrect sampler for non-aligned video files 2022-05-09 10:05:33 +08:00
一线灵 e4170ffc59
Fix indent 2022-05-07 20:40:54 +08:00
halx99 eb5c7758cc Fix #627 2022-05-07 20:21:22 +08:00
DelinWorks ad88b2628b Update UIVideoPlayer-win.cpp 2022-05-02 05:35:45 +03:00
halx99 4a35a8f8ae Add setPlayRate for UIVideoPlayer for windows only 2022-04-28 12:14:08 +08:00
Shatyuka d71c620fc1 Compatible with Ninja 2022-04-26 15:16:02 +08:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 0ea2db2dfd Improve use prebuilt engine libs for windows
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99 4b685e9cb8 Fix #609 2022-03-24 11:03:17 +08:00
halx99 36fa5ad84e Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 886a7728ed Fix #602 c++20 compile errors 2022-03-17 09:37:56 +08:00
halx99 74052fd7b0 Improve shader compatible 2022-03-13 13:07:58 +08:00
halx99 2b290bd734 Enable video player test case for windows 2022-02-24 18:30:58 +08:00
halx99 97f6b0e9a5 Move video player implementation to a unique folder 2022-02-24 18:13:01 +08:00
deal 7a89757385
Add windows video play support [render video sample to texture2d] (#577)
* [Draft] Implement windows video player

Based on microsoft media foundation

* Delete pvd

* Shutdown MF media before release player

* Consider MFMediaPlayer ref leak

* Use Microsoft::WRL::ComPtr

* Simplify code

* Improve code and take care COM object refs

* Update UIVideoPlayer-win.cpp

* Delete unused code

* Add play from url support

* Update logic

* Rename ADXE_ENABLE_MFMEDIA to AX_ENABLE_MFMEDIA

* Rescale video render sprite to view node

* Fix warnings

* Don't shallow copy the video context, it's very dangerous

* Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1

* Fixup

* [Window video player] play event dispatch

* support switch video file

* Update UIVideoPlayer-win.cpp

* [windows-video-player] keep aspect ratio and full screen support

* Improve code

* Update changelog [skip ci]

* Update README.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md
2022-02-24 17:57:08 +08:00
deal a068468333
Fixup 2022-02-23 18:56:26 +08:00
halx99 2be191e380 Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1 2022-02-23 18:39:02 +08:00
halx99 70dc9922ef Don't shallow copy the video context, it's very dangerous 2022-02-23 17:38:21 +08:00
halx99 818e563e51 Finish #578 2022-02-17 17:11:17 +08:00
halx99 3409456f3f Fix #587
Note: New OS feature 'Beta: Use Unicode UTF-8 for worldwide language support' since win10/win11
- OFF: GetACP() equal to current system locale, such as chinese simplified is 936, english is 437
- ON: GetACP() always equal to 65001(UTF-8)

Remark:
  The macro CP_ACP for ntcvt::from_chars works for converting chraset from current code page(936,437,65001) to utf-16
2022-02-16 11:56:33 +08:00
DelinWorks f0c91e38c1 Update UITextField.h 2022-02-15 17:19:26 +03:00
DelinWorks 696b346560 feature-expose-detach-function 2022-02-15 17:17:45 +03:00
halx99 64e678c84a Remove unnecessary parameter 2022-02-06 13:06:49 +08:00