Commit Graph

10192 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
091bad25e4 For Travis CI - clean up the comment lines. alle grün :)
[ci skip]
2014-02-17 22:36:47 +08:00
Yao Wei Tjong 姚伟忠
83a5aae303 Fix Clang-Makefile Debug configuration build detected by OSX-CI.
For Travis CI - consider nothing to commit as OK to proceed to next step.
2014-02-17 21:43:39 +08:00
Lasse Öörni
e922b5d1c5 Merge pull request #201 from Amadeus-osa/master
Fixed ComponentAdded event.
2014-02-17 15:00:13 +02:00
Amadeus
167c68aea0 Fixed ComponentAdded event. 2014-02-17 13:15:02 +01:00
Yao Wei Tjong 姚伟忠
b0623e8965 For Travis CI - set MinGW cross-compiling build as mandatory to pass.
Preparation for OSX-CI build.
2014-02-17 19:44:37 +08:00
Lasse Öörni
21d97420ea Fixed line break in the NinjaSnowWar shader precache list. 2014-02-17 01:09:12 +02:00
Lasse Öörni
fd80972e47 Merge pull request #198 from GKR/master
Fix for vegetation vertex shader variable naming typo (GLSL)
2014-02-17 00:05:43 +02:00
urho3d-travis-ci
4380a9c7cb Travis CI: API documentation update at 2014-02-16 20:36:43 UTC.
[ci skip]
2014-02-16 20:36:43 +00:00
Lasse Öörni
abc6fcd8b8 Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
Moved GetShader() from Renderer subsystem to Graphics, which is more logical as loading shaders is a low-level operation, while Renderer should be concerned with high-level rendering of 3D scenes. Now eg. UI does not need to depend on Renderer at all.

Simplified internal state of ShaderVariation & ShaderProgram objects, the success of compile/link can be deduced from the presence of a non-null GPU object.

Fixed FILE_READWRITE mode to not clear the file contents, and to handle alternating reads and writes correctly.
2014-02-16 22:23:07 +02:00
Lasse Öörni
c2e6904a6b Reduce kNet worker thread wait time for potentially less network latency. 2014-02-16 22:23:07 +02:00
Yao Wei Tjong 姚伟忠
798eb597b6 Misc. bug fixes detected by CI build for Windows platform.
- Fix finding Urho3D library when only debug version is available.
- Keep the library dependencies in the list as they are, even if that means a same library being listed twice (to fix dynamic library build for Windows platform).
- MinGW cross-compiling toolchain already has PIC flag set by default, so skip setting it one more time (to suppress compiler warnings spam).
2014-02-17 01:57:04 +08:00
urho3d-travis-ci
b93e3a31c5 Travis CI: API documentation update at 2014-02-16 14:39:26 UTC.
[ci skip]
2014-02-16 14:39:26 +00:00
Yao Wei Tjong 姚伟忠
51c749f301 Doxygen uses // comment style. Header file uses /**/ style. Phew. 2014-02-16 22:22:03 +08:00
Gunnar Kriik
f28827d3c9 Fixed vegetation shader vertex shader variable naming typo 2014-02-16 14:46:44 +01:00
urho3d-travis-ci
a1bec9b862 Travis CI: API documentation update at 2014-02-16 13:30:47 UTC.
[ci skip]
2014-02-16 13:30:47 +00:00
Yao Wei Tjong 姚伟忠
887c2ad748 Change comment style so that it also generates valid AngelScriptAPI.h. 2014-02-16 21:15:35 +08:00
urho3d-travis-ci
836831ebe4 Travis CI: API documentation update at 2014-02-16 08:14:40 UTC.
[ci skip]
2014-02-16 08:14:40 +00:00
Yao Wei Tjong 姚伟忠
2fb1dc2edc Mark the deprecated AS API bindings in the documentation.
Also print a warning when it is being used in the script.
2014-02-16 16:02:12 +08:00
Lasse Öörni
230a07e4d0 Fixed Resource::Load() in Lua saving instead of loading. 2014-02-15 21:27:19 +02:00
urho3d-travis-ci
b6d2bee509 Travis CI: API documentation update at 2014-02-15 17:46:33 UTC.
[ci skip]
2014-02-15 17:46:33 +00:00
Lasse Öörni
47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
Important: when you assign a non-RefCounted object as a void pointer to a Variant, you must now retrieve it with GetVoidPtr() instead.

