Commit Graph

9886 Commits

Author SHA1 Message Date
Crypto City
051e9135e0 BillboardSet: add per billboard collusion scale and id 2021-11-04 15:13:47 +00:00
Crypto City
d3e10a4302 Camera: add a distance to bounding box function 2021-10-14 22:42:04 +00:00
Crypto City
360c83019c AnimationController: fix invalid memory access
AddTime might have triggered events which could have triggered
new animations, reallocating (and possibly moving) animations_,
2021-10-11 15:59:02 +00:00
Crypto City
f1ae24a60b Geometry (and hull/compute) shaders by JSandusky 2021-10-09 20:30:30 +00:00
Crypto City
c552af5804 Camera: early out when setting unchanged near/far clip planes 2021-10-03 08:19:38 +00:00
Crypto City
2171219d3f Image: fix loading obfuscated PNG 2021-09-27 11:08:07 +00:00
Crypto City
95a306dd2e IO: Allow multiple filters in ScanDir 2021-09-18 18:41:57 +00:00
Crypto City
54000cfdfc IO: Update LZ4 to v1.9.2, safe decompression, user compression level 2021-09-05 00:43:13 +00:00
Crypto City
120da15769 Terrain: fix normal discontinuities on chunk borders 2021-08-23 19:04:22 +00:00
Crypto City
caff062c68 Terrain: #include <stdint.h> for windows 2021-08-13 00:02:10 +00:00
Crypto City
c43c012add Image: load more formats from obfuscated variant 2021-08-12 18:03:31 +00:00
Crypto City
f58276f8c8 Terrain: support 16 bit single component height map 2021-08-11 16:33:55 +00:00
Crypto City
003fbe14a3 Tracy: build with default timer, so it works on qubes 2021-08-10 17:18:16 +00:00
SuperWangKai
e75918a704 Tracy profiler integration. (#2776)
* Tracy profiler integration.

* Cleanup URHO3D_TRACY_PROFILING macro.

* Fix comment of Tracy build option.

* Decouple URHO3D_TRACY_PROFILING exclusively from URHO3D_PROFILING.

* Comment explains URHO3D_TRACY_PROFILING

* Update

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update

* Update TracyCallstack.cpp

* Update

* Update CMakeLists.txt

* Update TracyCallstack.cpp

* Update TracyCallstack.cpp

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2021-08-10 15:53:55 +00:00
Crypto City
f2ae622b53 SDL: use -fcommon to fix issues with wayland smbols on arch 2021-05-19 12:29:08 +00:00
Crypto City
237ff68344 Revert "core: add VariantMapVector to the variant types"
This reverts commit 3a86d00996.

Now obsoleted
2020-11-24 03:16:51 +00:00
Crypto City
e6fa304713 disable joystick on windows, fix link issue 2020-10-27 19:45:17 +00:00
Crypto City
eece80a87a Vector3: only use rsqrt intrinsics with x86_64 GCC 2020-10-19 19:24:22 +00:00
Crypto City
d0820d9626 Node: support derived components in GetComponent 2020-10-19 19:24:14 +00:00
Crypto City
cbce2b69d8 SDL: move WASAPI audio driver after DSOUND
WASAPI support seems patchy, and in particular causes
high pitch fast music
2020-10-19 19:24:01 +00:00
Crypto City
f653bff647 Terrain: speed up a bit, and possible occlusion bug fix 2020-10-19 19:22:02 +00:00
Crypto City
6f768e246b Terrain: use faster approximate Normalized function for normals/tangents 2020-10-19 19:21:56 +00:00
Crypto City
8548653948 Vector3: add faster approximate Normalize/Normalized functions 2020-10-19 19:21:35 +00:00
Crypto City
c824ccaae7 Terrain: fix crash on exit 2020-10-19 19:20:35 +00:00
Crypto City
607bacfdc5 Terrain: speed up UpdateEdgePatchNeighbors 2020-10-19 19:20:31 +00:00
Crypto City
042bf9d968 Terrain: remove some divisions in CreatePatchGeometry 2020-10-19 19:19:59 +00:00
Crypto City
d1c486253e Terrain: speed up CalculateLodErrors 2020-10-19 19:19:59 +00:00
Crypto City
d61ecf008a Terrain: speed up GetRawNormal 2020-10-19 19:19:59 +00:00
Crypto City
03e9f5ff20 Terrain: speed up height map copy 2020-10-19 19:19:59 +00:00
Crypto City
02abd710ce Terrain: speed up GetLodHeight 2020-10-19 19:19:59 +00:00
Crypto City
7c218a8b58 Terrain: speed up patch lookup when building terrain 2020-10-19 19:19:59 +00:00
Crypto City
47a205122a Terrain: make tangent calculation optional 2020-10-19 19:19:59 +00:00
Crypto City
3e82fc1fca Terrain: cache index data across objects 2020-10-19 19:19:59 +00:00
Crypto City
eb676fb31c Ray: fix wrong normal on HitDistance
It could leak the normal from a hit behind the closest hit
2020-10-19 19:19:59 +00:00
Crypto City
9c2e1cc0e8 Octree: faster drawable removal as we don't need to preserve order 2020-10-19 19:19:59 +00:00
Crypto City
47b7bdf735 Application: allow overriding the error dialog name 2020-10-19 19:19:21 +00:00
Crypto City
aab18992f2 Octree: use const ref rather than copying shared pointers 2020-10-19 19:19:21 +00:00
Crypto City
d7103ff604 Octree: do not preserve drawable ordering
We don't need it and it's faster to remove
2020-10-19 19:19:21 +00:00
Crypto City
ac6b50f073 StaticModel: optionally ignore E_RELOADFINISHED event
It's much faster with lots of children on a node
2020-10-19 19:19:21 +00:00
Crypto City
a8fb844693 Str: allow move assignment to self
It's used for instance when shuffling a std::vector of String
2020-10-19 19:19:03 +00:00
Crypto City
29d4e39f96 static build fixes 2020-10-19 19:19:03 +00:00
Crypto City
fb29a34cdc PackageTool: add an exclude option
One may set a number of glob patterns to exclude from the output
2020-10-19 19:19:03 +00:00
Crypto City
2713da6256 PackageTool: fix empty string check in extension check 2020-10-19 19:18:51 +00:00
Crypto City
5556ffd451 SoundSource: send E_SOUNDFINISHED to the source object too
It might not have a node
2020-10-19 19:18:44 +00:00
Crypto City
0b1951caf3 windows build fixes 2020-10-19 19:18:32 +00:00
Crypto City
03efe5df4d Load obfuscated data files
Some assets have a licence prohibiting easy reuse by game users,
so we store them obfuscated
2020-10-19 19:17:39 +00:00
Crypto City
e5ca160902 Graphics: fix "infinite" loop when asking for an invalid monitor 2020-10-19 19:17:34 +00:00
Crypto City
3a86d00996 core: add VariantMapVector to the variant types 2020-10-19 19:17:29 +00:00
Crypto City
48f7e251ab LineEdit: hide cursor when not editable 2020-10-19 19:17:24 +00:00
Crypto City
58d058ad7e Sprite: basic animation support 2020-10-19 19:17:03 +00:00