Commit Graph

9869 Commits

Author SHA1 Message Date
Eugene Kozlov
3c4a0a5489 Make FlagSet to bool conversion operator explicit. Fixes #2631. 2020-05-24 14:43:03 +03:00
Yao Wei Tjong 姚伟忠
7a2b5cd819
Fix the STATIC build caused by missing argument. 2020-05-11 07:08:23 +08: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 姚伟忠
3917983512
For CI - temporary workaround for Clang STATIC build. 2020-05-10 23:29:31 +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
Yao Wei Tjong 姚伟忠
5f3d7be206
Fix compilation on GCC 10.0.1 2020-05-09 15:20:14 +08:00
Eugene Kozlov
056c3d1022 Fix typo in OGLRenderSurface.cpp 2020-05-09 02:17:20 +03:00
Eugene Kozlov
e5b53e2f2c Delete GPU objects when OpenGL context is about to be lost. 2020-05-09 02:17:20 +03:00
Arnis Lielturks
89041d7031 prevent from viewport resize too often 2020-05-09 02:17:20 +03:00
Yao Wei Tjong
bcf29b8ee4
Fix for getting iOS CPU core count.
Credit to Yuki001. Closed #2630.
2020-05-07 23:47:01 +08:00
Arnis Lielturks
8c98f4ec88 contributor list updated 2020-05-06 21:44:25 +03:00
stievie
67389ec2bd
Initialize SSL when making a HTTP Request and URHO3D_SSL is defined (#2629)
* Initialize SSL when making a HTTP Request and URHO3D_SSL is defined

* Simplify SSL initialization.
2020-05-06 21:41:15 +03:00
urho3d-travis-ci
b7db6cecdb Travis CI: source tree update at 2020-05-03 09:46:38 UTC. 2020-05-03 09:46:38 +00:00
Arnis Lielturks
889367738b
HTTPS support - civetweb update (#2415)
* initial update

* CMake updated for civetweb, https working

* unused file cleanup

* CMake updates to civetweb

* minor update, mingw not yet working

* CMakeLists updated

* fixed for unix builds

* cmake updates, console output updated

* docs updates

* HTTP sample now uses http and https links

* civetweb version 1.11

* additional changes

* mingw fix

* openssl fix

* additional ssl configuration

* osx workaround

* openssl is no longer optional

* openssl is optional

* civetweb cmakelists updates, URHO3D_SSL=1 set for travis

* debug messages removed from SSL/TLS initialization

* link libraries with civetweb

* code style fixes

* cmake updates

* DBE_TAG=latest removed
2020-05-03 12:22:31 +03:00
Yao Wei Tjong 姚伟忠
3ec1bbbee6
Ignore VS '.vs' and 'out' directories. [ci skip] 2020-04-26 21:13:22 +08:00
Eugene Kozlov
14520d95af Add check for AnimationTrack::GetKeyFrameIndex.
Closes #2625.
2020-04-25 12:02:35 +03:00
Yao Wei Tjong
05c469884c
Update README.md
Discourage chat. Promote only our official forum.
2020-04-12 00:15:53 +08:00
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