Commit Graph

10202 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
fca8684a6a
Remove old build logic that is no longer works with new Emscripten.
[ci skip]
2020-04-10 20:05:17 +08:00
Yao Wei Tjong 姚伟忠
fde206b486
Minor cleaup. [ci skip] 2020-04-10 19:58:01 +08:00
Arnis Lielturks
72e2342343
Emscripten shell (#2608)
* emscripten shell added, wip

* include dirs

* namespace

* more namespace fixes

* cmake tweak

* tweak

* emscripten shell added in different cmake file

* shell setup fixed

* application.html renamed to shell.html, engine tweaks

* shell.html location updated

* reworked canvas size detection and applying, highdpi disabled for web builds

* typo

* background tab loading fix

* web handlers moved to graphics subsystem

* removed a bit too much

* fix

* ready event resize

* svg fullscreen icon

* id used for fullscreen icon

* emscripten request pointer used instead

* pointer lock tweaks

* yet another tweak

* ui cursor fixed to take into account ui scale, emscripten mouse state reset when changing resolution

* code style updates

* ui scale calculated differently

* fix

* pointer position calculation properly fixed

* cursor position retrieval updated

* Fix code style. Simplify UI scale handling.

* cmake updates

Co-authored-by: Eugene Kozlov <nekoeuge@gmail.com>
2020-04-07 19:38:21 +03:00
1vanK
ab22ec76c9 Update pugixml 2020-04-05 11:19:34 +08:00
sssooonnnggg
ce70a66f5a
Fix Technique clone bug. (#2615) 2020-04-02 17:25:18 +03:00
Eugene Kozlov
2345377c76 Change required TMX version from 1.0 to 1.* 2020-03-28 14:50:04 +03:00
talarcon
b9eb567781 Add base pass to pbr emissive technique 2020-03-21 15:14:52 +03:00
Eugene Kozlov
3af4d23623 Fix build of Sample 54 for ARM and RPI. 2020-03-20 09:48:27 +03:00
Eugene Kozlov
4ceb2fbdc9 Fix build of Sample 54. 2020-03-20 00:40:56 +03:00
Eugene Kozlov
1fe5548ecc Add sample for window settings change. Cleanup. 2020-03-20 00:37:24 +03:00
Eugene Kozlov
d1ad98d067 Fix inconsistent window mode transitions.
- Fix unwanted window reposition to (0, 0) during
windowed-to-fullscreen-to-windowed mode transition.

- Fix unwanted display resolution change during
fullscreen-to-windowed mode transition on DX9 and DX11.
2020-03-20 00:34:39 +03:00
Eugene Kozlov
e61850459d Enable Graphics::ToggleFullscreen customization.
It's possible now to rotate between arbitrary window modes
via ToggleFullscreen. Graphics::SetMode implements default
behavior. Differences comparing to legacy behavior:

- Secondary mode uses automatic window size.
Window will be toggled to desktop-resolution fullscreen.
Fullscreen will be toggled to default-size window.

- Desktop-size borderless window is preferred
to hardware fullscreen by default.
2020-03-20 00:34:39 +03:00
Eugene Kozlov
27216959ee Extract copy-paste from Graphics into common place.
This commit shall not have any functional changes except the following:

- Semantics of multi sample level on DX9 backend has changed.
It represents actual hardware more instead of caller's desire.
Behavior of DX9, DX11 and OpenGL backend is synchronized now.
2020-03-20 00:34:38 +03:00
魔大农
96cb0d5d1e Fixed event data names in sample 25
Liberates emitter from screen corner.
2020-03-16 09:51:10 +08:00
1vanK
8b43f3e6ea Fix doc 2020-03-14 22:49:20 +08:00
1vanK
97b09f848b Fix https://github.com/urho3d/Urho3D/issues/1877 2020-03-13 09:45:20 +08:00
1vanK
722e2dfceb Typos 2020-03-13 09:45:20 +08:00
1vanK
37ef9d492a Obstacle: make identical definition and declaration 2020-03-13 09:45:20 +08:00
1vanK
d976c4b43b Move enum LoopMode2D into namespace Urho3D 2020-03-13 09:45:20 +08:00
Arnis Lielturks
02c9072fee 17_SceneReplication lua fix 2020-03-08 11:07:00 +02:00
Yao Wei Tjong 姚伟忠
c937da3b39
Workaround Github YAML parser not supporting anchors.
See https://github.com/actions/starter-workflows/issues/162. Hopefully it is not considered as "premium" feature. [ci skip]
2020-03-08 10:39:10 +08:00
Yao Wei Tjong 姚伟忠
6b67b5c396
Configure stale bot to use same stale message.
[ci skip]
2020-03-07 17:49:08 +08:00
Yao Wei Tjong 姚伟忠
7f3001d317
Configure the stale bot.
[ci skip]
2020-03-07 15:58:03 +08:00
Yao Wei Tjong
0e51d24005
Trial run the stale robot. 2020-03-06 09:49:52 +08:00
Modanung
cbd2e7b5d8 Replaced tabs with spaces in sample 53 2020-03-01 20:05:23 +08:00
Modanung
b1f6cc04c7 Found some more 2020-03-01 20:05:23 +08:00
Modanung
17b0dece1a Replaced tab with spaces 2020-03-01 20:05:23 +08:00
Patrick
ff6049f506 Allow to make custom class inherited from Drawable2D 2020-03-01 10:51:01 +08:00
urho3d-travis-ci
3f04e8fcd2 Travis CI: API documentation update at 2020-02-28 21:23:51 UTC.
[ci package]

Commit: b5b6f0d5fb

Message: nat master server disconnecting fixes, NAT sample updates (#2591)
2020-02-28 21:23:51 +00:00
Arnis Lielturks
b5b6f0d5fb
nat master server disconnecting fixes, NAT sample updates (#2591) 2020-02-28 23:13:16 +02:00
urho3d-travis-ci
35a1509dfe Travis CI: API documentation update at 2020-02-28 18:28:54 UTC.
[ci package]

Commit: 18c7230eb7

Message: Minor API update, bug fixes, cleanup.

* Remove undefined behavior caused by volatile variables in WorkQueue (volatile variables are not required to be thread-safe).
* Fix nasty DX11 bug caused by poor hash functions and likely hash collision in ShaderVariation.
* Relaxed FlagSet usage requirements.
* Various API extensions and code simplification.
* Const-correctness fixes.
2020-02-28 18:28:54 +00:00
Eugene Kozlov
18c7230eb7 Minor API update, bug fixes, cleanup.
* Remove undefined behavior caused by volatile variables in WorkQueue (volatile variables are not required to be thread-safe).
* Fix nasty DX11 bug caused by poor hash functions and likely hash collision in ShaderVariation.
* Relaxed FlagSet usage requirements.
* Various API extensions and code simplification.
* Const-correctness fixes.
2020-02-28 21:11:14 +03:00
urho3d-travis-ci
a98d17adf5 Travis CI: API documentation update at 2020-02-26 16:24:36 UTC.
[ci package]

Commit: 88ea05ee5c

Message: contributors list updated
2020-02-26 16:24:36 +00:00
Arnis Lielturks
88ea05ee5c contributors list updated 2020-02-26 17:59:44 +02:00
pflat
aedf3cc176
Add MaxSuspensionForce to RaycastVehicle (#2590)
* Add MaxSuspensionForce to RaycastVehicle

* Add AS and Lua bindings to the new methods

* Add MaxSuspensionForce to component attributes.

* Resolve padding issue.
2020-02-26 17:57:35 +02:00
Arnis Lielturks
b436229173 contributors list updated 2020-02-25 01:36:52 +02:00
PsychoCircuitry
4d4e157093
Bloom and BloomHDR PostProcess Fix (#2546)
* Update Bloom.xml

* Update Bloom.xml

* Update BloomHDR.xml

* Update Bloom.xml
2020-02-25 01:33:59 +02:00
Arnis Lielturks
8a0113c155 blur and auto exposure post process fixes 2020-02-25 01:33:06 +02:00
Rainer Deyke
469b30b605
Fix a memory leak in the Urho3D changes to SDL. 2020-02-18 00:54:31 +08:00
Yao Wei Tjong 姚伟忠
d4a5be70f5
Add option to refresh DBE image before run. 2020-02-18 00:49:26 +08:00
Yao Wei Tjong 姚伟忠
e843e6bc4c
Fox VS/Xcode, fix logical group for Lua generated files. 2020-02-18 00:47:18 +08:00
Yao Wei Tjong 姚伟忠
6ce2dc1b38
For VS/Xcode, group generated files. 2020-02-16 16:33:20 +08:00
Yao Wei Tjong 姚伟忠
c2b8d25962
For VS/Xcode, group Urho3D files based on physical directory structure. 2020-02-16 13:57:22 +08:00
Yao Wei Tjong 姚伟忠
6277b36939
Update contributor list. 2020-02-16 13:57:22 +08:00
Steven Burns
f122187e1e Explanatory comment regarding enum 2020-02-15 14:40:00 +08:00
Steven Burns
22e2f355f1 Upgrade to support spine runtime 3.7 and above 2020-02-15 14:40:00 +08:00
fredakilla
b6325ac172
Editor addon : Duplicator Editor (#2193)
* add mulyiply editor

* update multiply editor

* remove unused pretransform and create new checckbox options, : clones in node, and swicth transform

* rename to Duplicator editor
2020-02-14 09:34:50 +02:00
Yao Wei Tjong 姚伟忠
ceb48b7648
Android - set the currently tested working NDK version. 2020-02-12 08:46:28 +08:00
Yao Wei Tjong 姚伟忠
92aaf19511
Minor space formatting. 2020-02-09 17:50:53 +08:00
sssooonnnggg
68f4d9094e Fix coding style. 2020-02-09 00:52:37 +08:00