Commit Graph

802 Commits

Author SHA1 Message Date
axmol-bot 4f23e9499a
Committing luabindings for commit d956f43 (#2255)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-12-05 01:33:46 +08:00
aismann 2e70bfc98a
DrawNode calls: replacing Color4F with Color4B (without the 'test' folder!) (#2192)
* drawNode calls: replace Color4F with Color4B

* replace Color4F

* removed unused includes
2024-10-01 19:10:07 +08:00
halx99 95629d9978 Update 3rd libs & emsdk 2024-09-28 15:41:34 +08:00
aismann 30a899ee07
Update README.md (thirdparty) (#2183)
* Update README.md (thirdparty)

* Update README.md
2024-09-25 12:35:58 +08:00
aismann f320ba1f66
Remove all DrawNode setLineWidth() stuff (#2172)
* remove all setLineWitdth stuff

* Update axlua_base_auto.cpp

* Update DrawNode.cpp
2024-09-23 22:13:12 +08:00
halx99 cf34faa20c Remove unused extension: DrawNodeEx 2024-09-22 09:47:33 +08:00
aismann c488380170
Add (missing) parameter 'drawLineToCenter' to 'drawSolidCircle(...)' (#2160)
* Add parameter drawLineToCenter to drawSolidCircle

* fix  drawSolidTringle/drawTriangle

* Update axlua_base_auto.cpp
2024-09-17 22:09:05 +08:00
Purple 96be23ebd4
Fix LuaJit Compilations (#2159) 2024-09-16 22:53:41 +08:00
halx99 2d16634072
Fix compiling deprecated issues (#2154) 2024-09-15 23:37:42 +08:00
halx99 c524c7dc8b
Fix EventMouse coords (#2141) 2024-09-14 00:58:09 +08:00
halx99 a6dd7e932d
Allow turn on/off deprecated features, follow #2111 (#2136)
- Add new cmake option: `AX_CORE_PROFILE`
- Remove deprecated stubs from extension: `cocostudio`
- Remove `AX_DEPRECATED_ATTRIBUTE`
2024-09-13 02:17:35 +08:00
axmol-bot 2fddd426f5
Committing luabindings for commit dfa68a4 (#2131)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-09-07 09:53:50 +08:00
halx99 dfa68a4cdf Rename FileUtils::getFileExtension to getPathExtension 2024-09-07 00:18:08 +08:00
axmol-bot e3e58d7a28
Committing luabindings for commit 4ae3792 (#2130)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-09-06 23:00:52 +08:00
aismann 4ae3792164
DrawNode V2 (#2124)
* DrawNodeV2 ready4merge

* Update README.md

* Lua stuff

* Update DrawNode.h

* Update DrawNode.cpp

* Update DrawNode.cpp

* Update DrawNode.cpp

* Add the cocos2dx test again, add some improvements

* Some improvements

* Remove CandyMix from Android devices

* Update DrawNodeTest.cpp

* Clean tester code
2024-09-06 21:31:18 +08:00
j-jorge b436da431f
Remove the USING_NS_AX and NS_AX macros. (#2103) 2024-08-27 19:46:15 +08:00
j-jorge 15268dc182
Remove the NS_AX_BEGIN and NS_AX_END macros. (#2100) 2024-08-26 00:25:33 +08:00
aismann 8341ce67b9
DrawNodeV2 0.97 (ready for "replacing" DrawNode) (#2095) 2024-08-19 18:52:52 +08:00
aismann b1f88b4e9d
DrawNodeV2 0.96.0 (#2086) 2024-08-14 22:09:00 +08:00
RH 80a82555c0
Allow setting custom config for ImGui fonts (#2085) 2024-08-13 00:08:49 +08:00
halx99 b25b702d97 Release 2.1.5 (#2076)
* Fix  unexpected libpng used

* Fix string format incorrect for tests

* Fix #1751, use coroutine control AutoTest flow

* Update CHANGELOG.md

* Added OpenType font (.otf) to the noCompress list. (#2077)

* Update 1k & copyright notice in some sources

* Move doctest to axmol 3rdparty

* Fix ci

* Update 1kdist to v90

* Update 1kiss.ps1

* DrawNodeV2 0.95.1 (#2079)

* Rename remaining legacy engine related spells and improve code style

* Update 3rdparty README.md

* Fix checkReallySupportsASTC does not work on ios device

reported by @BIGCATDOG in https://github.com/axmolengine/axmol/issues/2078

* Fix ci

* FastRNG: add missing include for AXASSERT (#2081)

* Delete unused files

* Improve FileUtils

- Rename FileUtils::createDirectory to FileUtils::createDirectories
- Use splitpath_cb to optimize FileUtils::createDirectories
- Rename FileUtils::getFileShortName to FileUtils::getPathBaseName
- Rename FileUtils::getFileExtension to FileUtils::getPathExtension
- Add FileUtils::getPathDirName
- Add FileUtils::getPathBaseNameNoExtension
- Mark all renamed FileUtils stubs old name deprecated
- Mark all FileUtils offthread APIs deprecated

* Update box2d to v2.4.2

* Disable /sdl checks explicitly for winuwp

For axmol deprecated policy, we need disable /sdl checks explicitly to avoid compiler traits invoking deprecated functions as error

* Update cppwinrt to 2.0.240405.15

* Update simdjson to 3.10.0

* Fix box2d testbed compile error

* Improve file path to url

* Fix FileUtils::createDirectories unix logic

* axmol-cmdline: remove arch suffix for host build output directory

* Update CHANGELOG.md

* Update lua bindings

---------

Co-authored-by: Dani Alias <danielgutierrezalias@gmail.com>
Co-authored-by: aismann <icesoft@freenet.de>
Co-authored-by: smilediver <smilediver@outlook.com>
2024-08-11 23:51:35 +08:00
halx99 636a42ab54 Fix #2069 liv2d compile error 2024-08-04 23:51:22 +08:00
RH b4f83f4107
Use correct starting index of index buffer. Fixes 2051 (#2052) 2024-07-24 21:02:19 +08:00
halx99 11b8d28fd7
Mark StringUtils::format deprecated, use fmt::format instead (#2029) 2024-07-13 22:53:14 +08:00
axmol-bot b54cb19eb1
Committing luabindings for commit fe0adcb (#2026)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-07-12 00:24:04 +08:00
aismann fe0adcbb1f
Rename all AXLOG/printf to AXLOGD (without .\core, .\3rdparty) (#2020) 2024-07-11 23:28:31 +08:00
smilediver d79a202e6e
Renderer fixes (#1996)
* Backend: remove RenderTargetFlag and refactor depth/stencil state setup

* Fix Z-test and Z-write being enabled by default for main queue

* GL: fix framebuffer attachment not being cleared

* Use dirtyFlags for RenderTarget update

---------

Co-authored-by: halx99 <halx99@live.com>
2024-06-29 00:20:32 +08:00
aismann 8175eb2ade
DrawNodeV2 0.94 (currently DrawNodeEx) (#2008) 2024-06-29 00:15:02 +08:00
halx99 ad051f353f
Update TLD to axmol.dev in sources (#1977) 2024-06-10 02:25:43 +08:00
RH 4e055d8e3d
Update spine README.md (#1975) 2024-06-09 19:05:28 +08:00
halx99 92143c0b67 Fix lua bindings 2024-06-08 01:06:46 +08:00
halx99 99b405e68c Update tolua config 2024-06-07 20:18:43 +08:00
halx99 8eeed46cfc
Add JobSystem support (#1968) 2024-06-07 00:33:01 +08:00
axmol-bot 5f4c08d46b
Committing luabindings for commit 66ca90c (#1959) 2024-06-04 00:08:04 +08:00
axmol-bot 43d755f1ed
Committing luabindings for commit eee37e5 (#1941) 2024-05-30 20:55:05 +08:00
Purple eb0e6ef50d
Added glyph ranges manager for ImGuiPresenter, added ability to use glyph ranges for Inspector's font (#1936)
* Added glyph manager for ImGuiPresenter

* renamed glyph ranges constants

* for static code conduct

* for code of conduct 2

* removed some duplication and better format

* removed extra space
2024-05-29 23:56:03 +08:00
Purple d826793cd0
Add ability to change Inspector's font size (#1932) 2024-05-27 08:55:35 +08:00
halx99 905fce52d0
Release 2.1.3 (#1925)
* Update CHANGELOG.md

* Update publish.ps1

* Enable lua bit module for all lua versions supported by axmol

* Fixup

* Enable build lua-tests on gh ci

* Update ChangeLog

* Update CHANGELOG.md

* updUpdate 1kdist to v86
2024-05-26 12:53:08 +08:00
RH db1b022128
Fix crash due to invalid pointer (#1920) 2024-05-23 01:25:59 +08:00
aismann 5b8a07413b
DrawNodeEx/DrawNodeExTest update (#1914)
* Fix issue #1546 of UILayout(#1549) and small performance boost

* add test

* Update DrawPrimitivesTest.cpp (Smaller tester code)

* Update DrawNodeEx.h

AX_EX_DLL

* Update AXLinkHelpers.cmake

* Update Console.cpp (removed the '\n' which creates an second (empty) line)

* segment stuff

* .

* add some more tests

* Issue  1888

* .

* add all DrawNode cocos2dx

* .

* .

* .

* add feature for drawing in correct order

* .

* Update DrawNodeEx.cpp

* .

* Update DrawNodeEx.cpp

* DRAWNODE_TRIANGLE_ONLY

* DRAWNODE_DRAW_LINE_POINT

* .

* Update DrawNodeExTest.cpp

* Update DrawNodeExTest.cpp

* .

* .

* Add round brackets

* commendet this both lines (check it in next version)

* .
2024-05-22 18:48:36 +08:00
halx99 c07139544b Update imgui to 1.90.6 2024-05-19 01:42:48 +08:00
axmol-bot beb873ea2a
Committing luabindings for commit 49bd2bc (#1900) 2024-05-16 21:49:22 +08:00
aismann 90586f8a76
Bring the latest extension::DrawNodeEx to axmol (#1883)
* latest version 0.91

* renamed all ensureCapacityGL* to ensureCapacity*

* replace  v2ToTex2F ->Tex2F
2024-05-07 23:07:04 +08:00
RH 5ee1c8e74f
[FairyGUI] Use content scale factor to correctly set up a scale 9 sprite (#1884)
* Ensure that the content scale factor is used to correctly set up a scale 9 sprite

* Insets defined in FairyGUI editor should be scaled too, which simplifies the fix.

* Update copyright for Axmol related modifications
2024-05-06 20:39:26 +08:00
halx99 1d8233d3ad Add AXLOGD,AXLOGI,... functions for lua 2024-05-06 09:10:26 +08:00
axmol-bot ded98f57dd
Committing luabindings for commit 33c328e (#1879)
Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-05-05 00:56:36 +08:00
halx99 33c328e910 Update luabinding: ax::Ref ==> ax::Object 2024-05-05 00:34:51 +08:00
Deal 004065a054
Rename ax::Ref ==> ax::Object (#1877)
* Rename ax::Ref ==> ax::Object

* Update Object.h [skip ci]
2024-05-03 22:15:08 +08:00
halx99 e3e3460aca Update ImGui to v1.90.5 2024-05-02 15:37:12 +08:00
RH 8b4ac1d262
Setup vertex data before adding new RenderCommand to ensure data is copied across to backend buffers correctly. (#1875) 2024-05-02 10:33:04 +08:00