The legacy methods in AngelScript for obtaining object handles from Variant, ie. GetNode(), GetUIElement() etc. still exist, but are considered deprecated.
2014-02-15 19:22:29 +02:00
Lasse Öörni
691492cf02 Fix AngelScript warning. 2014-02-15 15:15:58 +02:00
aster2013
82c1a7c59c Add UnsubscribeFromEvent function to ScriptObject, rename basic.lua to ToCppHook.lua. 2014-02-15 20:43:51 +08:00
Lasse Öörni
f850782027 Further tweak of NinjaSnowWar shadows on mobiles (make the only cascade show a bit further, make shadows lighter) 2014-02-15 13:59:26 +02:00
Yao Wei Tjong 姚伟忠
5f67c434bf For Travis CI - try to fix installation of MinGW-W64 packages.
Somehow apt-get in Travis-CI build environment does not auto install all the dependencies.
2014-02-15 19:37:07 +08:00
Yao Wei Tjong 姚伟忠
f3622e546a For Travis CI - fix quotation marks. 2014-02-15 19:02:03 +08:00
Yao Wei Tjong 姚伟忠
5a469eea39 Fix MinGW cross compiling build on Ubuntu host system.
Attempt to add CI build for Windows platform using MinGW cross compiling toolchain.
2014-02-15 18:55:09 +08:00
Yao Wei Tjong 姚伟忠
647b962f4b Cleanup build script - support SCP_TO_TARGET build option consistently. 2014-02-15 13:52:30 +08:00
Yao Wei Tjong 姚伟忠
8ef4dc47eb Better integration of MinGW cross-compiling build process.
- Runtime and archive output directories change to mingw-Bin and mingw-Lib, respectively.
- Enable SCP_TO_TARGET build option for all cross-compiling build process (except Android).
- Enable LuaJIT support for MinGW cross-compiling build.
- Cache MinGW toolchain path and sysroot.
- Fix "object file is too big" issue when building Assimp library in debug build using MinGW.
- Reorder the build processes documentation section to match the Readme.txt file.
2014-02-15 13:34:42 +08:00
Lasse Öörni
4c02e19352 Increased the OpenGL ES constant depth bias adjustment to reduce self-shadowing artifacts. Do not use cascaded shadow mapping on OpenGL ES, so that the low quality shadow mode can avoid dependent texture reads altogether for much higher performance on iOS. Updated documentation of the GetPlatform() function. 2014-02-15 00:54:54 +02:00
Yao Wei Tjong 姚伟忠
981e924b88 Fix function signature to return data type as exposed API. Fixes #195. 2014-02-15 00:00:52 +08:00
urho3d-travis-ci
4fbcda2ce9 Travis CI: API documentation update at 2014-02-14 13:46:50 UTC.
[ci skip]
2014-02-14 13:46:51 +00:00
aster2013
e7cef8223d Add construct function in dox file, add missing destruct in pkg file, update ToDoxHook.lua. 2014-02-14 21:32:07 +08:00
Yao Wei Tjong 姚伟忠
3011153655 Fix Mac OS X build script - only sed when there is install target.
Projects using Urho3D as external library may not define any install target, so the attempt to correct CMake generator known issue back fired and caused an error.
2014-02-14 17:49:26 +08:00
Lasse Öörni
964d9acb9e Merge remote-tracking branch 'remotes/wibbe/mingw-cross-compile-toolchain' 2014-02-13 22:47:14 +02:00
Daniel Wiberg
4d03b08acb Copied MinGW build instructions from Readme.txt to GettingStarted.dox 2014-02-13 17:39:46 +01:00
urho3d-travis-ci
2de15aeaff Travis CI: API documentation update at 2014-02-13 16:00:22 UTC.
[ci skip]
2014-02-13 16:00:22 +00:00
Daniel Wiberg
9e075184f2 Added a section about cross-compiling with MinGW in the Readme. 2014-02-13 16:36:57 +01:00
aster2013
2e9b720f4a Fixed tolua outside function name. 2014-02-13 23:36:40 +08:00
aster2013
33f0d01f9b Add new line at end of file. 2014-02-13 23:13:21 +08:00
aster2013
412ae47aaf Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-02-13 23:11:47 +08:00
aster2013
163921a072 UpdateDocument.bat and UpdateDocument.sh for new Lua Script Dox tool. 2014-02-13 23:07:53 +08:00
urho3d-travis-ci
a04d74f126 Travis CI: API documentation update at 2014-02-13 14:46:40 UTC.
[ci skip]
2014-02-13 14:46:40 +00:00
aster2013
21044135a5 Remove pkgToDox.lua, Rename some function and variant in ToDoxHook.lua. 2014-02-13 22:32:53 +08:00
Daniel Wiberg
0bcd1cfc5f Changed includes of Windows.h to windows.h so it's possible to cross-compile on Linux 2014-02-13 14:54:42 +01:00
Daniel Wiberg
dce4c5a2c5 Added support for cross-compiling Urho3D for Windows on Linux systems. 2014-02-13 14:54:18 +01:00
urho3d-travis-ci
eb8371b0dd Travis CI: API documentation update at 2014-02-13 13:48:14 UTC.
[ci skip]
2014-02-13 13:48:14 +00:00
Lasse Öörni
77129bb9cb Added statements for SDL modification to comply with the license. 2014-02-13 15:23:46 +02:00
Lasse Öörni
33ae3c8e58 Merge remote-tracking branch 'remotes/overminddl1/overminddl1-inputchanges' 2014-02-13 15:07:16 +02:00
aster2013
f455b2fac2 Update CMakeLists.txt for document. 2014-02-13 19:53:59 +08:00