Yao Wei Tjong 姚伟忠
18cd3b3995
Simplify lint setup.
...
Lint from 3rd-party libraries are 'suppressed' by having a separate '.clang-tidy' file with minimal checks enabled.
2020-10-29 08:22:38 +08:00
Yao Wei Tjong 姚伟忠
a7004a657d
Always build host-tools using 'generic' deployment target.
2020-10-29 08:22:36 +08:00
1vanK
2512cc838a
AS Autobindings: guard implicitly declared destructor wrappers by defines
2020-10-29 08:21:12 +08:00
1vanK
ef1dfe3417
AS Autobindings
2020-10-28 19:18:41 +08:00
moneromooo
d34c7c0d7f
PackageTool: fix empty string check in extension check ( #2696 )
...
Co-authored-by: moneromooo <moneromooo>
2020-10-20 21:20:09 +03:00
Yao Wei Tjong 姚伟忠
3ba62f036e
Fix the STATIC and SHARED build for VS and Xcode.
...
Cleanup comments.
2020-05-10 23:30:59 +08:00
Yao Wei Tjong 姚伟忠
0e4d095cfa
Shed off old construct since our CMake minimum required is 3.10.2 now.
2020-05-10 15:53:52 +08:00
Modanung
2650e38855
Reduced minimum required cmake version to 3.10.2
2020-01-22 22:27:07 +08:00
Yao Wei Tjong 姚伟忠
46c6894d78
Bump CMake minimum required version to 3.14.5.
2020-01-12 12:37:22 +08:00
urho3d-travis-ci
1151b8a2d6
Travis CI: bump copyright to 2020.
2020-01-05 06:21:40 +00:00
error408
fb866a87fd
Update SpritePacker.cpp
...
to guarantee best results, either: "stbrp_init_target", the forth parameter need either:
1. make sure 'num_nodes' >= 'width'
or 2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1'
2019-09-19 16:15:41 +08:00
urho3d-travis-ci
a476f0c401
Travis CI: bump copyright to 2019.
2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
20617e17b6
Allow Gradle build with Lua/LuaJIT enabled without global ninja-build.
2018-09-08 21:21:00 +08:00
Yao Wei Tjong 姚伟忠
d827f5ebfb
Proper segregation between Gradle modules.
2018-08-06 21:46:00 +08:00
Yao Wei Tjong 姚伟忠
a513b325c0
Initial multi-module setup for Android build.
2018-08-06 21:46:00 +08:00
Rokas Kupstys
6ed3e46646
FlagSet<> update:
...
* Use URHO3D_FLAGSET() macro for enabling flagsets on enums.
* Use EnumFlags alias instead of FlagSet<Enum>.
* Naming changes.
2018-06-18 20:20:17 +03:00
Rokas Kupstys
966590d8e7
Use FlagSet<> for storing masks.
...
Author of FlagSet.h is Eugene Kozlov (https://github.com/eugeneko/ ).
2018-06-18 18:26:46 +03:00
Eugene Kozlov
4862785ab7
Fix PackageTool build.
2018-06-04 18:05:16 +03:00
Yao Wei Tjong 姚伟忠
93460b3d12
Clang-Tidy - hicpp-member-init.
2018-04-01 10:48:48 +08:00
Yao Wei Tjong 姚伟忠
a83104bda2
Clang-Tidy - hicpp-no-malloc.
2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
d43bf1b3d6
Clang-Tidy - hicpp-signed-bitwise.
...
However, this check is disabled because we could not cleanly modify the code everywhere to make them pass.
2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
291a4d3d3a
Update build script to add the search path for the generated header.
2018-03-15 23:32:06 +08:00
Yao Wei Tjong 姚伟忠
6d08bcd8c0
Clang-Tidy - hicpp-member-init.
2018-02-25 23:32:38 +08:00
Yao Wei Tjong 姚伟忠
c277e7fd01
Rinse and repeat using Clang-Tidy 4.0 and Clion.
2018-01-26 06:55:09 +08:00
Yao Wei Tjong 姚伟忠
f1c1f5aa42
For CI - setup the lint stage on the primary CI.
2018-01-24 02:06:23 +08:00
Yao Wei Tjong 姚伟忠
29fed24492
Rinse and repeat by invoking clang-tidy (v3.9) from CLI directly.
...
It appears that Clion's modified version of the clang-tidy does not detect and fix all the issues.
2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
628d321d05
Clang-Tidy - readability-inconsistent-declaration-parameter-name.
2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
49e0e2122d
Clang-Tidy - readability-non-const-parameter.
2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
f15712ba24
Clang-Tidy - performance-unnecessary-value-param.
2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
1156ebfcec
Clang-Tidy - cert-flp30-c.
2018-01-20 23:52:03 +08:00
urho3d-travis-ci
70049ba582
Travis CI: bump copyright to 2018.
...
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
d6eb307e34
Clang-Tidy - google-explicit-constructor.
2017-12-31 13:48:28 +08:00
Yao Wei Tjong 姚伟忠
c99c5fbf64
Clang-Tidy - modernize-use-equals-default.
2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
d8a438b169
Clang-Tidy - modernize-return-braced-init-list.
2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
617b2d8cf7
Minor refactor to manually rename the range-based-for-loop index.
2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
446247fa8c
Clang-Tidy - modernize-loop-convert.
2017-12-31 13:48:08 +08:00
Yao Wei Tjong 姚伟忠
ca97fd9b9b
Clang-Tidy - modernize-use-auto.
2017-12-31 12:46:26 +08:00
Yao Wei Tjong 姚伟忠
5e89e566e6
Clang-Tidy - modernize-use-override.
2017-12-31 12:11:09 +08:00
Eugene Kozlov
59391f9523
Source/Tools and Source/Samples automatic upgrade: override, typedef to using, 0 to nullptr.
2017-08-29 11:40:46 +03:00
Yao Wei Tjong 姚伟忠
ec84cfdfd1
Remove the usage of add_compiler_export_flags() deprecated function.
...
Fix #1945 .
2017-07-13 23:17:09 +08:00
Lasse Öörni
c8ecd9f55c
Typo fix in AssetImporter.
2017-07-13 14:03:43 +03:00
Yao Wei Tjong 姚伟忠
7fc9aa816a
Make clean for MinGW/Android/Web platforms.
...
The rest of the platforms are already taken care of by this commit, however, only tested explicitly on Linux native, RPI, and ARM.
2017-07-09 21:58:33 +08:00
Yao Wei Tjong 姚伟忠
3a6f3e5543
Avoid hard-coding of shell script / batch file names.
...
Fix #1974 .
2017-06-06 22:42:43 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31
Initial work for porting Urho3D to AppleTV platform.
2017-06-05 23:04:09 +08:00
Lasse Öörni
364521c1ee
Do not transform root bone with model's root node in AssetImporter, only with nodes in between (if any). Possible fix to #1944 .
2017-05-20 15:39:23 +03:00
Yao Wei Tjong
108530ff45
Merge pull request #1921 from cosmy1/libs-update
...
Libs update
2017-04-28 09:36:14 +08:00
cosmy
7902fba3b9
Replace deprecated LZ4 functions in Urho3D.
2017-04-26 20:15:04 +02:00
Svyatoslav
128230d462
PackageTool.cpp: PVS-Studio: fixed conditional expression of the loop.
...
Signed-off-by: Svyatoslav <razmyslov@viva64.com>
2017-04-25 18:25:02 +03:00
Lasse Öörni
218f48ea98
Add lowdpi command line option to force low DPI on Retina display.
2017-04-22 00:32:55 +03:00
Lasse Öörni
90e95ab2e3
Update documentation. Add contributor credit. Minor code comment fixes.
2017-03-20 18:11:12 +02:00
Yao Wei Tjong 姚伟忠
f32cbb72b0
Rename Urho3D-CMake-common.cmake module to UrhoCommon.cmake.
...
To be consistent with the other modules. Drop the '3D' simply because it sticks out in 'Urho3DCommon'.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
3b02eeb5eb
For CI - suppress all the 3rd-party libraries' warnings.
...
Somehow after bumping up the CMake minimum version, CMake configures Xcode to work "better" with xcpretty that now the warnings are piping through the xcpretty's filter. Unfortunately when performing CI build, this is undesirable because not only now the log size is swelling, the build is slower too.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
73c97d9f64
Only add defines at the scope they are actually required.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
3d9eb3f694
Bake CC and CXX env-vars in case they are short lived in init process.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
bbbbdb0108
Check native compiler toolchain is available before proceeding.
...
Some cross-compiling build tree configuration needs native compiler toolchain for host tool building via ExternalProject_Add(). This additional check ensures the native compiler toolchain is available up front before the build tree is even generated. Close #1300 .
2017-03-05 08:45:21 +08:00
Yao Wei Tjong 姚伟忠
9f19d51c08
Remove older constructs that have been earmarked previously.
2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
3475afba54
Bump the CMake minimum version in the CMakeLists.txt files.
2017-03-05 08:34:41 +08:00
Lasse Öörni
540404bee2
Minor refactor for .ies extension detection.
2017-02-18 22:42:07 +02:00
JSandusky
306daeded5
Change sigma table naming to fit conventions
2017-02-09 13:16:42 -05:00
JSandusky
7a3ddb11ee
JS: Add IES cookie generation to RampGenerator
2017-02-09 00:48:19 -05:00
Lasse Öörni
97b594de36
Fix assigning of global animation start/end time variables which would have unintended consequences when saving multiple animations. Closes #1789 .
2017-02-01 13:59:42 +02:00
Lasse Öörni
bd95787c1a
Fix Web build Urho3DPlayer not reading script file name from Module.arguments. Make sure the error exit due to no script name happens.
2017-01-11 14:56:54 +02:00
Lasse Öörni
0e1e46fbb9
Refactor Urho3DPlayer to attempt reading CommandLine.txt from the resource system later on all platforms, if reading from the filesystem fails. Closes #1754 .
2017-01-10 20:13:59 +02:00
Yao Wei Tjong 姚伟忠
d42723a45e
Enable high DPI on Apple retina display device by default.
...
High DPI mode can still be programmatically disabled via Engine parameter only.
2017-01-10 23:43:03 +08:00
urho3d-travis-ci
ee054a1507
Travis CI: bump copyright to 2017.
...
[ccache clear]
2017-01-01 13:01:31 +00:00
Lasse Öörni
f65ca809e2
Merge remote-tracking branch '1vanK/master'
2016-12-10 15:22:28 +02:00
1vanK
2a703a5ab1
Add engine parameters const
2016-12-10 08:18:18 +03:00
Yao Wei Tjong 姚伟忠
f1d1b757b8
Change all CMakeLists.txt to use LF for consistency sake.
2016-12-05 22:33:59 +08:00
Johnathan Jenkins
d78fc4020f
minor typos
2016-10-28 13:07:14 -07:00
Lasse Öörni
3bf13318fc
Sync Urho3DPlayer command line help from the documentation.
2016-10-18 22:49:13 +03:00
Lumak
4fd62537e6
implemented a much simpler version
2016-09-19 00:40:17 -07:00
Lumak
7341c9a48b
a bit of clean up
2016-09-18 14:42:26 -07:00
Lumak
931b9bbd98
added a feature to be able to export fbx animation w/o skinned mesh
2016-09-18 13:12:49 -07:00
Igor
c72ea82b5f
fix delete in SpritePacker.cpp
2016-09-12 12:29:52 +03:00
Yao Wei Tjong 姚伟忠
13ed7bbbb6
Workaround a linking issue when using MinGW >= 6.1.0.
2016-09-04 12:02:05 +08:00
Lasse Öörni
773ba488ea
Merge pull request #1550 from Lumak/master
...
fixed a bug where crash is caused by geometry having key animation
2016-08-31 12:45:54 +03:00
Lumak
79f1a1bdcd
added a check for invalid boneIndex caused by geometry key animation
2016-08-30 10:19:43 -07:00
Lumak
d7085d2c7c
copy and paste edit
2016-08-30 09:06:56 -07:00
Lumak
a1aa049e2f
fixed geometry having animation key problem
...
a geometry being animated causes crash because the suppression looks for
a parent bone
2016-08-30 08:44:12 -07:00
Lasse Öörni
9df9a5c77c
Add new AssetImporter flag to Doxygen docs.
2016-08-24 17:32:54 +03:00
Lumak
3af3c2b695
fixed channelIndices[] indexing in ExpandAnimatedChannelKeys() func.
...
-and removed dbg dump code
2016-08-22 21:48:39 -07:00
Lasse Öörni
dc2acfdf6e
Minor typo, code convention and whitespace fixes.
2016-08-22 21:32:50 +03:00
Lumak
9636bba26d
corrected copying scalingkey in ExpandAnimatedChannelKeys func.
2016-08-22 08:59:41 -07:00
Lumak
501dc3b364
max compile error fix
2016-08-22 07:58:25 -07:00
Lumak
dbd6465169
added assetimporter feature to suppress $fbx nodes
2016-08-22 07:34:43 -07:00
Lasse Öörni
939e7c9fd3
Revert "String + number operator". Remove String + operator with char parameter to prevent accidental truncation and replace with string literal concatenation where needed.
...
This reverts commit fafd921f32
.
2016-08-07 18:18:27 +03:00
Yao Wei Tjong 姚伟忠
7c90c2c0ec
Simplify command to detect predefined macros of the chosen compiler.
...
Add new CMake module for detecting host capability.
2016-08-03 00:16:23 +08:00
Yao Wei Tjong 姚伟忠
ccd9dac3c7
Also enable AS wrapper when targeting 64-bit ARM platform.
2016-06-05 22:42:01 +08:00
Lasse Öörni
96451d891e
Use the proper form of EMSCRIPTEN define throughout.
2016-06-04 12:33:02 +03:00
Lasse Öörni
fb508365af
Fix logic for getting the script file name in web Urho3DPlayer in case arguments were already specified and the command line file is not used.
2016-06-04 12:26:36 +03:00
Lasse Öörni
f097224968
Avoid hardcoding the script file name on web platform Urho3DPlayer. Rather attempt to read from CommandLine.txt later once resources are initialized. Setup a default windowed resolution to match the executable web samples.
2016-06-04 00:21:54 +03:00
Lasse Öörni
98dfaf3c75
Add Boost Preprocessor library to Source/ThirdParty. Force C++11 for AngelScript / Emscripten combo. Default to CharacterDemo instead of NinjaSnowWar in Urho3DPlayer on Emscripten due to missing Network subsystem.
2016-06-02 20:55:52 +03:00
Lasse Öörni
0803320a9a
Remove mention of AngelScript not being supported on Emscripten. Leave the generic call convention autohandle fix on at all times, since it doesn't hurt. Clarify CommandLine.txt not being able to be read on Emscripten.
2016-06-02 19:27:15 +03:00
nathan
618b37519a
Fixed indentation of my change to Urho3DPlayer.cpp hardcoding NinjaSnowWar.as for the EMSCRIPTEN build.
2016-05-31 00:37:34 +02:00
nathan
d7b0604d93
Made Angelscript work on the Emscripten build. Not thoroughly tested!!!
...
-Has been tested by running Urho3DPlayer with the 12_PhysicsStressTest script
(the file copied in place of NinjaSnowWar.as requested)
-built with "-std=gnu++14 -I/usr/include/boost" for the CMAKE_CXX_FLAGS
and "-I/usr/include/boost" for the CMAKE_C_FLAGS.
** /usr/include/boost contains a simlink pointing to itself so that boost/
preprocessor____ can be found
-Networking still doesn't work, so NinjaSnowWar shouldn't work
-Debug builds did not work for me: see http://urho3d.prophpbb.com/topic2151.html
-Defining FORCE_AS_PORTABLE can be used to force it to use the generic build
with, for example, a gcc build (which should allow more apples-to-apples
testing of the efficiency of the bindings)
-Discussion of this work originally at http://urho3d.prophpbb.com/topic2044.html
2016-05-30 22:32:48 +02:00
Yao Wei Tjong 姚伟忠
d15553fce9
Fix building of PackageTool target due to inclusion of new class.
2016-05-21 12:02:53 +08:00
Lasse Öörni
5d71f8012a
Update documentation. Skip material / texture save in AssetImporter "anim" mode.
2016-05-18 16:24:54 +03:00
svifylabs
d304d941d1
Add import only animation
2016-05-18 09:50:12 +02:00
Yao Wei Tjong 姚伟忠
4f72a673d9
Fix the compression ratio calculation. Suppress compilation warnings.
2016-05-14 22:57:14 +08:00
Yao Wei Tjong 姚伟忠
c28634c206
Minor enhancement on the PackageTool to have output option.
2016-05-14 15:07:14 +08:00