4c7f8664b6Further improve Lua binding for Variant and VariantMap classes. - VariantMap can be indexed by a StringHash object directly. - Bind a generic Get() method for Variant class to automatically "unbox" the stored object and assign it to a type less Lua object. - Prevent Lua VM crashes when invalid type name is being passed when calling GetVoidPtr() and GetPtr().
Yao Wei Tjong 姚伟忠
2015-08-18 17:04:55 +0800
0f0a73c9f6Fallback when crossproduct in Quaternion::FromLookRotation() becomes zero. Fixes#846.
Lasse Öörni
2015-08-17 18:16:00 +0300
adc04560ceAdded warning for infinite PhysicsWorld raycast.
Lasse Öörni
2015-08-17 11:48:29 +0300
1cc09cb704For Coverity Scan - check in the failed model file anyway. [ci skip]
Yao Wei Tjong 姚伟忠
2015-08-17 12:01:01 +0800
0e031852d1Suppress most of the false positive on out-of-bound access. The affect of this change can only be checked after the next Coverity Scan run on this Thursday.
Yao Wei Tjong 姚伟忠
2015-08-16 16:38:42 +0800
002d5a2688Travis CI: API documentation update at 2015-08-16 07:57:58 UTC. [ci package]
urho3d-travis-ci
2015-08-16 07:57:57 +0000
69dd312d54Reformat and reorganize include for Navigation sub-library.
Yao Wei Tjong 姚伟忠
2015-07-14 16:43:19 +0800
ac0a712f0bRefactor to rename 'filter type' to 'query filter type'. Minor clean up on the NavBuildData class.
Yao Wei Tjong 姚伟忠
2015-06-09 18:55:24 +0800
a58d855e60Do not assume the location of the NavigationMesh component.
Yao Wei Tjong 姚伟忠
2015-06-08 20:28:13 +0800
27cc9c4277Add filter and obstacle avoidance type attribute to CrowdManager class. Enhance Editor to have functionality to edit the CrowdManager's filter and obstacle avoidance type attributes.
Yao Wei Tjong 姚伟忠
2015-06-07 22:06:00 +0800
b7d03abfe1Add navigation mesh id attribute to CrowdManager class.
Yao Wei Tjong 姚伟忠
2015-06-04 23:34:38 +0800
c9bc4cbae3Add new event for crowd agent formation. Add convenient methods for querying point, path, raycast, etc using crowd's extent and filter type configuration.
Yao Wei Tjong 姚伟忠
2015-06-03 19:22:01 +0800
2c3033d62aLimit interface to use only crowd agent's parameters and public APIs.
Yao Wei Tjong 姚伟忠
2015-05-31 20:16:06 +0800
1cd8ca0cd7Travis CI: API documentation update at 2015-08-15 10:33:47 UTC. [ci package]
urho3d-travis-ci
2015-08-15 10:33:47 +0000
7f4b115744Make Drawable2D respect viewmask in rendering & raycast. Added viewmask attribute to Drawable2D's. Added proper category to 2D constraints to allow adding in editor. Closes#843.
Lasse Öörni
2015-08-15 13:23:37 +0300
4f2a35eeb7Merge remote-tracking branch 'cosmy1/master'
Lasse Öörni
2015-08-15 12:45:11 +0300
373d989d53For Travis CI - keep the backup logic simple and stupid. Related to commit 9d1a66d108 [ci skip]
Yao Wei Tjong 姚伟忠
2015-08-15 11:16:44 +0800
70b871ebfaCode convention edits. Removed unused variable. Make debug icons use Basic shader for no fog. Do not render debug icons to camera preview viewport. Fixed Basic shader with VERTEXCOLOR define on D3D11.
Lasse Öörni
2015-08-14 23:09:53 +0300
54649e7bb0Merge remote-tracking branch 'monkeyfirst/debug-component-icons'
Lasse Öörni
2015-08-14 22:25:04 +0300
c24d709ee1Use a free area index parameter instead of IntRect in AreaAllocator::SplitRect() to make it clear that the freeAreas_ is being manipulated inside the function.
Lasse Öörni
2015-08-14 21:16:39 +0300
c3427a6dd5Merge remote-tracking branch 'cosmy1/master'
Lasse Öörni
2015-08-14 20:41:38 +0300
cc3aaddb57Merge remote-tracking branch '1vanK/master'
Lasse Öörni
2015-08-14 20:22:43 +0300
f96e445cf4For Travis CI - using relpath to backup & only restore if backup exist. [ci only: Android] [ccache clear]
Yao Wei Tjong 姚伟忠
2015-08-14 23:52:59 +0800
9d1a66d108For Travis CI - when using cache store, backup .git before clearing. Remove out-of-place C++ header file. [ci only: Android] [ccache clear]
Yao Wei Tjong 姚伟忠
2015-08-14 23:28:07 +0800
b63167ebd8fix add RigidBody2D after CollisionShape2D
Ivan K
2015-08-14 18:34:41 +0400
ab2776e7d3Travis CI: API documentation update at 2015-08-14 10:55:47 UTC. [ci package]
urho3d-travis-ci
2015-08-14 10:55:47 +0000
9e331d04d4Ensure correct 0,1,2 order in the RigidBody2D body type enum for serialization. Closes#837.
Lasse Öörni
2015-08-14 13:40:22 +0300
3dcab4c039Disable VS warning C6293, as the unsigned overflow trick used in reverse iteration is intentional. Added missing DebugNew.h includes. Closes#832.
Lasse Öörni
2015-08-14 11:48:53 +0300
053fd0f31cFor Travis CI - when clearing ccache stats, avoid triggering Coverity. [ci skip]
Yao Wei Tjong 姚伟忠
2015-08-14 13:56:12 +0800
7947df8299For Travis CI - give instruction to [ccache clear]. Close#838.
Yao Wei Tjong 姚伟忠
2015-08-14 13:31:37 +0800
f65b938e1bUpdate documentation page for LuaScript. Indexing VariantMap on Lua is now similar to C++ and AngelScript.
Yao Wei Tjong 姚伟忠
2015-08-13 20:39:47 +0800
43f2c2d618fix icons min size
MonkeyFirst
2015-08-13 01:12:04 +0600
aa673321dcadd footprint for splinepath
MonkeyFirst
2015-08-12 23:17:50 +0600
a99da6d952Travis CI: API documentation update at 2015-08-12 16:20:01 UTC. [ci package]
urho3d-travis-ci
2015-08-12 16:20:01 +0000
93a7ae4352Bind original Variant::GetBuffer() to Lua as GetRawBuffer(). Taking advantage of the new vector to table conversion template function.
Yao Wei Tjong 姚伟忠
2015-08-13 00:02:35 +0800
b1c3261b91Fix CID 104877 (UNINIT) - useScissor_ is uninitialized. In fact this instance variable is not being used anymore.
Yao Wei Tjong 姚伟忠
2015-08-12 22:51:06 +0800
55e68f4e0eCode cleanup and bug fixes for DB subsystem and ToluaUtils refactoring.
Yao Wei Tjong 姚伟忠
2015-08-12 17:31:20 +0800
c254205bceRecognize OTF files without going to XML parsing (which fails). Closes#830.
Lasse Öörni
2015-08-12 10:56:53 +0300
10c117c1bbavoid update icons when debug icons not visible
MonkeyFirst
2015-08-12 10:07:21 +0600
fc37f268fbincrease update time for splinepath
MonkeyFirst
2015-08-12 09:38:55 +0600
9c0ab25999add begin and end of splinepath coloring
MonkeyFirst
2015-08-12 09:21:02 +0600
8670dd6f3cadd show spline path debug
MonkeyFirst
2015-08-12 08:34:34 +0600
d949b19b8dTravis CI: API documentation update at 2015-08-11 17:29:55 UTC. [ci package]
urho3d-travis-ci
2015-08-11 17:29:55 +0000
8658afabb0Clean up tolua++ bindings for handling (POD)Vector to table conversion. Any C++ classes (either RefCounted or not) that are exposed to Lua scripting should be now supported in this conversion via new template function implementation. There should be no need to modify the ToluaUtils.cpp and .h anymore.
Yao Wei Tjong 姚伟忠
2015-08-12 01:17:56 +0800
1f3f5e4933Suppress unavoidable build warnings when generating Lua bindings.
Yao Wei Tjong 姚伟忠
2015-08-10 22:49:50 +0800
777889580fCancel the GCC -ffast-math option only when the flag is found.
Yao Wei Tjong 姚伟忠
2015-08-10 18:51:27 +0800
79ef4c54c5Fix ValueAnimation to override BeginLoad() correctly. Closes#828.
Lasse Öörni
2015-08-10 12:06:04 +0300
5ce33abb51Fix preprocessor condition in DatabaseAPI.cpp.
Lasse Öörni
2015-08-10 11:20:54 +0300
93f55dc5adMinor documentation update on Database page. [ci only: master]
Yao Wei Tjong 姚伟忠
2015-08-10 15:54:33 +0800
875dffcc92Travis CI: API documentation update at 2015-08-09 18:06:19 UTC. [ci package]
urho3d-travis-ci
2015-08-09 18:06:19 +0000
7a7f250996Add new documentation page for database subsystem.
Yao Wei Tjong 姚伟忠
2015-08-10 01:32:11 +0800
5fb6482e14Add dependent C++ source file when building PackageTool for Emscripten. [ci only: Emscripten]
Yao Wei Tjong 姚伟忠
2015-08-09 15:56:15 +0800
4edba76ec2Fix AngelScript and Lua bindings. Fix Lua samples to use new getters. Tips: use this one liner to convert Lua scripts to use new getter signature. find . -type f -exec grep -lP "eventData:Get.+?\(.+?\)" {} \; |xargs -n 1 perl -pi.bak -e 's/eventData:Get(.+?)\((?:([^,)]+),\s*(.*?)|(.+?))\)/eventData[\3\4]:Get\1(\2)/g'
Yao Wei Tjong 姚伟忠
2015-08-09 14:40:34 +0800
4807206bd7Bind all variant types from C++ to Lua and vice versa. See #820. Other misc Lua binding enhancements: - VariantMap in Lua can be indexed using both string literal and unsigned int literal. Internally they are both converted to StringHash. Lua table of strings/variants and any registered user types are now accepted as RHS value when assigning VariantMap's value, the variant type would be set accordingly based on the lua object type. Refcounted object would end up as VAR_PTR while others as VAR_VOIDPTR. - Variant knows how to convert to string implicitly.
Yao Wei Tjong 姚伟忠
2015-08-09 00:01:26 +0800
8acb9e6441Fix Variant and VariantMap bindings to Lua. Close#820. Add Lua bindings to return VariantVector as table of Variant. Fix Lua database demo. It is in full working condition now. [ci only: database, OSX]
Yao Wei Tjong 姚伟忠
2015-08-06 19:32:32 +0800
842de2fe48Exposed the database subsystem API to scripting. Add AngelScript version of the database demo. Add Lua versio nof the database demo. WIP.
Yao Wei Tjong 姚伟忠
2015-08-02 21:23:05 +0800
d8181e0b5bUpdate to nanodbc release 2.2.2. No need for local modifications anymore as they are already merged into nanodbc upstream repo.
Yao Wei Tjong 姚伟忠
2015-08-01 12:22:13 +0800
33145bf18fUse numCols to determine whether a result object impl has resultset. Only supports one resultset per execution at the moment. Enhance db sample demo to accept connectiong string setting to connect to different database during runtime. [skip ci]
Yao Wei Tjong 姚伟忠
2015-07-31 19:39:07 +0800
d39a80b1a9Pass compiler defines from the ODBC config tool to our build system. Make FindODBC module to prefer unixODBC over libiodbc when both ODBC driver managers are available.
Yao Wei Tjong 姚伟忠
2015-07-30 13:37:29 +0800
f420b14ad2Make URHO3D_DATABASE_ODBC suppresses URHO3D_DATABASE_SQLITE. Correct a typo in the database demo. [ci skip]
Yao Wei Tjong 姚伟忠
2015-07-29 23:17:48 +0800
0e2af9c788Initial ODBC API support. Enhance db demo to work with ODBC database connectioon string.
Yao Wei Tjong 姚伟忠
2015-07-29 22:42:35 +0800
7d6f0ffeabFix Database subsystem on Emscripten build. [ci only: Emscripten]
Yao Wei Tjong 姚伟忠
2015-07-23 14:58:33 +0800
e0068c5c9dFor Travis CI - initial attempt to switch on the database subsystem.
Yao Wei Tjong 姚伟忠
2015-07-23 10:16:55 +0800
560ef3bb37Add Database subsystem. Add new build option to enable it. Initial C++ sample database demo using execute immediate mode.
Yao Wei Tjong 姚伟忠
2015-07-23 01:18:57 +0800
ca71cafcf5Unify float texture data upload behavior between D3D & OpenGL: half float textures are expected to be provided in that format, and are not converted from single precision on OpenGL anymore.
Lasse Öörni
2015-08-09 01:32:43 +0300
cb0cd03930Add note of VS output / PS input semantics requiring the same order on D3D11.
Lasse Öörni
2015-08-08 22:53:59 +0300
5aaa3ea680Fix the editor variable type popups not showing all text.
Lasse Öörni
2015-08-08 14:32:48 +0300
a626021d95Fixes for VS texture fetch on D3D11.
Lasse Öörni
2015-08-06 22:28:05 +0300
bc58db968dTravis CI: API documentation update at 2015-08-06 13:59:00 UTC. [ci package]
urho3d-travis-ci
2015-08-06 13:59:00 +0000
b53b5841238-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting.
Lasse Öörni
2015-08-06 15:35:32 +0300
d9d09909d4Removed commented out code. Minor editor code formatting & typo fixes.
Lasse Öörni
2015-08-05 21:28:47 +0300
c359d6f5a1Merge remote-tracking branch 'monkeyfirst/global-editor-events-handlers'
Lasse Öörni
2015-08-05 21:23:39 +0300
3bd55ecc14Fix DDS size calculation errors and potential unwanted object destruction in Image class. Closes#826.
Lasse Öörni
2015-08-05 21:22:03 +0300
1592c95915Travis CI: API documentation update at 2015-08-05 16:16:10 UTC. [ci package]
urho3d-travis-ci
2015-08-05 16:16:10 +0000
a737bbb671Fix terrain occlusion leaving holes in the occlusion geometry, and being over-aggressive with height reduction, which would result in poor occlusion. Allow to configure terrain number of LOD levels to be less than 4. Allow to configure the LOD level used for terrain occlusion (not recommended to be changed.) Closes#825.
Lasse Öörni
2015-08-05 19:05:18 +0300
4d0f0b9ef3Travis CI: API documentation update at 2015-08-05 12:26:11 UTC. [ci package]
urho3d-travis-ci
2015-08-05 12:26:11 +0000
5edc729ee5Remove occlusionOffset from TerrainPatch, instead calculate the minimum height in the neighborhood of each lowest LOD terrain vertex. Occlusion still uses lowest LOD to not use up occlusion triangles quickly. Fixes#822.
Lasse Öörni
2015-08-05 15:15:19 +0300
99ad65844fadd more event to main editor handlers
MonkeyFirst
2015-08-05 15:43:15 +0600
681e91635eHandle caching of SmoothedTransform in RigidBody component using a weak pointer instead of a bool flag so that it can be deleted by the client if necessary, without getting a state mismatch.
Lasse Öörni
2015-08-05 10:45:54 +0300
be1feb49beTravis CI: API documentation update at 2015-08-05 00:53:57 UTC. [ci package]
urho3d-travis-ci
2015-08-05 00:53:57 +0000