Commit Graph

61 Commits

Author SHA1 Message Date
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00: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
Yao Wei Tjong 姚伟忠
f7ad9b138e Clang-Tidy - performance-unnecessary-copy-initialization. 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 姚伟忠
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 姚伟忠
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
Eugene Kozlov
59391f9523 Source/Tools and Source/Samples automatic upgrade: override, typedef to using, 0 to nullptr. 2017-08-29 11:40:46 +03:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Johnathan Jenkins
d78fc4020f minor typos 2016-10-28 13:07:14 -07:00
Lasse Öörni
98a3c8d49a Remove Abs() from NinjaSnowWar & CharacterDemo ground contact handling to prove that we can check for normals pointing up to detect ground. 2016-08-17 23:52:13 +03:00
Lasse Öörni
9f3e5e9cbb Squashed commit of the following:
commit da349be28508316a690086f5f8cec4be80d4a0a9
Author: Lasse Öörni <loorni@gmail.com>
Date:   Tue Aug 16 21:40:50 2016 +0300

    Convert mutant textures to .jpg to conserve repository size.

commit 086bfd662631df30bbad033b8be967b04db44f0b
Merge: 84e5da6 d135d76
Author: Lasse Öörni <loorni@gmail.com>
Date:   Tue Aug 16 21:38:44 2016 +0300

    Merge remote-tracking branch 'Lumak/master'

commit d135d760460e1bc925b1a3ea6a14a9d7ed5e8283
Author: Lumak <lumak5309@gmail.com>
Date:   Tue Aug 16 10:01:53 2016 -0700

    replaced char model w/ mutant model in 18 char demo lua,

commit 9255fd76e5393b636f2c32d33dce99c00caa555a
Author: Lumak <lumak5309@gmail.com>
Date:   Mon Aug 15 16:08:39 2016 -0700

    replaced jack model w/ mutant model in 18 character demo
