Commit Graph

4961 Commits

Author SHA1 Message Date
Crypto City
b914ef1dcc Vector3: only use rsqrt intrinsics with x86_64 GCC 2020-08-17 19:35:40 +00:00
Crypto City
d05f70ff8b Node: support derived components in GetComponent 2020-08-10 17:02:21 +00:00
Crypto City
135dd6df4d SDL: move WASAPI audio driver after DSOUND
WASAPI support seems patchy, and in particular causes
high pitch fast music
2020-08-09 18:47:55 +00:00
Crypto City
38a4b12a45 Terrain: speed up a bit, and possible occlusion bug fix 2020-08-08 11:06:17 +00:00
Crypto City
f90c931348 Terrain: use faster approximate Normalized function for normals/tangents 2020-08-08 10:13:45 +00:00
Crypto City
48e02571ce Vector3: add faster approximate Normalize/Normalized functions 2020-08-07 19:18:21 +00:00
Crypto City
c4802518c8 Terrain: fix crash on exit 2020-08-06 01:09:33 +00:00
Crypto City
149288117a Terrain: speed up UpdateEdgePatchNeighbors 2020-07-31 21:09:22 +00:00
Crypto City
47769695f3 Terrain: remove some divisions in CreatePatchGeometry 2020-07-31 21:09:22 +00:00
Crypto City
69c8d20cb9 Terrain: speed up CalculateLodErrors 2020-07-31 21:09:22 +00:00
Crypto City
76e25cd49c Terrain: speed up GetRawNormal 2020-07-31 21:09:22 +00:00
Crypto City
285b5c9f69 Terrain: speed up height map copy 2020-07-31 21:09:22 +00:00
Crypto City
4c7ff607d8 Terrain: speed up GetLodHeight 2020-07-31 21:09:22 +00:00
Crypto City
798041c2f0 Terrain: speed up patch lookup when building terrain 2020-07-31 21:09:22 +00:00
Crypto City
d1b6a7b626 Terrain: make tangent calculation optional 2020-07-29 13:22:44 +00:00
Crypto City
90c3730a60 Terrain: cache index data across objects 2020-07-29 13:21:32 +00:00
Crypto City
0bcbeae977 Ray: fix wrong normal on HitDistance
It could leak the normal from a hit behind the closest hit
2020-07-17 13:58:13 +00:00
Crypto City
80a00967d4 Octree: faster drawable removal as we don't need to preserve order 2020-07-07 10:40:03 +00:00
Crypto City
e95646f5af Application: allow overriding the error dialog name 2020-07-07 10:15:56 +00:00
Crypto City
3b3459975f Octree: use const ref rather than copying shared pointers 2020-07-06 23:03:34 +00:00
Crypto City
ec78fe7068 Octree: do not preserve drawable ordering
We don't need it and it's faster to remove
2020-07-06 22:24:05 +00:00
Crypto City
ec35c3b7d0 StaticModel: optionally ignore E_RELOADFINISHED event
It's much faster with lots of children on a node
2020-07-06 22:01:41 +00:00
Crypto City
4bef0a0d32 Str: allow move assignment to self
It's used for instance when shuffling a std::vector of String
2020-07-06 13:28:55 +00:00
Crypto City
2003222862 static build fixes 2020-07-02 17:30:19 +00:00
Crypto City
67b5740403 PackageTool: add an exclude option
One may set a number of glob patterns to exclude from the output
2020-07-02 12:40:57 +00:00
Crypto City
f7bddae54a PackageTool: fix empty string check in extension check 2020-07-02 12:40:02 +00:00
Crypto City
47c2a52456 SoundSource: send E_SOUNDFINISHED to the source object too
It might not have a node
2020-06-26 14:16:33 +00:00
Crypto City
904880dfda windows build fixes 2020-06-11 21:18:50 +00:00
Crypto City
98a2529fed Fix warning about GCC not liking the clang pragma... 2020-05-30 01:04:36 +00:00
Crypto City
fed65c506c JSONValue: silence spammy warning on code intended to trigger it 2020-05-29 23:48:00 +00:00
Crypto City
cd9d73f9ec Load obfuscated data files
Some assets have a licence prohibiting easy reuse by game users,
so we store them obfuscated
2020-04-27 16:13:14 +00:00
Crypto City
13c52fb82c Graphics: fix "infinite" loop when asking for an invalid monitor 2020-02-04 20:27:14 +00:00
Crypto City
886e788170 core: add VariantMapVector to the variant types 2020-01-10 21:54:19 +00:00
Crypto City
598206c5c9 LineEdit: hide cursor when not editable 2020-01-02 22:03:44 +00:00
Crypto City
6a6bff5fff Input: fix type mixup between HatPosition and int
This fixes a warning in anything that includes Input.h
(and besides, HatPosition is unsigned)
2019-12-08 14:44:33 +00:00
Crypto City
1c010e68c7 Sprite: basic animation support 2019-11-20 19:53:46 +00:00
Crypto City
6ec54a7c7a UI: add italic text effect 2019-11-18 20:08:39 +00:00
Crypto City
600c81bc9c DropDownList/ListView: allow selection by typed prefix 2019-11-15 19:43:56 +00:00
Crypto City
dfffe6187d Fix modal dialogs leaking mouse events to the widgets below it 2019-08-11 22:35:33 +00:00
urho3d-travis-ci
78c449655a Travis CI: API documentation update at 2019-08-02 17:02:34 UTC.
[ci package]

