j-jorge
c2d7bdcb45
Allow unity builds on a subset of the sources. ( #1266 )
...
In order to allow unity builds we need to avoiding "using namespace"
at file scope, #undef our file-specific #defines, and avoid having
static functions with identical name and signature.
2023-07-15 19:06:54 +08:00
j-jorge
fcdbd9968e
Add missing include guards. ( #1265 )
2023-07-10 08:47:20 +08:00
j-jorge
0af6db6345
Add missing include guard in NinePatchImageParser.h ( #1248 )
2023-07-01 08:53:09 +08:00
j-jorge
049db01a8a
UserDefault: check the result of posix_ftruncate. ( #1249 )
2023-07-01 08:51:29 +08:00
halx99
c06d5af3f8
Move queueOperation from GLView to Director
2023-06-25 01:17:29 +08:00
halx99
3eac3abecf
Sync yasio to latest
2023-06-24 21:18:27 +08:00
Deal(涓€绾跨伒)
feffe4095c
Update 3rd sources ( #1240 )
...
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
halx99
63175a193e
Move win32 _ftruncate impl to base/posix_io.cpp
2023-06-11 19:19:12 +08:00
halx99
2cd3f8c6c9
Move posix io macros to base/posix_io.h
2023-06-11 14:39:19 +08:00
Deal(涓€绾跨伒)
abd8029f64
Remove CC prefix from code file name ( #1230 )
...
* Add migrate sources tool
* Fix include replace regex
* Fix compile
* Migrate maually
* Disable sources-migrate tool by default
* Fix ci
* Fix ci
* Improve source migrate
* Fix ios/tvos ci
* Fix ios/tvos ci
* Fix
2023-06-11 13:08:08 +08:00
RH
978648e5a9
Factor in protected nodes when creating global Z node priority map for event dispatcher ( #1224 )
2023-06-05 17:09:50 +08:00
halx99
f0db2648fe
[FEATURE] Add new API GLView::queueOperation
...
- Queue a priority operation in render thread, even through app in background
- Please do logic in callback, don't update ui or any other render state
usage
```
Director::getInstance()->getOpenGLView()->queueOperation([](void* param){
// do somethings for logic only(Don't update render state or UI)
});
```
2023-05-31 20:42:39 +08:00
Deal(涓€绾跨伒)
cd123d7a15
[REFINE] Use ipv4 address preferred for console command server ( #1216 )
2023-05-26 22:13:47 +08:00
Deal(涓€绾跨伒)
dca6c87c4a
[Refine] Improve exit flow ( #1213 )
2023-05-25 15:45:00 +08:00
halx99
5c459de11c
Update yasio to latest
2023-05-15 16:57:02 +08:00
halx99
233d2d8ada
Fix ci
2023-05-14 22:52:40 +08:00
halx99
50b9249e28
Update yasio to latest
2023-05-14 22:39:05 +08:00
halx99
86242db115
Fix ci
2023-05-14 18:24:41 +08:00
halx99
cdf65a5ef1
Fix ci
2023-05-14 18:16:24 +08:00
halx99
7220abdb6f
Fix ci
2023-05-03 20:34:45 +08:00
Turky Mohammed
90bc5108cd
Refactor HSV/HSL ( #1187 )
...
* Refactor HSV/HSL
some code in `CCParticleSystemQuad.cpp` depends on changes made in `HSV/HSL` classes.
* remove incorrect const&
2023-04-26 17:44:32 +08:00
Turky Mohammed
aed837b0ae
Update ccTypes.cpp ( #1184 )
2023-04-25 10:39:52 +08:00
Deal(涓€绾跨伒)
1e6e9d4a8d
Media engine video texture ( #1133 )
...
* VideoPlayer based on new MediaEngine[Win32/UWP]
* Improve MediaEngine interface
* Update readme
* Improve pixel format
* Improve MediaEngine interface
* Ready for PR UWP/Win32
* Ready for PR UWP,Win32
* Update reademe files
* Update readme files
* Update UIVideoPlayer-android.cpp [skip ci]
* Update UIVideoPlayer-ios.mm
* Update MFUtils.cpp
* Fix ci
2023-03-25 08:37:51 +08:00
Deal(涓€绾跨伒)
277bcd44ce
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
f452a3d173
Remove range-v3 which is not compatible UWP c++17
2023-03-10 13:20:45 +08:00
halx99
8bf4817ff7
Fix compile errors in c++17
2023-03-08 08:34:17 +08:00
halx99
ed9c2d161c
Improve UserDefault code style
2023-02-23 21:59:27 +08:00
halx99
e6a3aedff0
Working on c++23
...
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
halx99
ae14727dc7
Fix #1032
2023-01-17 10:06:09 +08:00
halx99
fa9f663e3a
Don't use deprecated function
2023-01-11 23:28:22 +08:00
halx99
98efcfe193
Update yasio to latest
2023-01-04 23:20:07 +08:00
halx99
a8916dfd50
Preferred use ax::print for engine log output
2023-01-04 22:52:40 +08:00
halx99
2522b1ef45
Fix feature check for MSVC
2023-01-03 18:01:40 +08:00
halx99
b644220459
Fix ci
2023-01-01 18:41:48 +08:00
halx99
319aaf3a49
Renaming performFunctionInCocosThread to runOnAxmolThread
2023-01-01 18:08:25 +08:00
halx99
0f97e3fa3a
Improve base64 API
...
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
halx99
ad83c5e95f
Move SIMD detection to AXConfigDefine.cmake
2022-12-17 11:56:48 +08:00
RH
2e30b51ab7
Add a pool for GroupCommand rendering commands ( #969 )
...
* Committing genbindings changes
* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios
* Ensure captureNode works as expected.
* Set member variables to default values when init method is called on the GroupCommand
* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee
5f6e1cd42d
Fix warnings (implicit conversion loses and use of deprecated function)
2022-11-20 09:58:34 +09:00
joilnen
5214ea1eb1
fixing some warnings compilation in linux gcc 12.2.0
2022-11-14 15:46:27 -03:00
Vincent Lee
97f8a8d544
Replace use of deprecated sprintf with snprintf
2022-11-14 16:02:16 +09:00
halx99
df91bc9d69
Improve ftruncate
2022-11-10 13:45:51 +08:00
涓€绾跨伒|Deal
6ddd6f0e05
Update CMakeLists.txt
2022-11-01 06:47:36 +08:00
halx99
a87bf2ee4b
Fix effekseer compiling [skip ci]
2022-10-31 14:30:33 +08:00
halx99
56d66aba67
Remove FileUtils::searchResolutionsOrderArray
2022-10-30 23:03:39 +08:00
halx99
9afa4a0255
Improve ax::Vector compiler compatible, also fix #933
2022-10-26 23:17:48 +08:00
halx99
376941da91
Migrate
2022-10-18 19:17:36 +08:00
halx99
abd9338a7a
Migrate [skip ci]
2022-10-18 19:13:40 +08:00
涓€绾跨伒|Deal
25d93bd509
Improve code quality (stage1.Oct) ( #916 )
...
* Improve code quality
* Add env PULL_REQUEST [skip ci]
* Update build.ps1
* Fix ci [skip ci]
* Update ZipUtils.cpp
* Update build.ps1
* Resolve reviews
* Improve
* Improve code style
* Resolve reviews
* Use pod_vector
* Improve resize growth
* Update CCAnimation3D.cpp
* Update axstd.h [skip ci]
2022-10-13 21:44:42 +08:00
halx99
8c18f962d5
馃敤Fix #887
2022-10-12 19:44:31 +08:00