Commit Graph

85 Commits

Author SHA1 Message Date
rh101 95cf5b5c2b Merge: 2aa2d69151 b7506fed0c
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101 54ffa13dff 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 1e15ed4839 Merge: 2cef9f2e76 844119d162
Merge pull request #3 from c4games/master

Sync with master
2021-04-22 21:48:49 +10:00
rh101 7540c06fd3 Use FileStream to write JPG images to disk 2021-04-22 21:36:26 +10:00
halx99 8ed6d34234 Explicit set cmake minimum version at app/build.gradle [ci build] 2021-04-22 11:40:53 +08:00
rh101 2bf12b2226 Add support for virtual file system via custom FileStream and FileUtils implementations. 2021-04-22 03:15:49 +10:00
halx99 569edd09e1 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:35:29 +08:00
halx99 96aea0ae6e Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:30:39 +08:00
halx99 3ea8e50d90 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:39:42 +08:00
halx99 0c87f1d4ef Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:02:55 +08:00
halx99 92e0eff6df Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:58:09 +08:00
halx99 98152f235b Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:46:32 +08:00
halx99 76646692fc Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:44:12 +08:00
halx99 e6467fac7b 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 366636e861 Update before-install.sh [ci build] 2021-04-08 23:32:34 +08:00
halx99 c14dafcbaa Update before-install.sh [ci build] 2021-04-08 23:28:46 +08:00
halx99 e05c59f7e1 Update before-install.sh [ci build] 2021-04-08 23:08:05 +08:00
halx99 984c164c57 Sync yasio to 3.35.0 [ci build] 2020-12-21 18:12:13 +08:00
aismann f38b271650 Update controller.cpp
"Node: Physics" using Chipmunk2D (hardcoded on e.g.: CCPhysicsBody.cpp)

Maybe a Wiki entry is also usefull?
2020-12-20 07:11:13 +01:00
halx99 b92c3d30c4 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 eb2917fbf6 Merge: d467b647e2 29819491f7
Merge branch 'master' of https://github.com/c4games/engine-x
2020-12-16 12:47:04 +08:00
halx99 14f38d0ebc Sync luabinding config file 2020-12-16 12:46:37 +08:00
halx99 808fdd6494 Update README.md 2020-12-16 12:33:22 +08:00
halx99 0b805564dc CI don't needs download deps manually [ci build] 2020-11-16 16:02:47 +08:00
halx99 e132a37b2b fix android nasm version print for ci [ci build] 2020-11-12 18:01:27 +08:00
halx99 efb1474aa7 Install nasm for ci [ci build] 2020-11-12 17:48:31 +08:00
halx99 5a4d0139c5 fix cjson can't use 2020-11-11 15:21:29 +08:00
halx99 ca9608e98a fix android ci [ci build] 2020-11-09 19:40:43 +08:00
halx99 58e8038ce9 fix ci [ci build] 2020-11-09 18:27:52 +08:00
halx99 98e2af183b Update run-scripts.sh [ci build] 2020-11-09 17:53:23 +08:00
halx99 47603f0ac6 Now, the lua binding generator should works [ci build] 2020-11-02 16:47:33 +08:00
halx99 6fb929c84f Sync readme files 2020-11-02 16:40:05 +08:00
halx99 970b2b3a58 Sync tolua template file 2020-11-02 16:38:08 +08:00
halx99 858d600a16 tolua mutli search paths support 2020-11-02 16:37:18 +08:00
halx99 37c64c5971 Sync config files 2020-11-02 12:50:51 +08:00
halx99 d6ca464614 Optimize python scripts 2020-11-02 11:35:44 +08:00
halx99 3835174a45 Sync folder for binding generator config 2020-11-01 20:18:50 +08:00
halx99 f55c974d18 Build android arch arm64-v8a only for ci, fix test case compiling warning 2020-10-26 11:12:55 +08:00
halx99 7b046814fc Migrate to github ci (#247) 2020-10-24 18:41:20 +08:00
halx99 97fe5954de Python3 no raw_input 2020-10-21 21:37:45 +08:00
halx99 2b52ce5613 Remove unused plugin_jscompile 2020-10-21 21:07:23 +08:00
halx99 2c884eb6df Also replace so name for proj.android when new project 2020-10-20 16:26:53 +08:00
halx99 51e3208e59 The command 'cocos new' python script now works both 2.x and 3.x 2020-10-20 12:51:04 +08:00
halx99 3741bbd7e2 Finish cpp and lua template to use env var 'COCOS2DX_ROOT' to avoid copy whole engine source when new project. 2020-10-19 18:33:10 +08:00
halx99 b3a9a9fa04 Sync build script 2020-10-08 23:25:32 +08:00
halx99 5afa150982 Sync official v4 tools 2020-10-08 22:32:07 +08:00
halx99 1f8431b7c8 Use pyenv manage python version for travis-ci (#229) 2020-10-07 22:45:05 +08:00
halx99 c3822d169b Android travis ci [skip appveyor] (#228)
Set python to 2.7.12
2020-10-07 12:35:08 +08:00
halx99 eda4e3e1a2 build mac with alsoft 2020-10-06 16:50:06 +08:00
halx99 cca0739793 Refactor pixel format manipulate (#217)
* PixelFormat use table

* Correct PixelFormat name to match 'GL_LUMINANCE'

* Up

* fix cube update texture enum

* linux build

* Refine ci

* fix linux build

* Remove unused function, match mtl framebuffer pixel format

* readPixels always RGBA format

* fix ci for linux

* fix linux build

* Remove unused functions

* fix travis

* fix android ci

* Update config.json

* linux glad

* Update CCGLViewImpl-desktop.cpp

* fix linux build

* Fix linux build

* Link issue [skip appveyor][skip travis]

* Update CMakeLists.txt

* Refine GL enums use

* Update test case name [skip appveyor][skip travis]

* fix linux link issue

* for mtl

* fix ci

* Tidy pixelformat enums

* fix ci

* fix rgba8 to abgr4 error

* fix ci

* fix ci for GLES

* Fix linux build, require glibc-2.27+

* Use properly dist for travis [skip appveyor]

* fix linux build [skip appveyor]

* Update install-deps-linux.sh

* Remove unused members for pixel block info, update external to v73

* Sync from compile linux warnings

* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format

* metal doesn't support rgb8 (#3)

* Update CCTexture2D.cpp

* Refine code

* Pixel Format Descriptor Table

* fix ci

* BGR5A1

* Simplfy texture format convert function name

* Update

* rgba4 match mtl render format

* Add note about RGBA4

* Remove unused function

* fix osx

* Already converted at texture2d

* Clearly comment

* fixup
2020-09-25 11:07:56 +08:00