hdunderscore
5c0e992ef1
Fixed a bug in touch input for Emscripten.
...
Minor code cleanup.
2015-02-15 19:08:14 +11:00
Lasse Öörni
b7d87c613f
Refer to HTML5 platform more accurately.
2015-02-14 23:37:48 +02:00
Lasse Öörni
3f2f88441d
Enable cascaded shadows on Emscripten.
2015-02-14 23:30:22 +02:00
Lasse Öörni
b6ea033ce3
Enable CharacterDemo & VehicleDemo also without networking. Update documentation.
2015-02-14 22:16:39 +02:00
Lasse Öörni
84b5a2de5f
Shadow support on Emscripten. For now same capability as on mobiles; no cascaded shadow map.
2015-02-14 21:31:18 +02:00
Lasse Öörni
aa2f27bc73
Do not use the mobile framerate limit on Emscripten as frame limiting to 60fps will be choppy. Rather rely on vsync.
2015-02-14 18:55:42 +02:00
Lasse Öörni
7e350343d5
Define MOBILE_GRAPHICS or DESKTOP_GRAPHICS in GraphicsDefs.h based on the platform. Avoid GetPlatform() and string compare in Technique.
2015-02-14 18:55:07 +02:00
Yao Wei Tjong 姚伟忠
598030140d
Some how the strike through markdown does not work, so use hard delete.
...
Audio and mouse locking are working now in Emscripten build, credits to Chris and hd_, respectively.
[ci skip]
2015-02-14 21:41:10 +08:00
Yao Wei Tjong 姚伟忠
9bf0d95b33
Use full URL so that SF.net can display our logo correctly there.
...
Mark Emscripten build support as experimental.
2015-02-14 20:24:30 +08:00
Yao Wei Tjong 姚伟忠
b594db841f
Fix MinGW build regression issue.
2015-02-13 23:08:22 +08:00
urho3d-travis-ci
7c77ad06dc
Travis CI: API documentation update at 2015-02-13 13:55:43 UTC.
...
[ci package]
2015-02-13 13:55:43 +00:00
Yao Wei Tjong 姚伟忠
8be7896e44
For Travis CI - switch back to use Linux CI build environment.
...
Add Emscripten-CI into the CI-mirror branches list.
2015-02-13 21:42:07 +08:00
Chris Friesen
b8c04a3e9e
Emscripten audio support
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
34de545b4d
For Travis CI - Fix Emscripten CI build with Debug build configuration.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
00410603a1
Do not install NinjaSnowWar.sh and Editor.sh for Emscripten build.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
c48a46303b
Use -g4 flag for Emscripten Debug configuration build.
...
[ci package]
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
24e70ecd60
For Travis-CI - reduce number of samples in Emscripten build.
...
Also remove CI build for shared lib type. It is anyway just an emulation as Emscripten does not support dynamic library (yet) and our earlier issue with emar for static lib type has been fully resolved. Test [ci package] for Emscripten.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
a77e24d8ad
Enable external project macro users to find and use PackageTool.
...
Adjust software packaging for Emscripten.
2015-02-13 21:31:59 +08:00
hdunderscore
22d0f41943
- Restricted input processing while input focus is false.
...
- (Emscripten) Set focus based on page visibility on load.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
bb438ac6d9
Fetch the Emscripten SDL2 port in an orderly fashion.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
85c893a83d
Attempt to enable CI build for Emscripten.
2015-02-13 21:31:59 +08:00
hdunderscore
129f2f7dd9
Fixed an issue in Emscripten with mouse jumping when exiting mouse mode MM_RELATIVE (Pointer Lock), and a mouse jump when entering pointer lock for the first time and pressing a mouse button.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
ef38543b5a
Merge custom output command into custom target for resource packaging.
...
Add additional logic on Windows host to prevent unnecessary re-linking due to repackaging on each build. There is still no easy way on Windows host to skip repackaging though.
Eliminate the 'Application::GetSubsystem<Engine>()' call on each frame.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
e076d037c6
Minor convention and code clean up.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
a66df72ff5
Fix host tool building and relinking dependency.
...
Also fix an issue with CMake reconfiguration where the internal cache work against the regeneration of the custom RESOURCE_CHECK target.
2015-02-13 21:31:59 +08:00
hdunderscore
ee00a78d2b
- Fixed hidden OS cursor behaviour in Emscripten.
...
- Added a Pointer Lock API request in Emscripten when Input::SetMouseMode(MM_RELATIVE) is called.
- Added an event for mouse mode changing.
- Fixed Emscripten focus change detection.
2015-02-13 21:31:59 +08:00
Chris Friesen
57eeeb84b1
Fix terrain shader in chrome by explicitly setting precision
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
8471dcf3e4
Add option to package resource dirs and treat those dirs as build deps.
...
Fix static library building using emar instead of ar (from host compiler toolchain).
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
639b4ec3f7
Revert back the Urho3D CMake common module.
2015-02-13 21:31:59 +08:00
hdunderscore
92fe5d3c89
-The suffix is important on Windows when running CMake 'execute_process' in enable_pch, otherwise execute_process will not recognize the compiler as a file.
...
-Also reduced usr/bin/ar to ar, as it was invalid on Windows.
2015-02-13 21:29:10 +08:00
Yao Wei Tjong 姚伟忠
6e0ff48059
Suppress linker warnings. Minor doc update.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
19ab396e74
Add new Emscripten/CMake toolchain file based on Urho3D convention.
...
Use EMSCRIPTEN_ROOT_PATH environment variable to specify the root path to the emscripten, instead of the original EMSCRIPTEN environment variable exported in emsdk_set_env.sh.
This is because the original EMSCRIPTEN environment variable name clashes with our build scripts.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
e1a64d840e
Disable CI build for Emscripten port for now.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
6763207787
Complet the rebase to master branch.
2015-02-13 21:23:05 +08:00
badpixels
7061421425
Make sure -s USE_SDL=2 is part of compiler command line when building Urho3D library
2015-02-13 21:23:05 +08:00
t
395191e991
eliminate some compiler warnings
2015-02-13 21:23:05 +08:00
t
b596c1de5e
more notes and references added to Readme.emscripten.txt
2015-02-13 21:23:05 +08:00
t
9b770dd1f8
add sample build script buildEmscriptenSamples.sh
2015-02-13 21:23:05 +08:00
t
e60cbcdab5
remove glew references in OGLGraphicsImpl.h when building with emscripten
2015-02-13 21:23:05 +08:00
t
5d92f18b46
engine source changes for emscripten
2015-02-13 21:23:05 +08:00
t
8487a2e308
add toolchain file for emscripten
2015-02-13 21:23:05 +08:00
t
6ff6c5fe49
modify Source/CMakeLists.txt for emscripten build options
2015-02-13 21:23:05 +08:00
t
f298cf94a6
add Readme.emscripten.txt
2015-02-13 21:23:05 +08:00
t
731fb90137
add cmake_emscripten.sh
2015-02-13 21:23:05 +08:00
t
65054942e8
delete Controls.cpp and Controls.h from Source/Engine/Network
2015-02-13 21:23:05 +08:00
t
1dfd6eebde
move Controls.* from Engine/Network to Engine/Input
2015-02-13 21:23:04 +08:00
t
114ed8f6ff
add Readme.emscripten.txt
2015-02-13 21:23:04 +08:00
Yao Wei Tjong 姚伟忠
50ebccdaae
Minor update on README.md content and add Urho3D logo.
...
[ci skip]
2015-02-13 13:19:22 +08:00
hdunderscore
3184c2df87
Merge pull request #661 from GKR/bugfix/compilation-error-hdr-variable
...
Removal of hdrRendering variable caused compilation error when using the OpenGL renderer
2015-02-13 11:09:38 +11:00
Gunnar Kriik
b2f4848115
Removal of hdrRendering variable caused compilation error when using the OpenGL renderer
2015-02-12 22:56:40 +01:00