Commit Graph

57 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
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
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Pengfei Li
d9d98cd35b restore the commits in Sample.inl 2017-06-07 18:30:49 +03:00
Pengfei Li
353fc4d7b3 Consider the initial position for the borderless window 2017-06-07 18:30:47 +03:00
Yao Wei Tjong 姚伟忠
ec102aadfc Reorder initialization order to suppress Xcode warnings. 2017-04-08 23:52:44 +08:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Lasse Öörni
fef73ba4c4 Squashed commit of the following:
commit 06f4d6afab933e32eaf3428dd080766b11a87f82
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 18:31:39 2016 +0200

    Black variant of logo.

commit 8fa11f888de023fcc76f26908e2ea77ebfd3146b
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 17:12:14 2016 +0200

    New logo in Lua samples.

commit 1283e38db1164a1c1e5db7d1042feabf996031fb
Merge: 4062553 4f5a2ea
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 16:51:04 2016 +0200

    Merge remote-tracking branch 'Modanung/new-logo'

commit 4f5a2ea104feeac12b87d3fb89d116e1866c2513
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 05:36:37 2016 +0100

    Also replaced logo in angelscript samples

commit 7c6e5e90c4dc82705883806e46b0957a44fbc787
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 03:34:31 2016 +0100

    Changed logo in samples to fishbone logo
2016-12-18 18:48:39 +02:00
1vanK
2a703a5ab1 Add engine parameters const 2016-12-10 08:18:18 +03:00
Yao Wei Tjong 姚伟忠
b2af56a14b Minor bug fixes. 2016-11-20 01:24:10 +08:00
Yao Wei Tjong 姚伟忠
b99f652892 Minor refactoring on the event profiler subsystem. 2016-08-05 17:43:30 +08:00
cosmy
b057434bfa Make escape key name consistent between keycode and scancode. 2016-05-27 13:27:53 +02:00
Yao Wei Tjong 姚伟忠
d2fe7b1228 Remove "z" shortcut for console (consistent with scripting samples). 2016-05-25 16:39:50 +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
hdunderscore
54565005e2 Updated HTML5 behavior of the samples, mouse modes and UI cursor.
Updates:
- Exposed a new method to determine whether the mouse pointer is confined to window.
- E_MOUSEMODECHANGED now has a new parameter, P_MOUSELOCK, indicating whether the mouse pointer is locked.
- MM_ABSOLUTE now behaves more closely to the desktop equivalent (web)
- Changed some samples to use different mouse movement methods as test cases.
- Input class: suppressNextMouseMove_ now suppresses all movements within the tick.
- Added script bindings for the Input class changes.
- On Web platform, removed event polling and instead use event callbacks, allowing pointer-lock requests to occur in browser events.

Bug fixes:
- Fixed mouse jumps on entering and exiting pointer-lock (web)
- Fixed a bug that caused the UI cursor and OS cursor to fall out of sync (web)
- Fixed a bug that could allow pointer-lock to be acquired after a different mouse mode was requested. (web)
- Prevent most samples from exiting on Web platform
- Reverted previous fix to web platform touch events, as upstream SDL has corrected the corresponding bug.
2016-03-23 01:52:12 +11:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Lasse Öörni
6a3bbb8aab Fix D3D11 constant buffers for VSM. Fix editor shadow mode selection. Fix script API for new shadow modes. Fix debughud for new shadow modes. Edit documentation to refer to new shadow modes. Added contributor credit. Some code convention edits, e.g. VSM instead of Vsm. Dump new NinjaSnowWarShaders.xml file. 2015-12-18 14:22:24 +02:00
Xavier Maupeu
dbcfc9721e merge VSM shadow 2015-12-17 23:04:48 +01:00
Yao Wei Tjong 姚伟忠
f471dd66dd Refactor installation structure for Windows platform.
Attempt to reenable the try_compile logic to verify if the found Urho3D
library is ABI-compatible with the chosen compiler toolchain.
2015-12-16 22:21:24 +08:00
Xavier Maupeu
362242bd3b update script API for ShadowQuality 2015-11-26 11:27:20 +01:00
Lasse Öörni
8463b48e96 Remove SplitMode enum in favor of a bool to simplify script binding. Reverse the default behavior to not return empty strings to ensure correctness of existing code. Fix resource prefix path list to not require a space. Fix ResourceRefList deserialization. Closes #1014. 2015-11-08 14:14:46 +02:00
Yao Wei Tjong 姚伟忠
587344af8a Minor cleanup to simplify the override condition for sample code. 2015-11-04 22:26:36 +08:00
Yao Wei Tjong 姚伟忠
f47c04dcee Minor fix on code comment. [ci skip] 2015-11-04 00:16:27 +08:00
Yao Wei Tjong 姚伟忠
8c8e2a97b5 Allow -pp and URHO3D_PREFIX_PATH to override the sample default paths.
This is useful for user to try out the apps with alternate asset directories.
2015-11-04 00:06:34 +08:00
Yao Wei Tjong 姚伟忠
22bd3de807 Refactor resource prefix path parameter to accept a list of paths.
Close #1000.
2015-11-03 17:46:56 +08:00
Lasse Öörni
b616aa6272 Merge remote-tracking branch '1vanK/master'
Conflicts:
	Source/Urho3D/Engine/DebugHud.cpp
	Source/Urho3D/Engine/Engine.cpp
