aismann
12a1d92536
Renamed 'CC_CALLBACK_1' to 'AX_CALLBACK_1'
2022-07-19 08:32:18 +02:00
halx99
cf6baeed52
Improve android gradle script axistools.gradle
2022-07-12 13:07:27 +08:00
一线灵
279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
halx99
9ee4181976
Migrate tests, extensions and configs ReSquash for unexpected changes +2
2022-07-09 22:23:34 +08:00
halx99
fff2bd59ed
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
DelinWorks
a27486a7f7
[skip ci]
2022-07-08 07:36:32 +03:00
DelinWorks
d8b2298b9b
Fix project creation tools. [skip ci]
2022-07-08 07:27:10 +03:00
DelinWorks
49b6dda016
Fix CMAKE
2022-07-08 02:10:35 +03:00
DelinWorks
c116171c1f
Fix compilation.
2022-07-04 17:55:41 +03:00
halx99
95e8b68051
Improve project template [skip ci]
2022-06-24 03:09:20 +08:00
aismann
0aa6d151c9
SimpleSnake example
2022-06-14 19:48:06 +02:00
halx99
5c35eda3b9
Upgrade android toolsets
...
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +08:00
halx99
a03e5c6cf6
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
halx99
c0977642bb
Improve cmake scripts
2022-05-19 10:54:42 +08:00
halx99
4a05253be1
Fix cmake link
2022-05-18 22:27:43 +08:00
halx99
4ca80aee68
Fix app link with prebuilt msedge webview2
2022-05-18 12:49:12 +08:00
一线灵
5f7a3a0085
Delete unused code
2022-05-17 11:32:43 +08:00
halx99
21fe8df12b
Fix lua template duplicate res error on mac
...
Fix typo
Fix cmdline fail on new macos
2022-05-15 16:36:06 +08:00
halx99
c9f3ca9278
Improve VS Ninja workflow
2022-04-28 11:43:59 +08:00
Shatyuka
d71c620fc1
Compatible with Ninja
2022-04-26 15:16:02 +08:00
halx99
099d885393
Sync zlib file name for templates
2022-04-23 09:01:34 +08:00
halx99
93f549a0ad
Fix libc++_shared.so not found in old devices(API 22)
2022-04-05 11:45:59 +08:00
halx99
34f5b84d5d
Improve optional libs linking on non-win32 platforms
2022-04-02 14:03:46 +08:00
halx99
0ea2db2dfd
Improve use prebuilt engine libs for windows
...
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99
5b2eb79456
Update project urls
2022-02-24 18:45:25 +08:00
halx99
94f3b94d55
Fix use prebuilt engine libs for win64
2022-02-22 19:09:34 +08:00
halx99
8196eb8ac6
Finish #564
...
Add new cmake variable:
- AX_PREBUILT_DIR: specific engine build directory relative to ADXE_ROOT, such as "-DAX_PREBUILT_DIR=build_x86"
2022-02-20 17:07:13 +08:00
halx99
67c6bcec4f
[cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA
2022-02-17 21:31:39 +08:00
halx99
69d08cc420
Improve run.bat.in
2022-02-09 11:50:06 +08:00
deal
79eb62bc19
Update run.bat.in
2022-02-08 23:18:15 +08:00
deal
257562ff70
Fix run.bat path
2022-02-08 23:17:06 +08:00
halx99
287d06d54a
Improve run.bat.in, use relative build dir
2022-02-07 20:36:44 +08:00
halx99
7f81b65596
[Android] Upgrade MIN_SDK_VERSION from 16 to 17
2022-01-30 20:38:01 +08:00
halx99
cfe6390de3
[Android] By default, build single arch: arm64-v8a
2022-01-30 20:36:41 +08:00
halx99
722b6af026
[Android][freetype] Change streamingParsingEnabled to true
...
Add noCompress config to build.gradle for all templates & tests project
Exists project, please add follow config
android {
// Other configs
// ...
// noCompress config
aaptOptions {
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
}
}
2022-01-29 14:54:32 +08:00
halx99
f0fa7780d7
Improve gradle script to find cmake
2022-01-28 18:25:50 +08:00
halx99
931da84bc3
Fix gradle wrapper url
2022-01-28 13:41:18 +08:00
halx99
716b20cf6b
Update recommend android studio and gradle
...
- Android Studio 2021.1.1+ (More intelligent)
- Gralde wrapper to 7.2: https://services.gradle.org/distributions/gradle-7.2-bin.zip.zip
- Gradle Plugin to 7.1: com.android.tools.build:gradle:7.1.0
These upgrades will fix the issue: #573
2022-01-28 12:47:05 +08:00
halx99
11360497ea
Update gradle wrapper to 6.9.2
2022-01-27 18:44:59 +08:00
halx99
3d7218a0eb
Fix #570
...
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
halx99
a651879ee6
Tidy audio folder
2022-01-03 11:34:58 +08:00
halx99
e534dd66c0
Rename core folder name
2021-12-31 14:39:08 +08:00
halx99
8fd4a8afc3
Fix android ci
2021-12-29 13:44:39 +08:00
halx99
ce5adf35f7
Committing clang-format changes
2021-12-28 08:06:23 +00:00
halx99
01310bf1b1
Modify some extensions for string_view
2021-12-27 13:52:08 +08:00
halx99
1a5370b43f
Update run.bat.in [skip ci]
2021-12-21 10:46:28 +08:00
halx99
e529bd8bf0
Improve templates, auto generate quick stater run.bat on windows
2021-12-21 10:41:33 +08:00
halx99
b4bedd24d0
Improve starter lua template HellLua
...
a. Use lua search path for scripts instead FileUtils
b. Put new lua search path to front of LuaStack
2021-12-19 14:59:00 +08:00
halx99
086f6b1715
Remove unnecessary AudioEngine::end() at AppDelegate::~AppDelegate of HellCpp & HelloLua
2021-12-16 19:00:19 +08:00
halx99
857d2c177f
Optimize cmake scripts
2021-10-12 15:39:37 +08:00
halx99
846231e2f1
Fix #522
2021-10-12 13:16:27 +08:00
halx99
9ec47fdb2b
HelloCpp use safe origin to position corner stubs
2021-10-09 14:48:18 +08:00
halx99
aad17cb9f3
Update lua debug project file template
2021-10-08 11:07:06 +08:00
halx99
9630464694
Rename templates/cpp-template-default/HelloLua.xsxproj to templates/lua-template-default/HelloLua.xsxproj
2021-10-08 00:00:06 +08:00
halx99
aa2b3a81e2
Add lua debug project file [skip ci]
2021-10-07 23:18:09 +08:00
halx99
bbd3a78ae4
Improve lua workflow on windows
...
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
halx99
f1cdfdca52
Merge empty project
...
a. Remove cpp-empty-test, use HelloCpp as starter
b. Remove lua-empty-test, use HelloLua as starter
2021-09-07 17:24:07 +08:00
halx99
56edf5c339
Fix xcode build warnings
2021-08-12 15:54:16 +08:00
halx99
6ee687302b
Xcode Embed Frameworks support
...
refer to: https://gitlab.kitware.com/cmake/cmake/-/issues/22412#note_997156
2021-08-10 11:43:16 +08:00
halx99
29015e1cd7
Make gradle utils file as shared [ci build]
2021-06-02 06:27:19 +08:00
halx99
f0dc1582fb
[Gradle] Find ndk with env ANDROID_NDK [ci build]
2021-06-02 05:37:18 +08:00
halx99
3053c314aa
Fix adxe new lua project issue
2021-05-25 21:56:21 +08:00
halx99
adce3298de
Fix lua build [ci build]
2021-05-24 19:18:15 +08:00
HALX99
a42f9ac25c
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
97e8d4c58a
Replace jcenter with mavenCentral [ci build]
2021-05-15 12:15:38 +08:00
halx99
bb1871b0e0
Gradle Plugin no longer support cmake 3.10.0+
2021-05-15 11:58:56 +08:00
halx99
412a6fa9e2
Fix android ci [ci build]
2021-05-15 00:12:41 +08:00
halx99
798e0fe1a1
Update gradle stubs [ci build]
...
a. wrapper to 6.9
b. plugin to 4.2.0
2021-05-14 12:11:19 +08:00
halx99
49c1318fc1
Explicit set cmake minimum version at app/build.gradle [ci build]
2021-04-22 11:40:53 +08:00
halx99
e8c1d7bc2c
Set cmake min version to 3.10 [ci build]
2021-04-21 14:05:44 +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
d33ffa67cd
Set gradle-wrapper to 6.8.3 [ci build]
2021-04-08 22:42:15 +08:00
HALX99
4bfa6d4bf9
Remove unnecessary targets for cpp template
2020-11-18 18:35:00 +08:00
halx99
32b007ff88
Use env ENGINEX_ROOT for templates
2020-11-18 13:01:17 +08:00
halx99
46287b84c2
Rollback gradle plugin version 4.0.1, since there is no benefit upgrade to 4.1.0
2020-11-12 22:50:38 +08:00
halx99
755714c103
CMake, use file TO_CMAKE_PATH instead string replace [ci build]
2020-11-12 22:47:35 +08:00
halx99
975ef2ff61
Lock name
2020-10-24 21:57:36 +08:00
halx99
8a69a3a5cc
Set CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET at toolchain file ios.mini.cmake
2020-10-22 17:50:25 +08:00
halx99
eb52b0d319
Make setup.py works with python3
2020-10-22 16:53:28 +08:00
halx99
b8834bc086
Finsih rename
2020-10-22 10:58:10 +08:00
halx99
119e62f164
Update gradle plugin to 4.1.0
2020-10-21 10:55:32 +08:00
halx99
546ebfc4d4
Also replace so name for proj.android when new project
2020-10-20 16:26:53 +08:00
halx99
25cc511532
fix lua build link on android
2020-10-19 23:21:40 +08:00
halx99
bacba846af
Sync SharedLoader template.
2020-10-19 19:19:17 +08:00
halx99
919d48d68e
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
8450babc16
Remove gradle compile lua to fix compile error, needs tools to compile and encrypt lua later
2020-10-18 01:12:11 +08:00
halx99
4142499bc4
Use system env var 'COCOS2DX_ROOT' to avoid copy whole engine sources when create new project with template
2020-10-18 01:05:36 +08:00
halx99
dfce234ced
Use system env var 'COCOS2DX_ROOT' to avoid copy whole engine sources when create new project with template
2020-10-18 01:01:36 +08:00
HALX99
235f09f635
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
HALX99
5a32bcfdaf
RenderTarget abstract, in-progress ( #210 )
...
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99
d150e7cbc4
Add utils::createInstance to instead macro CREATE_FUNC
2020-08-25 13:49:45 +08:00
halx99
3c7ede5859
Make core lib can be build as dll, fix link issue for external
2020-08-18 12:36:44 +08:00
halx99
71c9b2b101
fix #146
2020-08-18 10:51:32 +08:00
halx99
67ef8bb624
Improve shared library for android, remove mojoal,sdl2, still use OpenAL.framework on apple platform, alsoft on other platforms.
2020-08-17 18:45:14 +08:00
halx99
bcc00eaffe
Sets Gradle Plugin version to 3.4.0 to fix cmake can't recognize ninja
2020-08-10 15:04:12 +08:00
minggo
589e09c328
set xcode installation path to ( #20402 )
2020-01-18 20:40:21 +08:00
Arnold
cdc0d4702c
[bugfix] set CFBundleExectuable in template info.plist ( #20425 )
...
fix #20414
2020-01-18 20:40:00 +08:00
Arnold
b74af1970b
[bugfix] set Info.plist path ( #20405 )
...
fix bug introduced in #20205
2019-12-12 23:55:18 +08:00
CocosRobot
d3a703e0ff
[ci skip][AUTO]: updating luabinding & cocos_file.json automatically ( #20393 )
2019-12-12 23:48:51 +08:00