Commit Graph

5243 Commits

Author SHA1 Message Date
Crypto City
5022290e71 BillboardSet: add per billboard collusion scale and id 2021-12-05 07:51:22 +00:00
Crypto City
9031796f85 Camera: add a distance to bounding box function 2021-12-05 07:51:22 +00:00
Crypto City
06e5c6adab AnimationController: fix invalid memory access
AddTime might have triggered events which could have triggered
new animations, reallocating (and possibly moving) animations_,
2021-12-05 07:51:22 +00:00
Crypto City
944b917120 Geometry (and hull/compute) shaders by JSandusky 2021-12-05 07:51:22 +00:00
Crypto City
0d65278362 Camera: early out when setting unchanged near/far clip planes 2021-12-05 07:48:12 +00:00
Crypto City
e27d8db76b Image: fix loading obfuscated PNG 2021-12-05 07:48:12 +00:00
Crypto City
023cd171a2 IO: Allow multiple filters in ScanDir 2021-12-05 07:48:12 +00:00
Crypto City
fc9a11cba2 IO: Update LZ4 to v1.9.2, safe decompression, user compression level 2021-12-05 07:48:12 +00:00
Crypto City
e66730c930 Terrain: fix normal discontinuities on chunk borders 2021-12-05 07:48:12 +00:00
Crypto City
c4abc80e75 Terrain: #include <stdint.h> for windows 2021-12-05 07:48:12 +00:00
Crypto City
6dc6a270c3 Image: load more formats from obfuscated variant 2021-12-05 07:48:12 +00:00
Crypto City
4968ecc33f Terrain: support 16 bit single component height map 2021-12-05 07:48:12 +00:00
Crypto City
5f936db344 Tracy: build with default timer, so it works on qubes 2021-12-05 07:48:11 +00:00
Crypto City
a949dbaa77 SDL: use -fcommon to fix issues with wayland smbols on arch 2021-12-05 07:44:16 +00:00
Crypto City
3576f662c0 Revert "core: add VariantMapVector to the variant types"
This reverts commit 3a86d00996.

Now obsoleted
2021-12-05 07:44:16 +00:00
Crypto City
f2abc7cb83 disable joystick on windows, fix link issue 2021-12-05 07:44:16 +00:00
Crypto City
4e29c8531f Vector3: only use rsqrt intrinsics with x86_64 GCC 2021-12-05 07:44:16 +00:00
Crypto City
264fdce881 Node: support derived components in GetComponent 2021-12-05 07:44:16 +00:00
Crypto City
6dd9a15063 SDL: move WASAPI audio driver after DSOUND
WASAPI support seems patchy, and in particular causes
high pitch fast music
2021-12-05 07:44:16 +00:00
Crypto City
a7e4f2b4f6 Terrain: speed up a bit, and possible occlusion bug fix 2021-12-05 07:44:16 +00:00
Crypto City
30edb30611 Terrain: use faster approximate Normalized function for normals/tangents 2021-12-05 07:44:16 +00:00
Crypto City
81fc5dcac9 Vector3: add faster approximate Normalize/Normalized functions 2021-12-05 07:44:16 +00:00
Crypto City
e5edc244d3 Terrain: fix crash on exit 2021-12-05 07:44:16 +00:00
Crypto City
9f18f392c4 Terrain: speed up UpdateEdgePatchNeighbors 2021-12-05 07:44:16 +00:00
Crypto City
08e4e1beaa Terrain: remove some divisions in CreatePatchGeometry 2021-12-05 07:44:16 +00:00
Crypto City
8b44798adc Terrain: speed up CalculateLodErrors 2021-12-05 07:44:16 +00:00
Crypto City
f441bd9030 Terrain: speed up GetRawNormal 2021-12-05 07:44:16 +00:00
Crypto City
e352f0dfcf Terrain: speed up height map copy 2021-12-05 07:44:16 +00:00
Crypto City
32dc5ee6d9 Terrain: speed up GetLodHeight 2021-12-05 07:44:16 +00:00
Crypto City
9e9c40b45a Terrain: speed up patch lookup when building terrain 2021-12-05 07:44:16 +00:00
Crypto City
7647601a19 Terrain: make tangent calculation optional 2021-12-05 07:44:16 +00:00
Crypto City
fb651e1d03 Terrain: cache index data across objects 2021-12-05 07:44:16 +00:00
Crypto City
d7aaf80ed5 Ray: fix wrong normal on HitDistance
It could leak the normal from a hit behind the closest hit
2021-12-05 07:44:16 +00:00
Crypto City
080828463a Octree: faster drawable removal as we don't need to preserve order 2021-12-05 07:44:16 +00:00
Crypto City
b7c573ba23 Application: allow overriding the error dialog name 2021-12-05 07:44:16 +00:00
Crypto City
58b27fa286 Octree: use const ref rather than copying shared pointers 2021-12-05 07:44:16 +00:00
Crypto City
ff6d918af5 Octree: do not preserve drawable ordering
We don't need it and it's faster to remove
2021-12-05 07:44:16 +00:00
Crypto City
7df7ee2e0f StaticModel: optionally ignore E_RELOADFINISHED event
It's much faster with lots of children on a node
2021-12-05 07:44:16 +00:00
Crypto City
92d4bcfd19 Str: allow move assignment to self
It's used for instance when shuffling a std::vector of String
2021-12-05 07:44:15 +00:00
Crypto City
478d92c59d static build fixes 2021-12-05 07:43:58 +00:00
Crypto City
c6bfc7d7ec PackageTool: add an exclude option
One may set a number of glob patterns to exclude from the output
2021-12-05 07:43:34 +00:00
Crypto City
b9210d0dd9 SoundSource: send E_SOUNDFINISHED to the source object too
It might not have a node
2021-12-05 07:43:34 +00:00
Crypto City
ec69f6c8dd windows build fixes 2021-12-05 07:43:34 +00:00
Crypto City
49f8f9d86c Load obfuscated data files
Some assets have a licence prohibiting easy reuse by game users,
so we store them obfuscated
2021-12-05 07:43:34 +00:00
Crypto City
9c59e9e140 Graphics: fix "infinite" loop when asking for an invalid monitor 2021-12-05 07:43:34 +00:00
Crypto City
863b81c4a5 core: add VariantMapVector to the variant types 2021-12-05 07:43:34 +00:00
Crypto City
85fb2efd86 LineEdit: hide cursor when not editable 2021-12-05 07:43:34 +00:00
Crypto City
38507c0a06 Sprite: basic animation support 2021-12-05 07:43:34 +00:00
Crypto City
f77f320409 UI: add italic text effect 2021-12-05 07:42:44 +00:00
Crypto City
f6700688c2 DropDownList/ListView: allow selection by typed prefix 2021-12-05 07:42:44 +00:00