Commit Graph

539 Commits

Author SHA1 Message Date
halx99 7226125e7e Update project url in sources 2023-03-12 01:44:55 +08:00
halx99 da0085276a [UWP] Add API GLViewImpl::createFullScreen
- Fix for luabindings
2023-03-11 23:19:52 +08:00
halx99 418bef4bae Fix ci 2023-03-11 23:14:04 +08:00
halx99 1e66a93868 Improve API GLViewImpl::createWithRect 2023-03-11 22:53:55 +08:00
Deal(一线灵) b46417809d
Windows Store UWP apps support (#1108)
* [BIG FEATURE] Windows Store UWP apps support

* Fix ci, add uwp for pr-ci

* Fix ci

* Improve ci script

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Upload uwp appx package artifacts [skip ci]

* Use d2d draw system font text

* Fix ci

* Improve code style
2023-03-11 22:10:18 +08:00
halx99 2d8d754cd9 Remove range-v3 which is not compatible UWP c++17 2023-03-10 13:20:45 +08:00
halx99 6e5723b590 Fix compile errors in c++17 2023-03-08 08:34:17 +08:00
Turky Mohammed b68ecc7cd2
[BUG] TileMap flipped/rotated animated tiles incorrect rendering. (#1098)
* Add test cases

* Delete default_hrtf.txt

* Fix rotated/flipped animated tile maps

* Optimize bitwise operations

* improve bitwise operations
2023-03-07 23:26:37 +08:00
RH f29115d011
Add missing renderer source file references to CMakeLists.txt (#1100)
* Add missing file references to CMakeLists.txt
2023-03-07 18:51:58 +08:00
Turky Mohammed 4c2856998a
[BUG] TileMap OpenGL pixel-tolerance fix (#1085)
* Update CCFastTMXLayer.cpp

* [skip ci]

* Implement equation into engine

* Update CCFastTMXLayer.cpp [skip ci]

* [correction] fix sub-pixel equation
2023-03-06 22:41:16 +08:00
halx99 bc0b7da754 Fix dead lock when post new http request on failure callback 2023-03-06 12:13:12 +08:00
halx99 61eedc593f Add more compatible macros 2023-03-04 16:13:21 +08:00
halx99 bd4f11d7ed Add more compatible macro [skip ci] 2023-03-04 15:48:33 +08:00
halx99 d72d21de81 Fix #1082 2023-02-27 15:43:35 +08:00
aismann ee703dc421
removed unused variable: const Vec2 pt (#1079)
const Vec2 pt(so.x / PRECISION, so.y / PRECISION);
2023-02-26 04:29:57 +08:00
halx99 b05f1efb15 Fix #1075 2023-02-25 06:21:23 +08:00
halx99 ba61e83191 Improve UserDefault code style 2023-02-23 21:59:27 +08:00
Deal(一线灵) 1ae9cd33ae
Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
RH c628e0f428
Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
aismann 1b4c7b9976
Visible artifacts on DrawNode::drawCircle() with a corresponding lineWidth > 5 (window resizing issue) (#1050)
* Fix DrawNode::drawCircle() behavior itf the window is resizing.

* Update CCDrawNode.cpp

Tested also with
resourceSize(960, 640) or (1280, 720)
designSize(480, 320) or (400, 320);


Making a deal with the "boss"

* Update drawCircle and Tests

_lineWidth/4  is needed => the circle grow to fast without

---------

Co-authored-by: Deal(一线灵) <halx99@live.com>
2023-02-22 20:02:20 +08:00
RH f3930a15f4
Scrollbar visibility fix for when auto hide is disabled (#1067)
* Fix for scrollbar visibility when auto-hide is disabled

* Set the default opacity to 255 when the scrollbar auto hide is disabled since _opacity is unknown
2023-02-22 11:13:56 +08:00
RH 76b8747874
Trim leading space from wrapped lines of text in RichText (#1066)
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
halx99 a7ae735893 Check astc image header wildcard for some extesion formats [skip ci] 2023-02-18 11:43:44 +08:00
halx99 49284f4cc2 Working on c++23
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
Turky Mohammed 2712f0ee2f
Add Anchored Sprite Class (#1040)
* add anchored sprite class

* Add feature tests
2023-02-10 14:07:20 +08:00
Andreas Loew d96876db07
display error message if shader initialization fails (#1051) 2023-02-09 23:07:36 +08:00
Deal(一线灵) 5b9fa73640
Fix #990 2023-02-09 21:40:38 +08:00
halx99 b746c936a9 Fix ci 2023-01-24 15:49:40 +08:00
halx99 405844b0e0 Fix platform macro pred 2023-01-24 13:58:29 +08:00
halx99 565e36eb21 Fix macro detect 2023-01-24 11:09:16 +08:00
Joilnen f448cf7073
fixing a warning message (#1035) 2023-01-22 14:10:39 +08:00
Deal(一线灵) 542fe86aab
Update CCGLViewImpl-desktop.cpp 2023-01-22 07:39:46 +08:00
halx99 bfc4e0b890 Fix ci 2023-01-21 21:57:28 +08:00
halx99 db1b74466c Fix ci 2023-01-21 20:04:58 +08:00
halx99 704b1655eb Fix osx ci 2023-01-21 19:24:58 +08:00
halx99 21d8495792 Fix ci 2023-01-21 18:49:02 +08:00
halx99 668da36bcf Unify CCGLViewImpl-desktop 2023-01-21 17:57:56 +08:00
halx99 559e958bc3 Fix osx ci 2023-01-21 16:56:04 +08:00
solan-solan 64034df2ad
GL_RGBA32F GL backend support (#1034)
* Added GL_RGBA32F_EXT for GL backend to support floating point textures.

* Committing genbindings changes

* Added fp texture constant to mtl.

Co-authored-by: solan-solan <solan-solan@users.noreply.github.com>
2023-01-19 22:10:41 +08:00
halx99 9f94bd461e Fix #1032 2023-01-17 10:06:09 +08:00
Deal(一线灵) 2b0484a40b
Update CocosGUI.h 2023-01-12 11:55:16 +08:00
halx99 047574d8e6 Update comment [skip ci] 2023-01-12 09:54:47 +08:00
halx99 9eb65309b9 Don't use deprecated function 2023-01-11 23:28:22 +08:00
halx99 d1e9308ede Improve windows optional modules 2023-01-11 22:28:14 +08:00
pietpukkel 6c7d2a26c3
Resize on Windows (#1026)
* Resize on Windows

Fixed resize on Windows

* Better code quality

Co-authored-by: <halx99@live.com>
2023-01-11 22:24:43 +08:00
halx99 d56efd5a57 Make linux defautSearchRoot same with win32 2023-01-10 23:06:04 +08:00
Turky Mohammed 5f9db1203f
[BUG] fix _AX_HAVE_WEBVIEW2 compilation error when not defined. (#1020)
* make _AX_HAVE_WEBVIEW2 actually work

* Exclude other platforms

* Update UIWebView-inl.h
2023-01-08 09:36:43 +08:00
Turky Mohammed 54eb339f5f
Update positionColorLengthTexture.vert (#1021) 2023-01-08 09:36:14 +08:00
一线灵|Deal 8ab4be0123
fix typo 2023-01-07 20:24:49 +08:00
一线灵|Deal 25934b84f2
Fix typo 2023-01-07 19:46:20 +08:00