Commit Graph

9886 Commits

Author SHA1 Message Date
Lasse Öörni
c8a1bc96d7 Refactor UI to not duplicate code for touch and mouse handling. 2013-08-31 22:40:57 +00:00
Lasse Öörni
68892cae15 Credits fix. 2013-08-31 17:13:38 +00:00
Lasse Öörni
72c6811269 Added RenderToTexture script sample. 2013-08-31 16:38:19 +00:00
Lasse Öörni
30b7905d98 Decals & MultipleViewports samples in script.
Fixed camera rotation in VehicleDemo.
2013-08-31 14:22:36 +00:00
Lasse Öörni
3c6a0f57d7 In the SoundEffects sample, start/stop music when buttons released. 2013-08-31 12:41:37 +00:00
Lasse Öörni
f7ac7eb713 Applied window fixed resizing patch from Sebastian Delatorre. 2013-08-31 10:28:48 +00:00
Lasse Öörni
e777dd9e39 Added Billboards sample in script. 2013-08-30 22:30:06 +00:00
Lasse Öörni
956df0a8f6 Added SkeletalAnimation sample converted to script.
Use ScriptInstance component in AnimatingScene script sample to show the "raw" way of creating script objects.
Clamp function call count to 99999 in profiler text output, as otherwise the printing goes out of line.
2013-08-30 14:41:47 +00:00
Lasse Öörni
7f64104825 Added -p command line argument, which specifies resource paths to use.
Added IsAbsolutePath() function to FileSystem.
Removed unnecessary double error message from ResourceCache.
2013-08-30 11:03:07 +00:00
Aster Jian
5552d06572 Update HelloGUI sample. 2013-08-30 05:43:14 +00:00
Aster Jian
5fe38d3246 Update 01_HelloWorld.lua and Add 02_HelloGUI.lua. 2013-08-30 05:25:15 +00:00
Lasse Öörni
7b4ae12fe0 Ported Sprites, StaticScene & AnimatingScene samples to AngelScript. 2013-08-29 21:34:34 +00:00
Lasse Öörni
680361327a Fixed the skybox material on case-sensitive systems. 2013-08-29 18:48:44 +00:00
Lasse Öörni
10abc4414b Ported HelloGUI sample to script. 2013-08-29 15:53:55 +00:00
Lasse Öörni
5094541394 Ported the first sample to AngelScript. 2013-08-29 14:11:34 +00:00
Wei Tjong Yao
59b5967910 Simplify the build script as ABSOLUTE_PATH_LIBS variable works both ways. 2013-08-29 09:40:35 +00:00
Wei Tjong Yao
643f066179 Use the ABSOLUTE_PATH_LIBS variable instead if the library is found. Just in case the library is found in a path that contains keywords that may be stripped. 2013-08-29 09:11:25 +00:00
Lasse Öörni
1674447226 Use absolute path of d3dcompiler library.
Fixed compiling when Direct3D SDK is not found.
2013-08-29 08:09:29 +00:00
Wei Tjong Yao
c3ea4d7a85 Adjusted Android logging level in SDLActivity java class. Added compiler flag for RASPI build to suppress warning spam about mangling of va_list. Cleaned up header includes in Urho3D class. 2013-08-29 06:34:12 +00:00
Aster Jian
367a930a93 Add Lua File class. Make Lua file as resource. 2013-08-29 05:56:35 +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
Wei Tjong Yao
a01f6ab183 Enhanced post-build automation for Android build to copy all dependent shared libraries to target library output directory. 2013-08-27 16:01:09 +00:00
Lasse Öörni
3b32acf27f Added possibility to clear scene of only replicated or local content. Do not clear local content from a client scene when joining a server. This makes the startup of the SceneReplication sample faster, as the static scene is not replicated.
Exposed missing Node::RemoveAllComponents() to script.
2013-08-27 15:15:30 +00:00
Wei Tjong Yao
0812e0ac07 Cleanup remnant reference to now defunct variable. 2013-08-27 14:45:01 +00:00
Wei Tjong Yao
9419efa04f Change the variable name back to STRIP_LIBS to avoid variable name clash with other macro. 2013-08-27 14:38:40 +00:00
Wei Tjong Yao
3efb36599a Refactored Findxxxx and Urho3D-CMake-magic modules to let linker uses absolute path to the found libraries. Updated documentation accordingly. 2013-08-27 14:31:05 +00:00
Wei Tjong Yao
0ff4759eba Fixed condition expression in post-cmake() function. 2013-08-27 05:09:31 +00:00
Lasse Öörni
dfb318b4f9 Added scene network replication sample. 2013-08-27 00:12:07 +00:00
Wei Tjong Yao
1051808eee Android java classes code cleanup. 2013-08-26 15:44:37 +00:00
Wei Tjong Yao
3d9858020f Enhanced SDLActivity java class to automatically load all the shared libraries. Enhanced the Urho3D-CMake-magic module to copy Urho3D shared library to target Android library output path. 2013-08-26 14:02:57 +00:00
Lasse Öörni
796d8871b9 Sample code cleanup. 2013-08-26 07:41:02 +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
31da083870 Disallow headless mode from the samples as they do not nullcheck eg. for the Graphics subsystem and would crash. 2013-08-25 21:25:15 +00:00
Lasse Öörni
cfb11454b4 Refactored raycast code in the Decals & Navigation samples.
Added adding & removing obstacles in the Navigation sample.
2013-08-25 20:50:04 +00:00
Lasse Öörni
829bd2a221 Clean up some comments. 2013-08-25 18:52:02 +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
506915adca Applied physics patch from amadeus_osa. Do not make a copy of triangle mesh collision data, improved constraint behavior under external forces (fix from Bullet SVN.) 2013-08-25 17:01:41 +00:00
Wei Tjong Yao
cd91a6f1f7 Always use non-rooted search (even when cross-compiling) to find the source tree and library based on URHO3D_HOME environment variable. 2013-08-25 16:44:03 +00:00
Lasse Öörni
dee404c133 Removed unnecessary conversion step from RampGenerator. 2013-08-25 15:53:19 +00:00
Lasse Öörni
c9e2b49f5d Queue update when View3D scene changed. 2013-08-25 12:31:23 +00:00
Lasse Öörni
c46d4a1972 Added missing license texts. 2013-08-25 12:15:22 +00:00
Lasse Öörni
9ff0247c68 Applied material editor preview patch from primitivewaste, which also adds View3D UI element class. 2013-08-25 12:11:52 +00:00
Lasse Öörni
056acfcc68 Added sound effects example. 2013-08-25 09:20:56 +00:00
Wei Tjong Yao
463ce2a65d Enabled option to build Urho3D static and shared library (without main entry point) for Android. Fixed debug compiler flags being defined multiple times for Android build. Added post-build command to strip the generated Urho3D shared library if it is built for embedded devices. Enhanced cmake_gcc.sh to automatically fix the generated Eclipse project setting files for Android build. 2013-08-25 08:08:52 +00:00
Lasse Öörni
e7558a3be9 Demonstrate rolling friction in the Ragdolls sample. 2013-08-24 20:21:16 +00:00
Lasse Öörni
2271d6ba83 Added Ragdolls sample.
Added template version of RemoveComponent to Node.
2013-08-24 14:20:02 +00:00
Aster Jian
6aceaa40e0 Restore CMakeLists.txt, remove UIRocket. 2013-08-23 11:01:03 +00:00
Aster Jian
92a3cd6eec 2013-08-23 10:49:41 +00:00
Lasse Öörni
31f4ac0bab Larger plane in the Physics sample. 2013-08-23 05:09:26 +00:00