Commit Graph

9886 Commits

Author SHA1 Message Date
Eugene Kozlov
d9442689cf Fix linter issues. 2018-07-10 02:17:24 +03:00
Eugene Kozlov
7cb72d451b Revert some changes in Serializable and flag sets. Fix Camera compilation.
[cache clear]
2018-07-09 11:51:05 +03:00
Alexey Rassikhin
4dfd230f55 Remove '-ffast-math' option.
Remove GCC 8.x check in Matrix3x4.h
2018-07-05 19:31:09 +08:00
Florastamine
17c4a1022d Updated GetOSVersion() 2018-06-24 18:38:01 +08:00
Yao Wei Tjong 姚伟忠
84ed9029f9
Update contributor list.
Close #2340
2018-06-24 10:23:52 +08:00
LordGolias
45793b8ae2 Fixed wrong number of rows in chat history of Sample 16_Chat. 2018-06-23 22:51:53 +02:00
LordGolias
dd9532de51 Commented out unused parameters. 2018-06-23 22:50:21 +02:00
Rokas Kupstys
d9d51b9c27 Rename ClearMode to ClearTarget. 2018-06-20 17:39:15 +03:00
Rokas Kupstys
bd2f4111e4 Converted constants in Camera.h to enum. This also includes fix for URHO3D_MAKE_MEMBER_ATTRIBUTE_ACCESSOR() to make it work with FlagSet<>. 2018-06-20 14:51:15 +03:00
Rokas Kupstys
b4dec95887 Rename ClearFlag to ClearMode and fix lua bindings. 2018-06-20 12:17:26 +03:00
Eugene Kozlov
3f86bad5b6 Get rid of explicit FlagSet<> usages. Minor FlagSet changes. 2018-06-20 02:04:32 +03:00
Eugene Kozlov
bcad960586 Fix AS bindings. 2018-06-20 01:54:31 +03:00
Eugene Kozlov
fa1524e14e Fix lua bindings. 2018-06-20 01:25:03 +03:00
Eugene Kozlov
82c5529295 Rename Quality to MaterialQuality. Revert AnimationTrack default ctor. Rename UseEvent to UpdateEvent. Make FlagSet casts more strict. Minor changes. 2018-06-20 01:24:37 +03: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
Rokas Kupstys
dcbc0046c7 Re-enable suspending main loop when application is paused on android. Fixes #2328.
Previous behaviour allowed main loop to spin (at 10fps, as if window is minimized) while application was in background. This is both bad for battery life and also introduces a race condition where rapidly suspending and resuming application may get it into the state where application is resumed while some or most GPU objects are not recreated.
2018-06-17 19:06:51 +08:00
urho3d-travis-ci
dff13213e6 Travis CI: API documentation update at 2018-06-09 16:05:38 UTC.
[ci package]

Commit: 48bf1228aa