2016-08-16 21:45:17 +03:00
Yao Wei Tjong 姚伟忠
1243d8bcda Regex replace all the uppercase key bindings with their constants. 2016-06-11 02:56:39 +08:00
Lasse Öörni
a794f9e59b Prefer key constants instead of ascii codes in keydown/keypress checks. (AngelScript & C++) 2016-05-30 20:45:13 +03:00
Yao Wei Tjong 姚伟忠
a15abf5068 Avoid hard-coding of the sample list in the build script. 2016-04-27 12:23:35 +08:00
hdunderscore
467c4bd4e8 - Updated sample mouse mode setup.
- (Web) Removed some of the exit engine logic.
2016-03-27 20:01:22 +11:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Ivan K
31f3c9ab65 DEFINE_APPLICATION_MAIN -> URHO3D_DEFINE_APPLICATION_MAIN 2015-10-21 23:08:28 +04:00
Ivan K
431e29d2cd ATTRIBUTE -> URHO3D_ATTRIBUTE 2015-10-21 22:14:03 +04:00
Ivan K
4bcbae61fe HANDLER -> URHO3D_HANDLER 2015-10-21 21:49:02 +04:00
Ivan K
f02cd63437 OBJECT -> URHO3D_OBJECT 2015-10-21 11:12:45 +04:00
aster2013
6bd1d77634 Add baseTypeName argument to OBJECT macro. 2015-10-11 22:17:55 +08:00
Lasse Öörni
65d36e4db2 Fix crash / null exception in CharacterDemo which would result if the character node did not exist after loading the scene. 2015-09-30 16:34:24 +03:00
Yao Wei Tjong 姚伟忠
c2471a240a Reorganize includes for Samples and Extras.
Since the URHO3D_PCH build option is made available to support non-PCH build, our build system does not rely on precompiled header to include the Urho3D.h export header anymore. The export header is auto-included by one of Urho3D headers when it is required using the right format with the help of URHO3D_IS_BUILDING compiler define. As such, there is no need to explicitly include Urho3D.h in external project too. Sorry for the flip-flop.
2015-08-27 18:07:20 +08:00
aster2013
349a3ee981 Sort include file in samples. 2015-08-27 13:54:54 +08:00
Yao Wei Tjong 姚伟忠
0fe597223f Add initial support for integration tests on Emscripten platform.
At the moment the 'make test' cannot be run non-interactively yet on Linux host and Mac OS X host systems due to what-could-be a bug in 'emrun' script. The issue with 'emrun' has been reported to upstream (https://github.com/kripken/emscripten/issues/3234).
2015-03-07 12:00:47 +08:00
Yao Wei Tjong 姚伟忠
6763207787 Complet the rebase to master branch. 2015-02-13 21:23:05 +08:00
Lasse Öörni
bb2ebf7568 Bump copyright to 2015. 2015-01-31 21:03:53 +02:00
Yao Wei Tjong 姚伟忠
ed214bbeb3 Avoid the include dirs hack for finding the Urho3D.h header.
It is now a library user own's responsibility to include the Urho3D.h in their source code. Or to include it as part of their own precompiled header similar to what Urho3D project has done.
2015-01-20 18:15:29 +08:00
Yao Wei Tjong 姚伟忠
359efb2d37 Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir. 2015-01-05 22:31:32 +08:00
Yao Wei Tjong 姚伟忠
b51e419c88 Change impl. file to include the header file from corresponding subdir.
Change header file to use relative pathspec when including other files.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
4feb135281 Clean up SDK include dirs. Refactor FindUrho3D CMake module.
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
aster2013
4655ee1ee4 Submit code in LuaScript samples. 2014-11-22 16:23:17 +08:00
Yao Wei Tjong 姚伟忠
f943bb4faa Unwarn patch for AppleClang. A few warnings were indeed coding error. 2014-10-05 20:22:49 +08:00
Yao Wei Tjong 姚伟忠
24e6b0d3cf Clean up CharacterDemo sample to use the same TOUCH_SENSITIVITY value. 2014-05-01 11:39:17 +08:00
Yao Wei Tjong 姚伟忠
4cf5ffd6db Code cleanup on screen joystick to make Input.h easier to include. 2014-04-23 18:30:21 +08:00
Yao Wei Tjong 姚伟忠
dfe4caf3d6 Add logic to suppress zoom when multi-touching screen joystick buttons. 2014-04-22 12:41:02 +08:00
Yao Wei Tjong 姚伟忠
125000454c Refactor samples to use patched screen joystick layout. Closes #321.
Enhance screen joystick to also support mouse button binding. It can be used in combination with key binding, e.g. to bind SHIFT+LMB.
2014-04-22 01:12:46 +08:00
Lasse Öörni
955a8bb34e Joystick refactoring after merging the joystick pull request from thebluefish.
- Fixed "ghost" buttons due to setting button down state both by joystick button and controller button mapping.
- Fixed missing name in joystick state.
- Allow getting joystick state both by joystick ID (Input::GetJoystick()) and a zero-based index (Input::GetJoystickByIndex()).
- Fixed ambiguity in Input class parameter names whether functions take a joystick ID, or an index. Most take joystick ID by now.
- Controller events removed. Controller joysticks will receive ordinary joystick events, but with controller axis & button mappings.
- Joystick identifying parameter in joystick events changed to JoystickID to denote that it's an ID and not a zero-based index.
- Code convention edits to Input code.
2014-04-18 23:33:25 +03:00
Yao Wei Tjong 姚伟忠
dbeb244fb5 Minor clean up on sample code. Move Console & HUD to settings joystick. 2014-04-18 18:06:41 +08:00
Yao Wei Tjong 姚伟忠
ec25e56046 Refactor Samples to support yaw and pitch by touch on mobile platform. 2014-04-17 01:56:59 +08:00
Yao Wei Tjong 姚伟忠
46285baf97 Refactor build scripts to group Urho3D specific build option.
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
Lasse Öörni
d0595084d4 Initial implementation of LogicComponent base class, which should make writing C++ logic/updater components more similar to scripting. Refactored C++ examples to use LogicComponent where possible. 2014-03-06 21:47:39 +02:00
aster2013
3e7aa8512e Fixed warning. 2014-03-04 11:21:06 +08:00
Lasse Öörni
6d5ddc23e0 Bump the copyright for 2014. 2014-02-01 14:37:21 +02:00
Lasse Öörni
8fafdbf842 Ported the CharacterDemo touch input code to C++. 2014-01-28 00:40:36 +02:00
Lasse Öörni
9486d17667 Bump the depth constant bias in all shadowed directional light samples to work better on mobile platforms. Disable Urho3D logo in samples when using touch controls. 2014-01-23 16:07:08 +02:00
Lasse Öörni
a26d5b98d5 Added example of manual bone control to CharacterDemo. Added a version of Skeleton::GetBone() that takes a C string parameter to avoid ambiguity. 2014-01-18 23:05:52 +02:00