Commit Graph

5229 Commits

Author SHA1 Message Date
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
Crypto City
a12d639c83 Fix modal dialogs leaking mouse events to the widgets below it 2021-12-05 07:42:44 +00:00
1vanK
7e0bfed578 AS Bindings: ignore "volatile" keyword to avoid difference between doxygen versions 2021-11-16 14:21:35 +03:00
1vanK
8ecaa1df57 Lua: forgot to remove constants in previous commit 2021-11-16 12:18:14 +03:00
1vanK
f740a17195 Lua: add bindings for ViewOverride, fix https://github.com/urho3d/Urho3D/issues/2847 2021-11-16 12:06:56 +03:00
Eugene Kozlov
429aaa8eab
Fix typo in AnimationController 2021-11-16 00:26:23 +03:00
Nathanial Lydick
c0b43665b4 Have Material unsubscribe from animation events on ResetToDefault. 2021-11-09 01:48:02 +08:00
SirNate0
066d5d4da2
Forward declare asITypeInfo to avoid error when directly including Urho3D/AngelScript/ScriptInstance.h. (#2845)
Fixes #2844.
2021-11-07 17:40:57 +03:00
Pencil Amazing
11e640ed73 Material::ResetToDefaults() should clear shaderParameterAnimationInfos_ 2021-11-07 13:17:13 +08:00
niansa/tuxifan
ecbdb52633 Fixed GLTF import
I noticed glTF2Importer::CanRead not returning the right value on success 😉
2021-11-06 16:37:52 +08:00
orefkov
e08df3d0cf
Update AngelScript - Fixed 32bit/64bit compatibility of saved bytecode in functions returning handles. (#2838) 2021-10-14 09:33:08 +03:00
orefkov
6b631476ab
Update AngelScript to 2.36.0 (#2837) 2021-10-11 12:47:35 +03:00
orefkov
2911d26231
Bug fixes and improves in AngelScript using (#2835)
* Fixed a bug when creating script objects - when the factory was executed, the execution nesting level did not increase, and if the constructor of the script object called the execution of the script function, it did not receive a free context for execution.
When compiling a script into bytecode, the initialization of the global variables of the script is no longer called.
Bug fixed - "scriptFile" was not available in the constructors of global script objects.
Improved script api dump generation - added output to the header file "operator XXX", casting to other types, added output of method's arguments name.

* Restore copyright.

* Change tabs to spaces. Update generated ScriptAPI.dox and AngelScriptAPI.h
2021-10-07 18:59:31 +03:00
orefkov
d5b763de93
Improved ScriptInstance performance. Faster call of event handlers. Obtaining information about the attributes of an object is performed only once and is cached. (#2836) 2021-10-07 18:59:21 +03:00
1vanK
2e39a3d80c
AS BindingGenerator: Not register factories for nocount objects (#2834) 2021-10-07 02:35:53 +03:00