Commit Graph

452 Commits

Author SHA1 Message Date
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00: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
b08f08dfb6
36_Urho2DTileMap: Fix invisible cursor - Revert ef6284c938 (#2749) 2020-12-24 05:15:16 +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
Yao Wei Tjong 姚伟忠
18cd3b3995
Simplify lint setup.
Lint from 3rd-party libraries are 'suppressed' by having a separate '.clang-tidy' file with minimal checks enabled.
2020-10-29 08:22:38 +08:00
Arnis Lielturks
30dce947c4
Outgoing messages are now packed together (#2636)
* outgoing messages are now packed together

* ability to set connection packet buffer limit

* custom messages and broadcasting fixed

* code style updates
2020-08-04 22:25:52 +03:00
Arnis Lielturks
889367738b
HTTPS support - civetweb update (#2415)
* initial update

* CMake updated for civetweb, https working

* unused file cleanup

* CMake updates to civetweb

* minor update, mingw not yet working

* CMakeLists updated

* fixed for unix builds

* cmake updates, console output updated

* docs updates

* HTTP sample now uses http and https links

* civetweb version 1.11

* additional changes

* mingw fix

* openssl fix

* additional ssl configuration

* osx workaround

* openssl is no longer optional

* openssl is optional

* civetweb cmakelists updates, URHO3D_SSL=1 set for travis

* debug messages removed from SSL/TLS initialization

* link libraries with civetweb

* code style fixes

* cmake updates

* DBE_TAG=latest removed
2020-05-03 12:22:31 +03:00
Eugene Kozlov
3af4d23623 Fix build of Sample 54 for ARM and RPI. 2020-03-20 09:48:27 +03:00
Eugene Kozlov
4ceb2fbdc9 Fix build of Sample 54. 2020-03-20 00:40:56 +03:00
Eugene Kozlov
1fe5548ecc Add sample for window settings change. Cleanup. 2020-03-20 00:37:24 +03:00
Modanung
cbd2e7b5d8 Replaced tabs with spaces in sample 53 2020-03-01 20:05:23 +08:00
Arnis Lielturks
b5b6f0d5fb
nat master server disconnecting fixes, NAT sample updates (#2591) 2020-02-28 23:13:16 +02:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00: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
1vanK
9a61d48076 Fix example 50 invisible traps https://github.com/urho3d/Urho3D/issues/2390 2019-08-18 04:44:12 +08:00
Arnis Lielturks
d4cf8a9f05
localization JSON file now supports simple key-value structure (#2359)
* localization JSON file now supports simple key-value structure

* docs updated, code refactoring

* minor fix

* AngelScript integration fixed
2019-02-16 14:42:01 +02:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Arnis Lielturks
e363036036
kNet replaced with SLikeNet (RakNet fork). 2018-08-11 20:35:09 +08:00
Yao Wei Tjong 姚伟忠
d827f5ebfb
Proper segregation between Gradle modules. 2018-08-06 21:46:00 +08:00
Eugene Kozlov
4d8a0fd31c
Merge pull request #2336 from rokups/feature/flagset
Replace integer constants with enums and use FlagSet<Enum> for flags
2018-07-14 18:16:59 +03:00
LordGolias
45793b8ae2 Fixed wrong number of rows in chat history of Sample 16_Chat. 2018-06-23 22:51:53 +02:00
LordGolias
dd9532de51 Commented out unused parameters. 2018-06-23 22:50:21 +02:00
Eugene Kozlov
82c5529295 Rename Quality to MaterialQuality. Revert AnimationTrack default ctor. Rename UseEvent to UpdateEvent. Make FlagSet casts more strict. Minor changes. 2018-06-20 01:24:37 +03:00
Rokas Kupstys
966590d8e7 Use FlagSet<> for storing masks.
Author of FlagSet.h is Eugene Kozlov (https://github.com/eugeneko/).
2018-06-18 18:26:46 +03:00
Eugene Kozlov
bf91b675ea Revert "Revert me: Test Vector with non-copyable type."
This reverts commit 82cc60d974.
2018-06-03 12:51:08 +03:00
Eugene Kozlov
82cc60d974 Revert me: Test Vector with non-copyable type. 2018-04-30 15:12:13 +03:00
Yao Wei Tjong 姚伟忠
db2f6c9c33
Clang-Tidy - bugprone-integer-division. 2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
d43bf1b3d6
Clang-Tidy - hicpp-signed-bitwise.
However, this check is disabled because we could not cleanly modify the code everywhere to make them pass.
2018-04-01 10:48:47 +08:00
Uchechukwu Nwokoma
03d8c40252 Added URHO3D_URHO2D guard that seems omitted 2018-03-29 23:47:38 +08:00
Yao Wei Tjong 姚伟忠
6d08bcd8c0
Clang-Tidy - hicpp-member-init. 2018-02-25 23:32:38 +08:00
Yao Wei Tjong 姚伟忠
3a76654c44
Demonstrate how to bring to front an UI-element.
Close #2251.
2018-02-04 16:11:50 +08:00
Yao Wei Tjong 姚伟忠
d368227648 Minor formatting and modernizing the code.
Close #2214.
2018-01-26 07:56:25 +08:00
Ricardo Abreu
c6a6598764 Add stretchable sprite component and corresponding sample. 2018-01-26 06:57:23 +08:00
Yao Wei Tjong 姚伟忠
f1c1f5aa42 For CI - setup the lint stage on the primary CI. 2018-01-24 02:06:23 +08:00
Yao Wei Tjong 姚伟忠
29fed24492 Rinse and repeat by invoking clang-tidy (v3.9) from CLI directly.
It appears that Clion's modified version of the clang-tidy does not detect and fix all the issues.
2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
2435a523d7 Clang-Tidy - readability-misleading-indentation, actually it's a bug. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
f7ad9b138e Clang-Tidy - performance-unnecessary-copy-initialization. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
1156ebfcec Clang-Tidy - cert-flp30-c. 2018-01-20 23:52:03 +08:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
e2ecc52adc Clang-Tidy - cert-err58-cpp (WIP). 2017-12-31 15:38:09 +08:00
Yao Wei Tjong 姚伟忠
d6eb307e34 Clang-Tidy - google-explicit-constructor. 2017-12-31 13:48:28 +08:00
Yao Wei Tjong 姚伟忠
c99c5fbf64 Clang-Tidy - modernize-use-equals-default. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
c8bc642020 Clang-Tidy - modernize-use-nullptr. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
446247fa8c Clang-Tidy - modernize-loop-convert. 2017-12-31 13:48:08 +08:00
Yao Wei Tjong 姚伟忠
ca97fd9b9b Clang-Tidy - modernize-use-auto. 2017-12-31 12:46:26 +08:00
Yao Wei Tjong 姚伟忠
5e89e566e6 Clang-Tidy - modernize-use-override. 2017-12-31 12:11:09 +08:00
thesquib
7acefc3d88 Setup tests correctly in CMakeLists 2017-11-23 23:04:08 +13:00
thesquib
b46db86f24 Updated for current Urho3D, modified isometric demo to include interactions similar to the 2d platformer. 2017-11-23 23:01:51 +13:00