Commit Graph

10202 Commits

Author SHA1 Message Date
MonkeyFirst
9c6164e4fd add trigger, custom geometry, particle emitter icons 2015-08-12 22:20:37 +06:00
urho3d-travis-ci
a99da6d952 Travis CI: API documentation update at 2015-08-12 16:20:01 UTC.
[ci package]

Commit: 93a7ae4352

Message: Bind original Variant::GetBuffer() to Lua as GetRawBuffer().
Taking advantage of the new vector to table conversion template function.
2015-08-12 16:20:01 +00:00
Yao Wei Tjong 姚伟忠
93a7ae4352 Bind original Variant::GetBuffer() to Lua as GetRawBuffer().
Taking advantage of the new vector to table conversion template function.
2015-08-13 00:11:09 +08:00
Yao Wei Tjong 姚伟忠
b1c3261b91 Fix CID 104877 (UNINIT) - useScissor_ is uninitialized.
In fact this instance variable is not being used anymore.
2015-08-12 22:51:06 +08:00
Yao Wei Tjong 姚伟忠
55e68f4e0e Code cleanup and bug fixes for DB subsystem and ToluaUtils refactoring. 2015-08-12 17:33:25 +08:00
Lasse Öörni
c254205bce Recognize OTF files without going to XML parsing (which fails). Closes #830. 2015-08-12 10:57:38 +03:00
MonkeyFirst
10c117c1bb avoid update icons when debug icons not visible 2015-08-12 10:07:21 +06:00
MonkeyFirst
fc37f268fb increase update time for splinepath 2015-08-12 09:38:55 +06:00
MonkeyFirst
9c0ab25999 add begin and end of splinepath coloring 2015-08-12 09:21:02 +06:00
MonkeyFirst
8670dd6f3c add show spline path debug 2015-08-12 08:34:34 +06:00
MonkeyFirst
886668ab13 add debug temp container(node) and clear scene's scope 2015-08-12 01:35:00 +06:00
MonkeyFirst
4424b98715 add debug icons 2015-08-12 00:45:17 +06:00
urho3d-travis-ci
d949b19b8d Travis CI: API documentation update at 2015-08-11 17:29:55 UTC.
[ci package]

Commit: 8658afabb0

Message: Clean 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.
2015-08-11 17:29:55 +00:00
Yao Wei Tjong 姚伟忠
8658afabb0 Clean 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.
2015-08-12 01:17:56 +08:00
Yao Wei Tjong 姚伟忠
1f3f5e4933 Suppress unavoidable build warnings when generating Lua bindings. 2015-08-10 22:49:50 +08:00
Yao Wei Tjong 姚伟忠
777889580f Cancel the GCC -ffast-math option only when the flag is found. 2015-08-10 18:51:27 +08:00
Lasse Öörni
79ef4c54c5 Fix ValueAnimation to override BeginLoad() correctly. Closes #828. 2015-08-10 12:06:04 +03:00
Lasse Öörni
5ce33abb51 Fix preprocessor condition in DatabaseAPI.cpp. 2015-08-10 11:20:54 +03:00
Yao Wei Tjong 姚伟忠
93f55dc5ad Minor documentation update on Database page.
[ci only: master]
2015-08-10 15:54:33 +08:00
urho3d-travis-ci
875dffcc92 Travis CI: API documentation update at 2015-08-09 18:06:19 UTC.
[ci package]

Commit: 7a7f250996

Message: Add new documentation page for database subsystem.
2015-08-09 18:06:19 +00:00
Yao Wei Tjong 姚伟忠
7a7f250996 Add new documentation page for database subsystem. 2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
5fb6482e14 Add dependent C++ source file when building PackageTool for Emscripten.
[ci only: Emscripten]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
4edba76ec2 Fix 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'
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
4807206bd7 Bind 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.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
8acb9e6441 Fix 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]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
842de2fe48 Exposed the database subsystem API to scripting.
Add AngelScript version of the database demo.
Add Lua versio nof the database demo. WIP.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
d8181e0b5b Update to nanodbc release 2.2.2.
No need for local modifications anymore as they are already merged into nanodbc upstream repo.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
33145bf18f Use 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]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
d39a80b1a9 Pass 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.
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
f420b14ad2 Make URHO3D_DATABASE_ODBC suppresses URHO3D_DATABASE_SQLITE.
Correct a typo in the database demo.
[ci skip]
2015-08-10 01:51:26 +08:00
Yao Wei Tjong 姚伟忠
0e2af9c788 Initial ODBC API support.
Enhance db demo to work with ODBC database connectioon string.
2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
7d6f0ffeab Fix Database subsystem on Emscripten build.
[ci only: Emscripten]
2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
e0068c5c9d For Travis CI - initial attempt to switch on the database subsystem. 2015-08-10 01:51:25 +08:00
Yao Wei Tjong 姚伟忠
560ef3bb37 Add Database subsystem. Add new build option to enable it.
Initial C++ sample database demo using execute immediate mode.
2015-08-10 01:51:25 +08:00
Lasse Öörni
ed39940b2e Added float <> half-float conversion functions. 2015-08-09 12:03:18 +03:00
Lasse Öörni
ca71cafcf5 Unify 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. 2015-08-09 01:32:43 +03:00
Lasse Öörni
cb0cd03930 Add note of VS output / PS input semantics requiring the same order on D3D11. 2015-08-08 22:53:59 +03:00
Lasse Öörni
5aaa3ea680 Fix the editor variable type popups not showing all text. 2015-08-08 14:32:48 +03:00
Lasse Öörni
a626021d95 Fixes for VS texture fetch on D3D11. 2015-08-06 22:28:05 +03:00
urho3d-travis-ci
bc58db968d Travis CI: API documentation update at 2015-08-06 13:59:00 UTC.
[ci package]

Commit: b53b584123

Message: 8-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting.
2015-08-06 13:59:00 +00:00
Lasse Öörni
b53b584123 8-bit render order support in materials. This adjusts the drawing order within a scene pass, and takes precedence over both state & distance sorting. 2015-08-06 16:42:52 +03:00
Lasse Öörni
d9d09909d4 Removed commented out code. Minor editor code formatting & typo fixes. 2015-08-05 21:28:47 +03:00
Lasse Öörni
c359d6f5a1 Merge remote-tracking branch 'monkeyfirst/global-editor-events-handlers' 2015-08-05 21:23:39 +03:00
Lasse Öörni
3bd55ecc14 Fix DDS size calculation errors and potential unwanted object destruction in Image class. Closes #826. 2015-08-05 21:22:03 +03:00
urho3d-travis-ci
1592c95915 Travis CI: API documentation update at 2015-08-05 16:16:10 UTC.
[ci package]

Commit: a737bbb671

Message: Fix 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.
2015-08-05 16:16:10 +00:00
Lasse Öörni
a737bbb671 Fix 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. 2015-08-05 19:05:18 +03:00
urho3d-travis-ci
4d0f0b9ef3 Travis CI: API documentation update at 2015-08-05 12:26:11 UTC.
[ci package]

Commit: 5edc729ee5

Message: Remove 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.
2015-08-05 12:26:11 +00:00
Lasse Öörni
5edc729ee5 Remove 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. 2015-08-05 15:15:19 +03:00
MonkeyFirst
99ad65844f add more event to main editor handlers 2015-08-05 15:43:15 +06:00
Lasse Öörni
681e91635e Handle 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. 2015-08-05 10:47:06 +03:00