2015-10-23 22:27:39 +03:00
JSandusky
8e39692ef3 Show "Memory usage" DebugHud in all samples (F3 key) 2015-10-22 19:49:49 -04:00
Ivan K
4bcbae61fe HANDLER -> URHO3D_HANDLER 2015-10-21 21:49:02 +04:00
Yao Wei Tjong 姚伟忠
01cae9de6a Switch off the sound support for most of the sample apps by default.
Close #924.
[ci package]
2015-10-06 16:58:02 +08:00
Yao Wei Tjong 姚伟忠
cfff44873f Bump missed out files. [ci skip]
$ for f in `git grep -l '2008-2014 the Urho3D project'`; do perl -pi -e 's/2008-2014 the Urho3D project/2008-2015 the Urho3D project/g' $f; done
2015-02-01 08:16:05 +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
aster
9e716da779 Dump used resource file name at sample exiting. 2014-08-04 22:02:59 +08:00
Yao Wei Tjong 姚伟忠
96295b4923 Ensure the application logs are created in a writeable location.
- Add a new function to get application preferences directory and expose it to scripting.
- Change Editor to save/load configuration file from the application preferences directory.
- Standardized the location of log files generated by Urho3DPlayer and samples. Ensure it is created in a user writeable location to prevent application locked up during closing.
2014-05-24 12:16:18 +08:00
Lasse Öörni
0d183d6301 Added FromString() function to XMLFile. 2014-05-13 21:50:26 +03:00
Yao Wei Tjong 姚伟忠
6ad8c14346 Add engine param for enabling touch emulation during initialization.
Adjust sample base class to add screen joystick on desktop platform when touch emulation is enabled.
2014-04-29 10:36:43 +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
5209e6e6a6 Merge remote-tracking branch 'remotes/thebluefish/master' 2014-04-18 15:00:59 +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
thebluefish
907c6a15f5 Bugfixes 2014-04-18 00:03:55 -07:00
thebluefish
1ba75f5222 Resolved virtual joystick support
- Added function to set virtual joystick visibility.
- Updated samples.iml to reflect changess.
2014-04-17 23:50:06 -07: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 姚伟忠
c78f34d5ca Improve the hats response on screen joystick (in joystick event mode).
Refactor Samples base class to take advantage of the screen joystick.
Add second screen joystick layout for changing app settings.
Closes #264.
2014-04-15 22:59:10 +08:00
Yao Wei Tjong 姚伟忠
b5f9b52717 Minor fixes on C++ ConsoleInput sample class. 2014-03-04 11:39:36 +08:00
Lasse Öörni
b496c5a012 Added a square Urho icon (same as the Android icon) to use for the samples on desktop. 2014-02-12 15:19:58 +02:00
Lasse Öörni
5062dbba42 Sanitate screenshot name in the samples to ensure saving it succeeds. Prepend the executable path properly. Flip image in OpenGL Graphics::TakeScreenShot() instead of having the user to do it. 2014-02-01 01:07:03 +02:00
Mike3D
75321c632d Extended Sample with ability to set window title and icon and take screenshots 2014-01-31 16:56:50 +01:00
Lasse Öörni
c169684bcd Crashproofed most of the C++ samples when running with empty resource directories. 18 & 19 will still crash inside Bullet. 2013-09-30 20:12:45 +00:00