Message: Correct code comment.
Close #2315
2018-06-09 16:05:38 +00:00
Yao Wei Tjong 姚伟忠
48bf1228aa
Correct code comment.
Close #2315
2018-06-09 22:35:49 +08:00
Yao Wei Tjong 姚伟忠
e5b137af3b
Rename Color::TRANSPARENT constant to Color::TRANSPARENT_BLACK.
Close #2308
Close #2298
2018-06-09 22:26:59 +08:00
Yao Wei Tjong 姚伟忠
00f4847fd9
Conditionally remove unused code. 2018-06-09 19:35:44 +08:00
Yao Wei Tjong 姚伟忠
540450e917
Add more check as Clang also emits '__GNUC__' define.
[ci skip]
2018-06-09 19:02:22 +08:00
Yao Wei Tjong 姚伟忠
2f12b4d207
Quick fix for building using GCC 8.x compiler toolchain.
Close #2326
2018-06-09 17:30:45 +08:00
Eugene Kozlov
4862785ab7 Fix PackageTool build. 2018-06-04 18:05:16 +03:00
Eugene Kozlov
24cd09689a
Merge pull request #2323 from eugeneko/fix-web-occlusion
Add check for degenerate sub-triangles in OcclusionBuffer::DrawTriang…
2018-06-04 16:08:30 +03:00
Yao Wei Tjong 姚伟忠
4e23992456
Remove 'experimental' label from EMSCRIPTEN_WASM build option. 2018-06-03 23:51:29 +08:00
Yao Wei Tjong 姚伟忠
e7a1b4c069
Make the option not available for Release build config.
Due to how CMake works, this prevention only works for single-config generator.
2018-06-03 21:00:25 +08:00
Eugene Kozlov
47aba2aaa2
Merge pull request #2309 from eugeneko/hash-reverse
Add StringHash reverse support.
2018-06-03 15:12:42 +03:00
Eugene Kozlov
251f8d7dc8 Add check for degenerate sub-triangles in OcclusionBuffer::DrawTriangle2D. Fixes #2322. 2018-06-03 15:09:01 +03:00
Yao Wei Tjong 姚伟忠
81f7398194
For CI - clean up option from removed clang-tidy check.
[ci skip]
2018-06-03 18:03:19 +08:00
Eugene Kozlov
bf91b675ea Revert "Revert me: Test Vector with non-copyable type."
This reverts commit 82cc60d974.
2018-06-03 12:51:08 +03:00
Eugene Kozlov
e78c1d7ff5
Merge pull request #2310 from eugeneko/move-containers
Make Urho3D.Containers move-friendly
2018-06-03 12:42:44 +03:00
Yao Wei Tjong 姚伟忠
1d296ea10d
Document the new emscripten-specific build option. 2018-06-03 17:04:48 +08:00
Yao Wei Tjong 姚伟忠
6f8f178bfd
For CI - revert to exclude the EMCC's cache from CI's cache.
It seems it prevented EMCC from being activated correctly. Need to investigate further when got time.
2018-06-03 16:47:15 +08:00
Yao Wei Tjong 姚伟忠
a3ea5b679a
For CI - include EMCC's cache into CI's cache and minor clean up. 2018-06-03 10:31:46 +08:00
Zhang Kaikai
db1e4fea66 Fixed the 2D rendering order makes the layer priority higher than the Z 2018-06-03 09:09:33 +08:00
Yao Wei Tjong 姚伟忠
f27c149779
For CI - explicitly set WASM to off when CI testing for asm.js.
When cache is clear then skip the samples build because build all samples from scratch now exceeds our free time limit from Travis.
Switch to upload the WASM variant of the web samples. This means the samples should run faster on dekstop browsers but might not work on mobile browsers at the moment.
2018-06-02 22:51:09 +08:00
Eugene Kozlov
9c25ad9f97 Rename Vector::Emplace to Vector::EmplaceBack. 2018-06-02 16:12:55 +03:00
Eugene Kozlov
774f62e4c3 Update docs and CMake description for URHO3D_HASH_DEBUG 2018-06-02 16:02:07 +03:00
Yao Wei Tjong 姚伟忠
40281539f0
Add a new build option to control auto addtion of HTML shell-file. 2018-06-02 17:37:28 +08:00
Yao Wei Tjong 姚伟忠
e65cdac59e
Add build support for Emscripten 1.38.x. Emit WASM by default. 2018-06-02 16:57:49 +08:00
Eugene Kozlov
b78992ba43 Fix crash in DX11 when current render target is passed into Graphics::SetTexture. 2018-05-26 19:17:09 +03:00
Eugene Kozlov
025714ec4d Change scope of URHO3D_HASH_DEBUG define. 2018-05-22 23:11:25 +03:00
Eugene Kozlov
e0b1283d48 Minor change in Vector::Push, fix Vector::Emplace. 2018-05-22 22:52:51 +03:00
1vanK
2482502b84 Editor: more info about models 2018-05-14 07:43:45 +08:00
Eugene Kozlov
35913127c5 Disable modernize-pass-by-value check. 2018-05-08 23:14:38 +03:00
Eugene Kozlov
06e3c6871f Fix linter error. 2018-05-08 22:20:08 +03:00
Yao Wei Tjong 姚伟忠
bbb8222b8c
For CI - skip scaffolding test on STATIC/Debug build config.
This is a quick workaround to avoid running out of disk space problem.
2018-05-07 22:36:38 +08:00
Eugene Kozlov
63ada2546f Fix shared build. 2018-05-07 14:58:04 +03:00
Eugene Kozlov
f4b00a1d54 Extract StringHash reverse mapping logic into StringHashRegister. Reuse it in event system. 2018-05-07 00:32:45 +03:00