Commit Graph

5074 Commits

Author SHA1 Message Date
1vanK
97b09f848b Fix https://github.com/urho3d/Urho3D/issues/1877 2020-03-13 09:45:20 +08:00
1vanK
722e2dfceb Typos 2020-03-13 09:45:20 +08:00
1vanK
37ef9d492a Obstacle: make identical definition and declaration 2020-03-13 09:45:20 +08:00
1vanK
d976c4b43b Move enum LoopMode2D into namespace Urho3D 2020-03-13 09:45:20 +08:00
Modanung
cbd2e7b5d8 Replaced tabs with spaces in sample 53 2020-03-01 20:05:23 +08:00
Modanung
b1f6cc04c7 Found some more 2020-03-01 20:05:23 +08:00
Modanung
17b0dece1a Replaced tab with spaces 2020-03-01 20:05:23 +08:00
Patrick
ff6049f506 Allow to make custom class inherited from Drawable2D 2020-03-01 10:51:01 +08:00
urho3d-travis-ci
3f04e8fcd2 Travis CI: API documentation update at 2020-02-28 21:23:51 UTC.
[ci package]

Commit: b5b6f0d5fb

Message: nat master server disconnecting fixes, NAT sample updates (#2591)
2020-02-28 21:23:51 +00:00
Arnis Lielturks
b5b6f0d5fb
nat master server disconnecting fixes, NAT sample updates (#2591) 2020-02-28 23:13:16 +02:00
urho3d-travis-ci
35a1509dfe Travis CI: API documentation update at 2020-02-28 18:28:54 UTC.
[ci package]

Commit: 18c7230eb7

Message: Minor API update, bug fixes, cleanup.

* Remove undefined behavior caused by volatile variables in WorkQueue (volatile variables are not required to be thread-safe).
* Fix nasty DX11 bug caused by poor hash functions and likely hash collision in ShaderVariation.
* Relaxed FlagSet usage requirements.
* Various API extensions and code simplification.
* Const-correctness fixes.
2020-02-28 18:28:54 +00:00
Eugene Kozlov
18c7230eb7 Minor API update, bug fixes, cleanup.
* Remove undefined behavior caused by volatile variables in WorkQueue (volatile variables are not required to be thread-safe).
* Fix nasty DX11 bug caused by poor hash functions and likely hash collision in ShaderVariation.
* Relaxed FlagSet usage requirements.
* Various API extensions and code simplification.
* Const-correctness fixes.
2020-02-28 21:11:14 +03:00
urho3d-travis-ci
a98d17adf5 Travis CI: API documentation update at 2020-02-26 16:24:36 UTC.
[ci package]

Commit: 88ea05ee5c

Message: contributors list updated
2020-02-26 16:24:36 +00:00
pflat
aedf3cc176
Add MaxSuspensionForce to RaycastVehicle (#2590)
* Add MaxSuspensionForce to RaycastVehicle

* Add AS and Lua bindings to the new methods

* Add MaxSuspensionForce to component attributes.

* Resolve padding issue.
2020-02-26 17:57:35 +02:00
Rainer Deyke
469b30b605
Fix a memory leak in the Urho3D changes to SDL. 2020-02-18 00:54:31 +08:00
Yao Wei Tjong 姚伟忠
e843e6bc4c
Fox VS/Xcode, fix logical group for Lua generated files. 2020-02-18 00:47:18 +08:00
Yao Wei Tjong 姚伟忠
6ce2dc1b38
For VS/Xcode, group generated files. 2020-02-16 16:33:20 +08:00
Yao Wei Tjong 姚伟忠
c2b8d25962
For VS/Xcode, group Urho3D files based on physical directory structure. 2020-02-16 13:57:22 +08:00
Steven Burns
f122187e1e Explanatory comment regarding enum 2020-02-15 14:40:00 +08:00
Steven Burns
22e2f355f1 Upgrade to support spine runtime 3.7 and above 2020-02-15 14:40:00 +08:00
sssooonnnggg
68f4d9094e Fix coding style. 2020-02-09 00:52:37 +08:00
Yao Wei Tjong 姚伟忠
3a9e8f54a1
Bump dependencies for Android build.
Adjust build script for WebP library to include search path for cpu-features.
2020-02-09 00:30:16 +08:00
urho3d-travis-ci
b8f9311fad Travis CI: API documentation update at 2020-02-04 06:57:46 UTC.
[ci package]

Commit: 6947c1b01c

Message: Send Mouse Clicks on Event (#2566)
2020-02-04 06:57:46 +00:00
Igor Segalla
6947c1b01c
Send Mouse Clicks on Event (#2566) 2020-02-04 08:45:38 +02:00
r-a-sattarov@github.com
2229894107 E2K: added initial support for MCST Elbrus 2000
- added initial support in CMake configuration
- added initial support to AngelScript (ver. 2.33.0)
2020-02-02 07:45:54 +08:00
r-a-sattarov@github.com
552078cb66 E2K: strip UTF-8 BOM for MCST lcc compiler < 1.24
strip UTF-8 BOM for compability with MCST lcc compiler < 1.24
2020-02-02 07:45:54 +08:00
zlum
692714156e Fixed warning: enumeral and non-enumeral type in conditional expression [-Wextra]
int GetHatPosition(unsigned index) const { return index < hats_.Size() ? hats_[index] : HAT_CENTER; }
                                                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-01-27 07:53:52 +08:00
Modanung
2650e38855 Reduced minimum required cmake version to 3.10.2 2020-01-22 22:27:07 +08:00
Yao Wei Tjong 姚伟忠
6a79dbbb40
Suppress linker warning for Web build. 2020-01-12 12:39:54 +08:00
Yao Wei Tjong 姚伟忠
46c6894d78
Bump CMake minimum required version to 3.14.5. 2020-01-12 12:37:22 +08:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
SirNate0
ea25be8990 Update Vector.h PODVector::Push
Went with cleaner implementation storing the other vector's size before resize rather than checking whether the other vector is this.
2020-01-05 14:10:01 +08:00
SirNate0
3c26ff6196 Add a check for Push()ing *this to the size of the other vector after resize. 2020-01-05 14:10:01 +08:00
1vanK
bfaef57a29 Fix #2491
https://github.com/urho3d/Urho3D/issues/2491
https://github.com/bulletphysics/bullet3/issues/2382
2019-12-18 21:41:29 +08:00
Igor Segalla
dec79fa32f Fix code formatting 2019-12-11 10:57:12 +08:00
Igor Segalla
06b76e38d8 Sample2D Header for #2508 commit 2019-12-11 10:57:12 +08:00
Igor Segalla
f440e0128e Fix warnings and Sample2D #2508
Fixed some simple warnings and now Sample2D is passing structs by reference instead of value.
2019-12-11 10:57:12 +08:00
Igor Segalla
8ae2a6c9c9 Fix CharacterMap::Load always returning false #2349
CharacterMap::Load was always returning false, causing a problem on Entity::Load mainly.
2019-12-11 10:57:12 +08:00
Igor Segalla
28f475180d Fix opacity animation on AnimatedSprite2D #2145
Animation with alpha (scml) was not being applied by AnimatedSprite2D::UpdateSourceBatchesSpriter
2019-12-11 10:57:12 +08:00
urho3d-travis-ci
90dba0e49e Travis CI: API documentation update at 2019-12-10 04:48:49 UTC.
[ci package]

Commit: 3ceb14ad9d

Message: Fix StartServer scripting
2019-12-10 04:48:49 +00:00
Igor Segalla
3ceb14ad9d Fix StartServer scripting 2019-12-10 12:37:57 +08:00
Igor Segalla
9871e71d90 Set max connections of Start Server
It is now possible to set as many maximum connections as you want on your urho server.
2019-12-10 12:37:57 +08:00
Igor Segalla
006416686e Increase range of message ID's available
Now it's possible to send Urho messages with ID as unsigned int, this means you can use 0~4294967295 for message ID.
2019-12-10 12:37:57 +08:00
Igor Segalla
9a8f54f026 Fix Progress Bar direction #2050
Progress bar in vertical mode was scaling from top to bottom, the correct way on this mode is from bottom to top.
2019-12-09 19:53:55 +08:00
SirNate0
f2af8c7bb9 Added highDPI to logging during window creation. 2019-12-07 17:29:46 +08:00
ssinai1
1ab1f07144 Fix ETC1/ETC2 decompression error. (#2553)
Fix ETC1/ETC2 decompression error by using 4x4 local buffer.
Initializing ETCPACK in DecompressImageETC.
2019-12-07 14:41:19 +08:00
Y-way
b8f0604ea9 Fixed DebugHud exports for AngelScript 2019-11-20 17:53:56 +08:00
urho3d-travis-ci
171c1f413f Travis CI: API documentation update at 2019-11-17 05:02:04 UTC.
[ci package]

Commit: 97103bfae6

Message: Export BorderImag material for Lua
2019-11-17 05:02:04 +00:00
Y-way
97103bfae6 Export BorderImag material for Lua 2019-11-17 12:51:33 +08:00
urho3d-travis-ci
1ade7dafef Travis CI: API documentation update at 2019-11-04 13:02:48 UTC.
[ci package]

Commit: 42a9cb4e6f

Message: Fix Lua API binding issue for UIComponent.
Close #2539
2019-11-04 13:02:48 +00:00
Yao Wei Tjong 姚伟忠
42a9cb4e6f
Fix Lua API binding issue for UIComponent.
Close #2539
2019-11-04 20:51:22 +08:00
PredatorMF
a773601820 Fix naming convention to camelCase 2019-11-01 08:43:19 +08:00
PredatorMF
501f3a5c9a Fix D3D11 window not switching to correct monitor 2019-11-01 08:43:19 +08:00
PredatorMF
ccb24aa768 Use user specified refresh rate in OpenGL fullscreen 2019-11-01 08:43:19 +08:00
PredatorMF
8ab052ea8b Re-create D3D9 device when switching monitors 2019-11-01 08:43:19 +08:00
Y-way
4c952f4f7a Remove String compare. 2019-10-27 19:02:01 +08:00
Y-way
49e79d1c17 Stricter conditional judgment 2019-10-27 19:02:01 +08:00
Y-way
5b901f4b0c Fixing IsTypeOf() result error. 2019-10-27 19:02:01 +08:00
songruining
9c6e6b12e1 Add ETCPACK license. 2019-10-25 08:47:51 +08:00
songruining
9d960b05cc Fix ETCPACK cmake file for consistency. 2019-10-25 08:47:51 +08:00
songruining
5804996deb Fix indentation. 2019-10-25 08:47:51 +08:00
songruining
d4d2cbf9a5 Add ETCPACK as 3rd-party lib. 2019-10-25 08:47:51 +08:00
songruining
bb174b0a73 Use ETCPACK as 3rd-party to decompress ETC1/ETC2 texture, and remove old ETC1 decompression code. 2019-10-25 08:47:51 +08:00
sssooonnnggg
7831480e8d Add ETC2 texture support. 2019-10-25 08:47:51 +08:00
orefkov
fbe9f3f078 Fix build errors 2019-10-24 15:15:52 +08:00
orefkov
f969750e10 Fix code style 2019-10-24 00:12:09 +08:00
orefkov
1c8bff057d Fix error in AngelScript API bool Sphere::opEquals.
Fix error in AngelScript's autowrapper for generic calling convention for ARM64 in functions with ?& parameters. It is rewrite by manual register.
2019-10-24 00:12:09 +08:00
sssooonnnggg
2fdbc1abf6 Fix wrong pvrtc data size.
This caused pvr textures can't display on iOS devices.
2019-10-16 14:21:51 +03:00
SirNate0
c7e6a10a4b Added a Matrix3x4 overload for Node::SetWorldTransform() 2019-10-12 09:34:11 +08:00
urho3d-travis-ci
37aff57600 Travis CI: API documentation update at 2019-09-28 14:23:41 UTC.
[ci package]

Commit: 5af041765b

Message: Fix script API binding.
2019-09-28 14:23:41 +00:00
Yao Wei Tjong 姚伟忠
5af041765b
Fix script API binding. 2019-09-28 21:52:46 +08:00
Yao Wei Tjong 姚伟忠
e4b8d7d174
Suppress compiler warning. Change the default value for consistency.
Return nullptr as default value is also bad as it may cause null pointer dereference in JsonFile.cpp:174. See CID 346049 in coverity scan.
2019-09-28 21:52:46 +08:00
sssooonnnggg
b755e44498 Fix HiresTimer overflow bug.
When the application is running for a long time in a browser environment,  emscripten_get_now()*1000.0 may larger than 2^32-1, so HiresTick() may return wrong value, which causes timeStep_ is always 0.0f.
2019-09-26 15:51:22 +08:00
Yao Wei Tjong 姚伟忠
fe0782a065
Close PR #2506. 2019-09-22 11:01:02 +08:00
Yao Wei Tjong 姚伟忠
1f4ff57542
Minor clean up on spacing. 2019-09-22 11:00:35 +08:00
Yao Wei Tjong 姚伟忠
97bdf4f0e6
Close PR #2507. 2019-09-22 10:59:40 +08:00
pat2nav
77fbe8ed7c Add support of int64 as angelscript parameter 2019-09-20 13:21:27 +02:00
error408
fb866a87fd
Update SpritePacker.cpp
to guarantee best results, either: "stbrp_init_target", the forth parameter need either:
     1. make sure 'num_nodes' >= 'width'
or  2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1'
2019-09-19 16:15:41 +08:00
Modanung
5bec664bad Added check for setting cursor to current 2019-09-15 18:50:47 +02:00
Yao Wei Tjong 姚伟忠
61258e208f
Use C++11 std::isfinite() for portability. 2019-09-15 19:50:53 +08:00
1vanK
79573004ae Update Box2D 2019-09-15 14:46:08 +08:00
Yao Wei Tjong 姚伟忠
34ea8b48bf
Bump license year for SDL and AS. 2019-09-14 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
66095e0e0d
Initial integration with SDL 2.0.10 (WIP) for Android platform. 2019-09-14 16:21:42 +08:00
Yao Wei Tjong 姚伟忠
9b1d683556
Initial integration with SDL 2.0.10 (WIP) for Web platform.
Additional credit to Bantukul Olarn for pointing out the offending bits.
2019-09-14 16:21:42 +08:00
Yao Wei Tjong 姚伟忠
b67f85a59e
Merge commit '8f27ab75ada3af10c4f222b6cecebbd16ef466ab' into upstream.master 2019-09-14 14:59:45 +08:00
Eugene Kozlov
c2caa4f6a1 Cleanup Math code. 2019-09-08 15:43:28 +03:00
SirNate0
0032538519 Fixed console styling to account for the addition of LOG_TRACE
LOG_TRACE offset the log levels by 1 but the console styling did not add a
trace styling, so warnings were printed with error styling, etc.
2019-09-08 12:38:38 +08:00
Vitalii Minnakhmetov
06fa2a728d Make doxygen catch global enums 2019-08-28 22:44:26 +08:00
codexhound
f19fc528ad Additional Custom Geometry (#2476) 2019-08-25 00:00:42 +03:00
Sandu Liviu Catalin
f312ef8bb0 Create a Base directory for non-Container code.
Avoid a situation where all code is thrown in the Container directory simply because there is no other place for it.
Separate code into speciffic headers to make headers more intuitive.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
ffff630a55 Update Urho3DConfig.h
Convert tabs to spaces to conform with coding standards.
Update a couple macros to be the way they were intended.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
8ba1516277 Update Urho3DConfig.h 2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
91e8728200 Make iterators constexpr.
Allows the user of iterators in a constexpr context. Also moves them into their dedicated header so you don't have to include VectorBase.h to get access to them which may not be that intuitive.
2019-08-24 22:44:26 +08:00
Sandu Liviu Catalin
d58f104919 Create a common feature detection header.
Help identify compiler and platform features and provide extracted information through a set of common macros.
2019-08-24 22:44:26 +08:00
urho3d-travis-ci
5f30cdf861 Travis CI: API documentation update at 2019-08-24 06:46:00 UTC.
[ci package]

Commit: 63ef7312bf

Message: Moved Disabled Image Offset from Button to BorderImage

CheckBox disabled offset behavior
2019-08-24 06:46:00 +00:00
MistMage
63ef7312bf
Moved Disabled Image Offset from Button to BorderImage
CheckBox disabled offset behavior
2019-08-24 14:25:01 +08:00
SirNate0
637d84d32b Fixed the depth test behavior of debug renderer sphere sectors.
Also added more details to the documentation for that function.
2019-08-21 21:06:21 +08:00
1vanK
9a61d48076 Fix example 50 invisible traps https://github.com/urho3d/Urho3D/issues/2390 2019-08-18 04:44:12 +08:00
1vanK
9a6e9dfcd5 Fix IK typo: https://github.com/urho3d/Urho3D/issues/2475 2019-08-18 04:44:12 +08:00
urho3d-travis-ci
cc95e22e2c Travis CI: API documentation update at 2019-08-12 06:30:16 UTC.
[ci package]

Commit: 5e257e578c

Message: contributors list updated
2019-08-12 06:30:16 +00:00