Commit: 6a17259fa0

Message: contributors list updated
2019-08-02 17:02:34 +00:00
MystMagus
7a3b1b4995 Added optional fallbacks to JSONValue GetType methods (#2463)
* Added optional fallbacks to JSONValue GetType methods

* fallback -> defaultValue

* Fixed compile error

* Minor fix
2019-08-02 17:20:51 +03:00
MystMagus
44f181daca Tooltip improvements (#2468)
* Add manual reset method to ToolTip

* Add alternative targets to ToolTip
2019-08-02 17:19:35 +03:00
Romain Tartière
4709a003cd Fix build with FreeBSD clang version 6.0.1 (#2461)
[ 53%] Building CXX object Source/Urho3D/CMakeFiles/Urho3D.dir/Core/ProcessUtils.cpp.o
In file included from /home/romain/Projects/Urho3D/Source/Urho3D/Core/ProcessUtils.cpp:41:
In file included from /home/romain/Projects/Urho3D/build/include/Urho3D/ThirdParty/LibCpuId/libcpuid.h:88:
/home/romain/Projects/Urho3D/build/include/Urho3D/ThirdParty/LibCpuId/libcpuid_types.h:61:29: error: typedef redefinition with different types ('long long' vs '__int64_t' (aka 'long'))
        typedef signed long long   int64_t;
                                   ^
/usr/include/sys/_stdint.h:51:20: note: previous definition is here
typedef __int64_t               int64_t;
                                ^
In file included from /home/romain/Projects/Urho3D/Source/Urho3D/Core/ProcessUtils.cpp:41:
In file included from /home/romain/Projects/Urho3D/build/include/Urho3D/ThirdParty/LibCpuId/libcpuid.h:88:
/home/romain/Projects/Urho3D/build/include/Urho3D/ThirdParty/LibCpuId/libcpuid_types.h:62:29: error: typedef redefinition with different types
      ('unsigned long long' vs '__uint64_t' (aka 'unsigned long'))
        typedef unsigned long long uint64_t;
                                   ^
/usr/include/sys/endian.h:54:20: note: previous definition is here
typedef __uint64_t      uint64_t;
                        ^
2 errors generated.
2019-07-22 09:42:50 +03:00
TheComet
227bd25eaf Fixes #2452 (#2455) 2019-07-22 09:37:47 +03:00
urho3d-travis-ci
8a8ef72572 Travis CI: API documentation update at 2019-07-19 20:07:47 UTC.
[ci package]

Commit: b67cec1a52

Message: Fix build with FreeBSD clang version 6.0.1 (#2458)

 Building CXX object Source/ThirdParty/StanHull/CMakeFiles/StanHull.dir/hull.cpp.o
/home/romain/Projects/Urho3D/Source/ThirdParty/StanHull/hull.cpp:2590:28: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
        if(verts_count <4) return NULL;
                                  ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^~~~~~~
1 error generated.
2019-07-19 20:07:47 +00:00
Romain Tartière
b67cec1a52 Fix build with FreeBSD clang version 6.0.1 (#2458)
[ 12%] Building CXX object Source/ThirdParty/StanHull/CMakeFiles/StanHull.dir/hull.cpp.o
/home/romain/Projects/Urho3D/Source/ThirdParty/StanHull/hull.cpp:2590:28: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
        if(verts_count <4) return NULL;
                                  ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^~~~~~~
1 error generated.
2019-07-19 22:35:57 +03:00
Arnis Lielturkss
9a0025288d network connect functionality fixed 2019-07-19 19:31:45 +03:00
Romain Tartière
7b29755695 Fix build with FreeBSD clang version 6.0.1 (#2460)
[ 19%] Building CXX object Source/ThirdParty/SLikeNet/CMakeFiles/SLikeNet.dir/Source/src/RakString.cpp.o
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/src/RakString.cpp:1392:17: error: no matching function for call to 'vsnprintf_s'
        int numChars = vsnprintf_s(stackBuff, 511, str, ap);
                       ^~~~~~~~~~~
/home/romain/Projects/Urho3D/Source/ThirdParty/SLikeNet/Source/include/slikenet/linux_adapter.h:42:5: note: candidate function not viable: requires 5 arguments, but 4 were provided
int vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr);
2019-07-17 07:57:29 +03:00
lhinuz
7135067cd8 If disable Log module, URHO3D_LOGTRACEF(message) will cause parameters mismatch. 2019-06-14 08:34:11 +08:00
urho3d-travis-ci
4d8b92ba2a Travis CI: API documentation update at 2019-06-13 19:48:59 UTC.
[ci package]

Commit: 9dca143439

Message: Add UI custom material rendering (#2437)
2019-06-13 19:48:59 +00:00