Commit Graph

68 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
d33ac02538 Refactor build scripts to build Urho3D library as main target.
Other changes in the commit:
- Change build option from URHO3D_BUILD_TYPE to URHO3D_LIB_TYPE. Default value is STATIC.
- Automatically add compiler definition 'URHO3D_STATIC_DEFINE' when linking with Urho3D library statically.
- Move LuaScript subsystem from Extra/ to Engine/.
- Enable FindUrho3D module to also detect Urho3D library target when the FindUrho3D module is being used internally by Urho3D project.
- Configure to build all the samples for iOS and Android platforms also when option to build samples is enabled.
- Export all the Register*Library() global functions.
- Rewrite all the tools, samples, and extras targets to link against Urho3D library.

TODOs:
- Combine engine sub-libraries into one.
- Test builds on non-Linux platforms.
2013-10-21 02:28:29 +08:00
Lasse Öörni
48532b2509 Added C++ / script integration samples, which reimplement AnimatingScene sample, but use a script object instead of a C++ component.
Added Execute() function to LuaScriptInstance.
Fixed LuaScriptInstance::SetScriptFileName() not loading the script.
2013-09-22 19:15:30 +00:00
Lasse Öörni
94a3c80e34 Added C++ version of HugeObjectCount example, and animation to both versions.
Added note of event subscription time to the first C++ example.
2013-09-03 19:32:10 +00:00
Lasse Öörni
26901cdc4c Added vehicle sample. 2013-08-28 23:35:10 +00:00
Lasse Öörni
04b00263b0 Moved CharacterDemo to the samples.
Use forward declarations in the samples.
2013-08-27 21:45:43 +00:00
Lasse Öörni
dfb318b4f9 Added scene network replication sample. 2013-08-27 00:12:07 +00:00
Lasse Öörni
426d664990 Added network chat sample. Cleaned up UI creation code in SoundEffects sample.
Include kNet include dir when finding Urho3D library.
Reset the server connection pointer before sending disconnection event in the Network subsystem.
2013-08-25 23:42:22 +00:00
Lasse Öörni
fc1c2e6f13 Initial Navigation sample.
Added overload of NavigationMesh::DrawDebugGeometry() that finds the DebugRenderer component from the root scene node automatically.
2013-08-25 18:47:48 +00:00
Lasse Öörni
056acfcc68 Added sound effects example. 2013-08-25 09:20:56 +00:00
Lasse Öörni
2271d6ba83 Added Ragdolls sample.
Added template version of RemoveComponent to Node.
2013-08-24 14:20:02 +00:00
Lasse Öörni
e7e469cf5a Added PhysicsStressTest sample. 2013-08-22 21:23:20 +00:00
Lasse Öörni
497bd8c101 Added Physics sample. 2013-08-21 22:58:41 +00:00
Lasse Öörni
87a6ee9578 Added MultipleViewports & RenderToTexture samples.
Added diffuse unlit & notexture unlit techniques.
Do not use occlusion if viewport is very tall compared to width, as the pixel width of the occlusion buffer is fixed and would result in large CPU time consumption.
2013-08-20 23:23:42 +00:00
Lasse Öörni
0f4fbda5fb Added Decals example.
Refactored SkeletalAnimation example to use a custom component as well.
2013-08-19 19:45:27 +00:00
Lasse Öörni
a9eb0e1e61 Added Billboards sample.
Some code cleanup/formatting of the other samples.
2013-08-17 23:45:09 +00:00
Lasse Öörni
1ef35d353c Added skeletal animation sample.
Fixed build of samples.
Removed line to disable MinSizeRel build type in CMake script as it seems to have no effect any longer.
Removed unused function to get AnimationState by C string of animation name.
2013-08-17 18:38:07 +00:00
Lasse Öörni
e2d2c01636 Added AnimatingScene sample. 2013-08-11 22:24:26 +00:00
Wei Tjong Yao
02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 2013-08-09 10:29:22 +00:00