Commit Graph

39554 Commits

Author SHA1 Message Date
halx99 63ac9904c4 Fix crash from pr: #340 2021-04-24 18:15:54 +08:00
halx99 39b5e14489 Update spine runtimes 2021-04-24 18:14:30 +08:00
halx99 320140b154 Fix clang-format props 2021-04-24 18:13:28 +08:00
HALX99 f97a6819e8
Update .clang-format 2021-04-24 17:11:04 +08:00
halx99 01f2ce3a2d Fix indent with clang-format [ci build] 2021-04-24 16:58:41 +08:00
HALX99 dd69c21c0e
Merge pull request #340 from rh101/vfs-support
Enhance FileStream support to allow usage of virtual file systems
2021-04-24 16:30:26 +08:00
rh101 e1a9141a00 openFileStream now returns a nullptr if it fails 2021-04-24 09:22:27 +10:00
rh101 5b3b0989b4 Remove redundant std::move 2021-04-23 22:00:33 +10:00
rh101 373c9262c4 Added getNativeWritableAbsolutePath() which will always return the underlying file system raw path.
Re-enabled memory mapped UserDefault usage, since it now has access to the raw file system path.
2021-04-23 01:00:00 +10:00
rh101 cd0c5bfcee Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support 2021-04-23 00:01:47 +10:00
rh101 2aa2d69151 Move PosixFileStream class to its own files
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH b7506fed0c
Merge pull request #4 from rh101/master
Sync with master
2021-04-22 21:49:43 +10:00
RH 0886473e1b
Merge pull request #3 from c4games/master
Sync with master
2021-04-22 21:48:49 +10:00
rh101 15c8f2298d Use FileStream to write JPG images to disk 2021-04-22 21:36:26 +10:00
halx99 844119d162 Fix #339 [ci build] 2021-04-22 18:55:56 +08:00
halx99 49c1318fc1 Explicit set cmake minimum version at app/build.gradle [ci build] 2021-04-22 11:40:53 +08:00
rh101 684a0faf76 Fixed typo 2021-04-22 03:18:23 +10:00
rh101 8de1099614 Add support for virtual file system via custom FileStream and FileUtils implementations. 2021-04-22 03:15:49 +10:00
RH 2cef9f2e76
Merge pull request #1 from c4games/master
Sync with engine-x
2021-04-21 20:13:38 +10:00
halx99 e8c1d7bc2c Set cmake min version to 3.10 [ci build] 2021-04-21 14:05:44 +08:00
halx99 8eac361f40 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:35:29 +08:00
halx99 e3005cb1bd Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:30:39 +08:00
HALX99 6d57ecccc2
Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:39:42 +08:00
halx99 3a7594d965 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:02:55 +08:00
halx99 82fefa78d3 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:58:09 +08:00
halx99 d8a1298245 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:46:32 +08:00
halx99 cb7f26dbe1 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:44:12 +08:00
halx99 4a1405e79f Ensure build native first before compile java code
3ff5b16
2021-04-20 20:27:38 +08:00
halx99 3ff5b16847 Ensure build native first before compile java code 2021-04-20 20:25:32 +08:00
halx99 612710b1b6 Refine somethings & improve command cocos python3 support [ci build]
a. Change android sdk root env var to `ANDROID_SDK`
b. Change android ndk root env var to `ANDROID_NDK`
2021-04-20 16:13:48 +08:00
HALX99 273cd3c7c3
Update before-install.sh [ci build] 2021-04-08 23:32:34 +08:00
HALX99 b0d56dbc7c
Update before-install.sh [ci build] 2021-04-08 23:28:46 +08:00
HALX99 ab904cdcb1
Update before-install.sh [ci build] 2021-04-08 23:08:05 +08:00
halx99 d33ffa67cd Set gradle-wrapper to 6.8.3 [ci build] 2021-04-08 22:42:15 +08:00
HALX99 24f127e3ca
Update README.md 2021-04-02 10:22:10 +08:00
halx99 e1352dbede Track bt to 3.09 #333 2021-03-27 20:08:55 +08:00
halx99 958f6c3a93 Properly set gc mode for lua-5.4 [ci build] 2021-03-27 19:49:19 +08:00
halx99 9972ddd71c fix lua-tests cmake script 2021-03-26 17:10:37 +08:00
halx99 adf3483943 Fix CMakeLists for separating test projects [ci build] 2021-03-15 09:50:32 +08:00
HALX99 1590c200d5
Merge pull request #331 from c4games/cmake-improve
Improve cmake scripts
2021-03-13 18:46:32 +08:00
HALX99 6a868299f5
Merge pull request #330 from c4games/lua54-compat
Lua 5.4 compatible
2021-03-13 18:46:13 +08:00
halx99 9aebfd4b0d Improve cmake scripts
a. rename project 'plainluac' to 'luac'
b. add executable project 'lua'
c. unify cmake runtime directory to bin
2021-03-13 18:18:40 +08:00
halx99 a5cf017e0f Lua 5.4 compatible 2021-03-13 16:47:09 +08:00
halx99 91bfb7c8ff Update win32 prebuilt libs
1. build with msvc toolset 14.28.29910.0
2. curl-7.75, openssl-1.1.1j
3. angle branch chromium/4439
4. openal-1.21.1 (7533)
2021-03-08 00:06:11 +08:00
halx99 87d00a32de Fix #326 [ci build] 2021-02-24 18:50:13 +08:00
halx99 41f5307d36 Refine director access [ci build] 2021-02-05 23:09:14 +08:00
halx99 3f1f872ba0 Disable luajit compile for release build 2021-02-05 21:59:50 +08:00
HALX99 bd79c4f893
Update LICENSE 2021-02-03 15:37:48 +08:00
HALX99 138781151a
Fix depth stencil state/desc (#321)
* Fix ds state

* fix 3d object not render

* Update DepthStencilStateGL.cpp

* fix ds, not complete

* fix image ref incorrect

* Fix metal captureScreen

* Share ds desc
needs restore properly after non-default render target destroy.

* fix gl compile

* Sync ds desc

* Only set vertex & index buffer once for batch draw

* Add set/get ds desc for renderer

* Refine code style

* Fix RenderTextureTest
a. should restore stencil desc properly

* Sync gl captureNode

* Sync GL
2021-01-31 22:22:52 +08:00
halx99 04b87dfe5d Fix #318 2021-01-27 12:03:42 +08:00