Commit Graph

3372 Commits

Author SHA1 Message Date
halx99 20e2a7edcf Fix docs gen 2023-06-12 11:02:17 +08:00
halx99 5612482744 Improve docs gen and fix genbindings 2023-06-12 10:26:08 +08:00
Deal(涓€绾跨伒) dfdca7c268 Fix ci 2023-06-12 09:24:13 +08:00
halx99 85111a4cc3 Improve engine version definitions 2023-06-12 09:14:23 +08:00
halx99 9c2bfb09e4 Update ChangeLog [Commits on Jun 11, 2023] 2023-06-11 21:28:47 +08:00
halx99 02cc0a1743 Delete unused sources 2023-06-11 19:21:05 +08:00
halx99 63175a193e Move win32 _ftruncate impl to base/posix_io.cpp 2023-06-11 19:19:12 +08:00
halx99 448d03f0d2 Improve sources-migrate [skip ci] 2023-06-11 17:48:29 +08:00
halx99 359ba3ab8b Migrate templates includes 2023-06-11 17:42:53 +08:00
Deal(涓€绾跨伒) 85f77eaf73 Update README.md 2023-06-11 15:36:27 +08:00
halx99 7194dd4de8 Improve sources-migrate [skip ci] 2023-06-11 15:35:18 +08:00
halx99 b13a5a4aab Improve sources-migrate [skip ci]
- support migrate specific folder
2023-06-11 15:31:16 +08:00
halx99 2d81db7869 Fix lua bindings 2023-06-11 15:07:31 +08:00
halx99 2cd3f8c6c9 Move posix io macros to base/posix_io.h 2023-06-11 14:39:19 +08:00
halx99 3a3881ae93 Improve sources-migrate 2023-06-11 14:38:54 +08:00
halx99 279b635405 Fix genbindings 2023-06-11 14:38:34 +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
Deal(涓€绾跨伒) bc82034ffd Improve media-engine for android, linux (#1228)
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme

* Fix ci

* Improve code style

* Improve

* Update VlcMediaEngine.cpp

* Update AvfMediaEngine.h

* Fix ci

* Improve code style

* Enable androidx gradle.properties [skip ci]

* Improve code style

* Remove unnecessary callbacks

* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
halx99 2da66a8f1f Improve gradle script 2023-06-06 11:15:46 +08:00
halx99 4ea68dd804 [CI] Only build cpp-tests for android 2023-06-06 10:33:00 +08:00
halx99 8bbe962704 Update JNI call 2023-06-05 21:55:23 +08:00
halx99 5d79202f49 Update VideoPlayerTest url [skip ci] 2023-06-05 21:49:33 +08:00
halx99 278b1ac184 Update README.md 2023-06-05 21:47:37 +08:00
halx99 5e9415e09c Committing genbindings changes 2023-06-05 09:19:09 +00: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 53a5057867 [Audio] Fix _onALCEvent prototype 2023-06-04 10:04:08 +08:00
Deal(涓€绾跨伒) b534d9d1f4 Improve code style 2023-06-02 17:15:01 +08:00
Deal(涓€绾跨伒) 2de66bbefa Update AudioEngineImpl.cpp 2023-06-02 01:59:05 +08:00
halx99 8771b3e476 [Audio] Improve device handling 2023-06-01 20:54:55 +08:00
halx99 583d0a578f [Audio] alSourceAddNotificationExt not present openal-soft 2023-06-01 14:51:00 +08:00
halx99 e05d0c4905 [Video] Enable VideoTexture streaming for iOS 2023-06-01 12:48:40 +08:00
Deal(涓€绾跨伒) 0507082895 [Audio] Fix can't hear sound in ios simulator 16.0 2023-06-01 12:32:58 +08:00
Deal(涓€绾跨伒) 406f4e3b56 Update README.md 2023-06-01 00:06:35 +08:00
Deal(涓€绾跨伒) 92a95cc330 Revert "Update openal-soft to latest for UWP support" (#1223)
* Revert "Update openal-soft to latest for UWP support"
2023-05-31 23:57:33 +08:00
halx99 bfcd3001c6 Add openal-soft feature `ALC_SOFT_system_events` check 2023-05-31 21:43:11 +08:00
halx99 3c5ad508b5 [REFINE] Improve Audio Engine, properly continue play after device state changed
i.e.

- Default device changed
- Device disconnected (Android oboe)
2023-05-31 20:46:11 +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(涓€绾跨伒) 4aba036936 Remove duplicate using 2023-05-31 20:32:07 +08:00
halx99 4899f00893 Committing genbindings changes 2023-05-31 12:31:31 +00:00
Maksymilian Galas 6b5ee65d6e Add support for haptic feedback on iOS and Android devices (#1222)
* Add support for haptic feedback on iOS and Android devices

* Disable haptic feedback on tvOS

* Remove unused import
2023-05-31 20:14:31 +08:00
halx99 c097fc0271 Improve docs, move dev setup instructions to docs/DevSetup.md 2023-05-31 12:58:15 +08:00
aismann 33405d0bc6 On "57: Node:RotateWorld" replace cocos2d with axmol logo (#1220) 2023-05-30 19:49:50 +08:00
Deal(涓€绾跨伒) 9f98262e10 Update VERSION.txt 2023-05-30 10:19:09 +08:00
Deal(涓€绾跨伒) bbebb28277 [REFINE] Reopen alsoft device when default device changed (#1219) 2023-05-29 20:19:17 +08:00
halx99 f5526f8c42 Fix compile warnings 2023-05-27 23:21:25 +08:00
Deal(涓€绾跨伒) cd123d7a15 [REFINE] Use ipv4 address preferred for console command server (#1216) 2023-05-26 22:13:47 +08:00
Deal(涓€绾跨伒) df3d3586b6 [REFINE] Win32: Avoid video frames buffer accumulation (#1215) 2023-05-26 19:41:01 +08:00
Deal(涓€绾跨伒) dca6c87c4a [Refine] Improve exit flow (#1213) 2023-05-25 15:45:00 +08:00
halx99 5511af4a47 Committing genbindings changes 2023-05-23 11:54:13 +00:00
Deal(涓€绾跨伒) dabc0124e7 Add 1 overload AudioEngine::play2d for time offset support (#1210)
Usage:

`AudioEngine::play2d("xxx/xxx.mp3", AudioPlayerSettings{false/*looping*/, 1.0f/*volume*/, 2.0f /*time offset in seconds*/});`
2023-05-23 19:44:20 +08:00