Commit Graph

35 Commits

Author SHA1 Message Date
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
halx99 c06d5af3f8 Move queueOperation from GLView to Director 2023-06-25 01:17:29 +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
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
Deal(涓€绾跨伒) 0507082895 [Audio] Fix can't hear sound in ios simulator 16.0 2023-06-01 12:32:58 +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
Deal(涓€绾跨伒) bbebb28277 [REFINE] Reopen alsoft device when default device changed (#1219) 2023-05-29 20:19:17 +08: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
halx99 7039336946 Fix #855 2023-03-29 23:36:54 +08:00
halx99 fa9f663e3a Don't use deprecated function 2023-01-11 23:28:22 +08:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
涓€绾跨伒 9892aa3d1c Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 376c80dd2d 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
aismann 2a2e8a1e95 Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 c16a33e347 Migrate more macors 2022-07-16 10:43:05 +08:00
涓€绾跨伒 ac1872494c Remove unnecessary check [skip ci]
refer to #748
2022-07-15 19:44:31 +08:00
halx99 41d2c44308 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
涓€绾跨伒 bf77f46dce Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
halx99 c2acb3a744 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
DESKTOP-16GC0B8\813658 07bffb5df1 operator[] changed for better usage 2022-07-09 02:07:01 +03:00
Turky Mohammed 59c6611e71 Replace everything under `core` (#735)
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
Turky Mohammed d0b551d26b Merge: 6e1d48835e 193ed82788
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 16:55:30 +03:00
DelinWorks 5239256b13 Improve particle RNG and add useful functions
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 馃挭馃ザ
2022-05-23 16:04:09 +03:00
halx99 71c27f43d8 Fix ios device install problems
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
DelinWorks 4f7bbcdb48 Add TODO 2022-05-21 16:56:56 +03:00
halx99 38510615db Improve code style 2022-05-21 21:55:48 +08:00
DelinWorks 0a8035c12c Add sprite frame and animation descriptors support 2022-05-21 16:48:46 +03:00
halx99 6af9d55222 Remove unnecessary alGetError call 2022-05-20 17:26:33 +08:00
halx99 f1b56abfaf Tidy audio module code 2022-05-15 09:55:57 +08:00