Commit Graph

5243 Commits

Author SHA1 Message Date
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
1vanK
2bb682d2c2
Rename @fakeref to @nocount (#2833) 2021-10-06 20:25:53 +03:00
1vanK
853dd1e479
AS Bindings: Remove FakeAddRef and FakeReleaseRef (#2832) 2021-10-06 17:57:32 +03:00
orefkov
4a6e16344b
Update AngelScript to 2.35.1. (#2831)
* Update AngelScript to 2.35.1. Now it support native calling convention for ARM64.

* Change comment.
2021-10-05 20:22:27 +03:00
orefkov
14a9fed837
Registration in AngelScript of classes marked as @fakeref with the flag "asOBJ_NOCOUNT", without registration empty AddRef and Release. (#2828)
This will optimize the code into AngelScript.
2021-09-30 18:27:32 +03:00
1vanK
817e0d8b6c
Fix documentation generation for Doxygen 1.9.2 | Another workaround for BindingGenerator (#2830) 2021-09-29 22:31:56 +03:00
1vanK
f65ff83d53
BindingGenerator: typos; temporal workaround for doxygen 1.9.1 bug (#2829) 2021-09-29 19:35:50 +03:00
1vanK
255f04681a AS Bindings: fix IO manual bindings 2021-09-13 10:05:21 +03:00
YuriAzathoth
1320f26b6a Fix connection support json scene format 2021-09-06 22:56:54 +08:00
1vanK
9afd0feb38
Revert "Update boost::preprocessor to 1.75.0" (#2824)
This reverts commit c4082368d7.
2021-09-02 10:26:04 +03:00
Yao Wei Tjong 姚伟忠
884c09447d
Quick fix for Wayland with both GCC and Clang. 2021-08-05 23:41:26 +08:00
Nicholas J Ingrassellino
02b72fd0e0 Updated SQLite to v3.36.0. 2021-07-28 01:46:06 +08:00
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
zlum
733957e3a9 Fix warning: extra ‘;’ [-Wpedantic]. 2021-07-10 22:51:02 +08:00
reload0236
10815ae209 Fix format error in WriteDrawablesToOBJ, which causes incorrect face indice values in output obj files that may happen on posix system. 2021-05-25 22:09:49 +08:00
1vanK
e140676b72
AS Bindings: Renaming files for consistency (#2801) 2021-04-17 15:53:23 +03:00
1vanK
95fbf55c88 AS Bindings: Fix incorrect bindings for string utils 2021-04-16 19:21:33 +03:00
1vanK
9f968f3d24
AS Autobinder: remove unused ASClassBinder; Rename ASClassBinderNew to ASClassBinder (#2799) 2021-04-09 15:57:31 +03:00
1vanK
946321cb6f
AS Autobindings: Cleanup (#2798) 2021-04-09 02:28:39 +03:00
1vanK
fd592ef41a
AS Bindings: Fix Navigation manual bindings (#2797) 2021-04-08 17:04:55 +03:00
1vanK
6b23022c6e
AS Autobindings: move fields to templates (#2796)
* AS Autobindings: move fields to templates

* Update Manual_Database.cpp
2021-04-08 13:22:00 +03:00
1vanK
6802a83fcd
AS Binding Generation: Using caching to speed up (#2795) 2021-04-06 15:49:16 +03:00
1vanK
1ff3791c89
AS Autobindings: Split method binding registrations to different functions (#2789) 2021-04-06 01:01:07 +03:00
1vanK
fff115a0c0
AS Bindings: Use templates for default factories glue (#2787) 2021-02-28 01:42:32 +03:00
1vanK
09aa0d5e1e
AS Autobindings: Use template functions for default constructors; rename ClassFunction to Method (#2786) 2021-02-27 13:50:40 +03:00
1vanK
d17b5ec016 AS Bindings: Cleanup registration macro comments 2021-02-24 13:05:01 +03:00
1vanK
0e05a4cbf7 AS Autobinings: Remove glue for destructors because template glue function is used 2021-02-24 12:10:12 +03:00
1vanK
711053d293
AS Bindings: Allows using generic calling convention on any platform [cache clear] (#2783) 2021-02-23 21:31:21 +03:00
Wang Kai
ffa6a9d6e2
Fix UI scale issues. (#2779)
* Fix UI scale issues.

* Fixing of UI scaling issue.

* Unify cursor in UI scaled position.

* Scaled UI issue: JSCanvasSize modification

* Remove extra space.

* Fixed Editor viewport related issues when UI scaled.
2021-02-21 21:08:16 +03:00
1vanK
7cbb7b2999
AS Bindings: do not write wrap.h and wrap16.h to Urho3DAll.h [cache clear] (#2780) 2021-02-21 03:45:55 +03:00
1vanK
08063ca915 AS bindings: Move wrapper addon to engine; fix unclosed multiline comment 2021-02-20 20:37:50 +03:00
1vanK
84913ce65b AS Autobindings: Partially revert previous commit until problems with generic calling convention are resolved 2021-02-18 13:35:00 +03:00
1vanK
5d2b9537df AS Autobindings: Base for splitting class registrations into separate functions 2021-02-18 11:12:50 +03:00
1vanK
d7a1578ca2 AS Autobindings: Rename class registration function to more readable; Add comment before class registration function to allows do not write file name before every class member 2021-02-17 20:53:29 +03:00
1vanK
62d8bd7776 AS Autobindings: Remove unnecessary spaces from definitions 2021-02-17 11:25:33 +03:00
1vanK
5bc071b7cb AS Autobindings: Change Exception base class (fix building with GCC/MinGW) 2021-02-17 01:14:18 +03:00
SuperWangKai
30a629ca21
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-02-16 17:56:04 +03:00
1vanK
0e488a902d AS Autobindings: Join converted varibles by separate functions 2021-02-06 09:58:26 +03:00
1vanK
ecb2dda3dd AS Autobindings: Simplify CppVariableToAS() 2021-02-05 14:46:43 +03:00
1vanK
59671b2797 AS Autobindings: Fix wrapper name for operator= Fix wrapping StringVector in function params 2021-02-05 12:14:03 +03:00
1vanK
47aa41e2c1 AS Autobindings: Process Context* in function parameters in standard way 2021-02-05 00:15:03 +03:00
1vanK
3b835a7cd3 AS Autobindings: Replace function param converter and function return type converter by single function 2021-02-04 13:56:45 +03:00
1vanK
3b0c4b6204 AS Autobindings: Use exceptions instead global variable to pass error message through several functions 2021-02-03 10:56:06 +03:00
1vanK
5bce5959b0
AS Bindings: Register long / unsgined long as separate type because it have different width on different systems (#2774) 2021-02-02 12:24:49 +03:00
1vanK
88b44fd835
AS Autobindings: Do not use param indices in glue (#2773) 2021-02-02 10:51:23 +03:00
Eugene Kozlov
2805b6379e
Fix incorrect rendering of point vertex lights
Spot light attenuation is not completely suppressed for point lights with cutoff = -1.0f
2021-02-01 19:20:30 +03:00
1vanK
d5232d6319 Typo in previous commit 2021-02-01 10:03:14 +03:00
gleblebedev
d8c4adb49d
Issue 2718 bugfix (#2771)
* Limit number of channels to avoid issues on multichannel audio device (5.1, 7.1, etc)

* fix as requested

* Update Audio.cpp

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2021-02-01 09:59:25 +03:00
1vanK
51e823387e Revert "Limit number of channels to avoid issues on multichannel audio device (5.1, 7.1, etc) (#2769)"
This reverts commit f551d2eab8.
2021-01-31 13:04:48 +03:00
gleblebedev
f551d2eab8
Limit number of channels to avoid issues on multichannel audio device (5.1, 7.1, etc) (#2769) 2021-01-31 12:27:51 +03:00
1vanK
c4082368d7 Update boost::preprocessor to 1.75.0 2021-01-21 00:53:24 +03:00
1vanK
20ab680d36 AS Autobindings: base class for function analyzers 2021-01-19 12:14:49 +03:00
1vanK
fcfc612248 AS Autobindings: Initial splitting of classes to separate functions - Move destructors 2021-01-19 12:14:49 +03:00
1vanK
83b482332c Separately set /WHOLEARCHIVE for every third party lib. Fix https://github.com/urho3d/Urho3D/issues/2760 2021-01-17 04:57:06 +03:00
1vanK
7e1ff465f4 Disable WHOLEARCHIVE for VS Shared x32. Temporary fix for https://github.com/urho3d/Urho3D/issues/2760 2021-01-17 02:40:47 +03:00
1vanK
19533d7d41 AS Bindings: fix throwing away of parameters
https://www.gamedev.net/forums/topic/709016-dropping-parameters-when-registering-functions/
2021-01-16 14:45:37 +03:00
1vanK
79dbbe7a49 BindingGenerator: Fix building with MinGW 2021-01-15 06:00:59 +03:00
1vanK
90d7c27c3e
AS Autobindings: Rename GeneratedClasses to GeneratedObjectTypes; sort and rename HighPriority members to DefaultConstructors (#2759) 2021-01-15 05:17:58 +03:00
1vanK
03882e8943
Update AngelScript library (#2756) 2021-01-11 00:49:23 +03:00
1vanK
7ce32991ae
AS Autobindings: Sort RegisterObjectType. Initial stage of reorganizing class bindings (#2752) 2021-01-05 00:15:20 +03:00
1vanK
c823a0a419
BindingGenerator: Move template specialization into GlobalFunctionAnalyzer; Improve XmlAnalyzers (#2751) 2020-12-30 17:55:45 +03:00
1vanK
4048798fc5 Remove endline spaces 2020-12-24 16:21:55 +03:00
1vanK
a6dad3f314 BindingGenerator: Typo in the previous commit 2020-12-24 15:39:52 +03:00
1vanK
3b71f28262 AS Autobindings: Sort global variables 2020-12-24 14:23:39 +03:00
1vanK
094fd5f58f AS Autobindings: avoid recreation of bindings when cpp files is changed
Only header files is used for binding generation
2020-12-24 07:47:26 +03:00
1vanK
b08f08dfb6
36_Urho2DTileMap: Fix invisible cursor - Revert ef6284c938 (#2749) 2020-12-24 05:15:16 +03:00
1vanK
bd07aee97d
AS Autobindings: Sorting global functions (#2748) 2020-12-24 04:23:00 +03:00
1vanK
88a275bb90
AS Autobindings: refs instead values, improved UsingAnalyzer, typos, style (#2747) 2020-12-22 15:18:01 +03:00
1vanK
0ba217b9a1
AS Autobindings: reorganize doxygen 7732 issue workaround (#2746) 2020-12-21 19:38:42 +03:00
1vanK
e1661eebe0 ASEnumBinder: Remove unnecessary code, use refs in cycles 2020-12-09 21:12:55 +03:00
1vanK
93edc07698
AS Bindings: Alphabetical sorting of enums (#2741) 2020-12-09 16:55:34 +03:00
1vanK
5e4b34cf36
AS Bindings: Move includes to separate file (#2740) 2020-12-08 15:51:59 +03:00
Henrik Heino
04b952cb67
Fix failing mingw32 build when there is space char in project path. (#2736) 2020-12-06 04:49:30 +03:00
tril0byte
f8cb13f49a
LineEdit: enforce length limit on updating text (#2729)
* enforce paste length limit using truncate

* fix: only enforce length if limit is set

* Stylistic changes

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2020-12-05 23:55:31 +03:00
1vanK
da002acf75 Fix for https://github.com/urho3d/Urho3D/issues/2638
FT_Get_Next_Char(face, charCode, &glyphIndex); can return identical glyphIndex for different char codes. This also caused problems with spaces for some fonts. Incorrect hack that try solve problems with spaces has been removed
2020-12-05 20:51:33 +03:00
1vanK
107d99711e
Add MSG_USER const. Fix https://github.com/urho3d/Urho3D/issues/2734 (#2735) 2020-12-05 15:50:29 +03:00
1vanK
305214ccd5
AS Bindings: Workarounds for Connection that used outside URHO3D_NETWORK define (#2733)
This restore working of AS examples when engine builded without network
2020-12-05 03:11:14 +03:00
1vanK
0815591e2a Update AS bindings 2020-12-04 18:30:42 +03:00
UkoeHB
eb0e7677f6
speed up logging by only creating formatted log messages when the log level is appropriate (#2685) 2020-11-26 04:24:02 +03:00
1vanK
bae8f680ee Fix twice applied gravity 2020-11-25 23:58:16 +03:00
UkoeHB
0f4b769f1a
fix third party bug for El Capitan and update gitignore for files created when 'dot' dependency is missing (#2687) 2020-11-25 23:32:51 +03:00
Eugene Kozlov
9f93478e90
Revert PR #2476. (#2728) 2020-11-20 22:15:51 +03:00
Eugene Kozlov
f2d156de30
Add support of 24-bit depth on mobiles. (#2726) 2020-11-18 15:38:17 +03:00
Katekov Anton
6abd71cc15
Fix clicks on retina display (#2678) 2020-11-06 15:11:26 +03:00
1vanK
e3fc6dc4fa
AS Autobindings: fix circular dependency (#2723) 2020-11-05 20:41:45 +03:00
1vanK
5f9894ee45
Update AS bindings for AbstractFile and children (#2722) 2020-11-04 10:21:03 +03:00
Arnis Lielturks
9a68d9533d
support loading shaders from memory (#2719)
* support loading shaders from memory

* code style fix

* GetName, SetName moved to AbstractFile class

* named pipe updated, abstract file tweaked

* minor code style tweaks

* obsolete variable fixed

* filename setter updated
2020-11-04 00:11:35 +02:00