Commit Graph

2216 Commits

Author SHA1 Message Date
Lasse Öörni
99e49ac3b8 Add an 8-bit timestamp to client controls, which gets incremented on each sent update. Echo this timestamp back in server updates sent to client. Allow to intercept network attribute updates into an event instead of applying them immediately, to facilitate implementing application-level client prediction. Add simulated latency & packet loss parameters to Network. Note that these changes break protocol compatibility with earlier Urho3D releases. 2015-03-20 01:05:11 +02:00
Lasse Öörni
006c17f78e Added command line & engine startup option to disable OpenGL 3. 2015-03-17 20:44:49 +02:00
Lasse Öörni
5ba234e68c Minor documentation tweaks. 2015-03-17 02:15:58 +02:00
Lasse Öörni
07a75dc37b Initial OpenGL 3.2 support. 2015-03-16 23:36:35 +02:00
Lasse Öörni
2858755334 Log missing vertex element(s) when vertex layout fails to create. Add texcoords to the editor grid to keep D3D11 happy. 2015-03-15 00:23:49 +02:00
Yao Wei Tjong 姚伟忠
d2ea0ca934 Finetune the default test timeout value for Emscripten platform.
We have a time constraint on Travis CI side for all our CI builds and tests. Default value of 10 for Emscripten and 5 for native platform is also inline with Emscripten's claim that asm.js is about 50% slower than native speed.
2015-03-14 12:46:15 +08:00
Lasse Öörni
e17a88b46f GetData() on D3D11 for Texture3D & TextureCube. 2015-03-13 09:09:41 +02:00
Lasse Öörni
3759570319 Remove rrr swizzle from lighting shaders to allow the spotlight to be colored. Convert the default spot textures to RGB color to avoid sampling only the R channel on D3D11. 2015-03-12 21:25:42 +02:00
Yao Wei Tjong 姚伟忠
8a77399bd0 Fix integration tests execution for Emscripten platform.
A test case is considered passed when the html exits as the result of emscripten_force_exit() function being called, which happens when the engine's elapsed time reaches URHO3D_TEST_TIMEOUT seconds. When something goes wrong, the engine's elapsed time does not progress as per normal, in this case the emrun's timeout would kick in and terminate the test case with failed exit status. The EMRUN'S timeout is set to be 2 times URHO3D_TEST_TIMEOUT auotmatically.
Add new build option EMSCRIPTEN_EMRUN_BROWSER to select which browser to use for testing. Default is 'firefox'. Refer to https://github.com/kripken/emscripten/issues/3234 to apply the recommended Firefox preference setting for emrun.
2015-03-12 18:04:16 +08:00
Lasse Öörni
e106f1b389 D3D11 clip plane support. Check that multisample level is supported. Various shader fixes. 2015-03-08 02:57:08 +02:00
Lasse Öörni
b9278e0a94 Implement partial rendertarget clear on D3D11. Implement Graphics::ResolveToTexture() on D3D11. Fix most post-process shaders on D3D11. Readded the custom constant buffer slot. Update documentation. 2015-03-07 23:02:31 +02:00
Lasse Öörni
988f1fdc33 Merge branch 'master' into render-refactor 2015-03-07 17:59:37 +02:00
Yao Wei Tjong 姚伟忠
0fe597223f Add initial support for integration tests on Emscripten platform.
At the moment the 'make test' cannot be run non-interactively yet on Linux host and Mac OS X host systems due to what-could-be a bug in 'emrun' script. The issue with 'emrun' has been reported to upstream (https://github.com/kripken/emscripten/issues/3234).
2015-03-07 12:00:47 +08:00
Lasse Öörni
6fd6efc4c3 Update PugiXml to 1.5. Do not attempt to parse .txt & .icns files as xml in the editor resource browser, to prevent log spam. 2015-03-04 16:10:21 +02:00
Yao Wei Tjong 姚伟忠
4d34d0a626 Add new Emscripten build option for creating shared data file. 2015-03-03 23:32:27 +08:00
Yao Wei Tjong 姚伟忠
02572a9ec5 Add generic support for embedding and loading files for Emscripten.
Via the following source file property "EMCC_OPTION". The supported property values are: js-library, pre-js, post-js, embed-file, preload-file, shell-file. The files are added as link dependency so a relink will automatically occur when they are modified (have newer timestamp than target).
2015-03-03 01:16:40 +08:00
Yao Wei Tjong 姚伟忠
536b0a5429 Add new build option for better targeting Raspberry Pi platform. 2015-02-27 22:19:44 +08:00
Lasse Öörni
9f129ecd51 Merge branch 'master' into render-refactor 2015-02-23 01:43:02 +02:00
Lasse Öörni
281809121c Skeleton of D3D11 graphics classes. Does not render anything visible yet and many functions lack implementation. 2015-02-22 22:44:12 +02:00
Lasse Öörni
88080dad31 Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function. 2015-02-21 20:53:12 +02:00
Yao Wei Tjong 姚伟忠
10e477bbc8 Add flag to consider 'unresolved symbol' as an error. 2015-02-16 14:51:28 +08:00
Yao Wei Tjong 姚伟忠
d3f90cbe08 Make the URHO3D_LUA build option available for Emscripten build. 2015-02-16 07:23:10 +08:00
Lasse Öörni
b6ea033ce3 Enable CharacterDemo & VehicleDemo also without networking. Update documentation. 2015-02-14 22:16:39 +02:00
Yao Wei Tjong 姚伟忠
598030140d Some how the strike through markdown does not work, so use hard delete.
Audio and mouse locking are working now in Emscripten build, credits to Chris and hd_, respectively.
[ci skip]
2015-02-14 21:41:10 +08:00
Yao Wei Tjong 姚伟忠
9bf0d95b33 Use full URL so that SF.net can display our logo correctly there.
Mark Emscripten build support as experimental.
2015-02-14 20:24:30 +08:00
urho3d-travis-ci
7c77ad06dc Travis CI: API documentation update at 2015-02-13 13:55:43 UTC.
[ci package]
2015-02-13 13:55:43 +00:00
Yao Wei Tjong 姚伟忠
a77e24d8ad Enable external project macro users to find and use PackageTool.
Adjust software packaging for Emscripten.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
8471dcf3e4 Add option to package resource dirs and treat those dirs as build deps.
Fix static library building using emar instead of ar (from host compiler toolchain).
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
6e0ff48059 Suppress linker warnings. Minor doc update. 2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
19ab396e74 Add new Emscripten/CMake toolchain file based on Urho3D convention.
Use EMSCRIPTEN_ROOT_PATH environment variable to specify the root path to the emscripten, instead of the original EMSCRIPTEN environment variable exported in emsdk_set_env.sh.
This is because the original EMSCRIPTEN environment variable name clashes with our build scripts.
2015-02-13 21:23:05 +08:00
urho3d-travis-ci
e6629d3c8a Travis CI: API documentation update at 2015-02-11 16:43:27 UTC.
[ci package]
2015-02-11 16:43:27 +00:00
urho3d-travis-ci
0702003614 Travis CI: API documentation update at 2015-02-10 17:48:35 UTC.
[ci package]
2015-02-10 17:48:35 +00:00
Lasse Öörni
5ab72bf620 Merge remote-tracking branch 'friesencr/sprite_packer' 2015-02-09 23:40:09 +02:00
Chris Friesen
6f383f64df SpritePacker cli 2015-02-07 12:40:01 -06:00
Yao Wei Tjong 姚伟忠
564b77c39f Fix Ninja build by adding directory containing PCH to its search path.
Officially add Ninja build support. Close #653.
2015-02-06 13:49:32 +08:00
urho3d-travis-ci
3aae6785a4 Travis CI: API documentation update at 2015-02-05 15:19:32 UTC.
[ci package]
2015-02-05 15:19:32 +00:00
urho3d-travis-ci
deab9cf4de Travis CI: API documentation update at 2015-02-05 10:51:01 UTC.
[ci package]
2015-02-05 10:51:01 +00:00
urho3d-travis-ci
40b1871c31 Travis CI: API documentation update at 2015-02-03 12:03:10 UTC.
[ci package]
2015-02-03 12:03:10 +00:00
urho3d-travis-ci
5adbf2876d Travis CI: API documentation update at 2015-02-02 10:41:03 UTC.
[ci package]
2015-02-02 10:41:03 +00:00
Lasse Öörni
bb2ebf7568 Bump copyright to 2015. 2015-01-31 21:03:53 +02:00
Mike3D
fbc7c06929 Typo 2015-01-31 14:51:08 +01:00
Mike3D
5a7523eddd Urho2D documentation enhancement 2015-01-31 11:23:19 +01:00
urho3d-travis-ci
c747198101 Travis CI: API documentation update at 2015-01-29 14:56:49 UTC.
[ci package]
2015-01-29 14:56:49 +00:00
Yao Wei Tjong 姚伟忠
8743413816 Attempt to enable precompiled header support for GCC and Clang. 2015-01-29 16:13:41 +08:00
urho3d-travis-ci
b8e66f96ac Travis CI: API documentation update at 2015-01-26 20:36:19 UTC.
[ci package]
2015-01-26 20:36:19 +00:00
urho3d-travis-ci
39bbb86205 Travis CI: API documentation update at 2015-01-26 12:26:14 UTC.
[ci package]
2015-01-26 12:26:14 +00:00
urho3d-travis-ci
809d4fb920 Travis CI: API documentation update at 2015-01-23 13:47:05 UTC.
[ci package]
2015-01-23 13:47:05 +00:00
Lasse Öörni
40879a3b49 Fix includes and namespace in the application C++ example. 2015-01-21 18:18:06 +02:00
Yao Wei Tjong 姚伟忠
fd84488a73 Add new build option to setup main executable as console application.
The new build option is only applicable for Windows platform only.
2015-01-21 16:50:09 +08:00
urho3d-travis-ci
97b83aaa0a Travis CI: API documentation update at 2015-01-21 04:12:47 UTC.
[ci package]
2015-01-21 04:12:47 +00:00
Lasse Öörni
6e5d0db379 If Urho3DPlayer command line is empty, attempt to read Data/CommandLine.txt on all platforms. Closes #615. 2015-01-20 12:42:53 +02:00
Chris Friesen
262bb942e4 Editor deselect all 2015-01-19 23:18:43 -06:00
Yao Wei Tjong 姚伟忠
05dd995b85 Refactor all the codes and scripts to use the renamed 'bin' subdir. 2015-01-18 21:40:54 +08:00
Yao Wei Tjong 姚伟忠
b86c4927aa Enhance setup_main_executable() to support MACOSX_BUNDLE individually.
When the URHO3D_MACOSX_BUNDLE build option is not set, passing the MACOSX_BUNDLE explicitly when setting up a main executable target will make the corresponding target to be built as a bundle.
2015-01-18 15:59:11 +08:00
Yao Wei Tjong 姚伟忠
1b2dcac1d2 Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX. 2015-01-17 18:34:22 +08:00
urho3d-travis-ci
116069dcd5 Travis CI: API documentation update at 2015-01-16 19:56:03 UTC.
[ci package]
2015-01-16 19:56:03 +00:00
urho3d-travis-ci
686a6277c9 Travis CI: API documentation update at 2015-01-16 14:45:01 UTC.
[ci package]
2015-01-16 14:45:01 +00:00
Yao Wei Tjong 姚伟忠
f865522e1d Make the xcpretty filter optional for the 'rake make' task.
Minor documentation update.
2015-01-15 23:32:15 +08:00
Yao Wei Tjong 姚伟忠
bffa727e2e Attempt to suppress Xcode multi-group resource reference warnings. 2015-01-14 13:32:11 +08:00
Yao Wei Tjong 姚伟忠
02a5945b83 For Travis CI - Display where the SDK is being installed to in the log.
Minor document update on new Rake tasks.
2015-01-12 14:17:33 +08:00
urho3d-travis-ci
021040c1bd Travis CI: API documentation update at 2015-01-10 21:11:52 UTC.
[ci package]
2015-01-10 21:11:52 +00:00
Lasse Öörni
1b8b1929f3 Added contributor credit. [ci skip] 2015-01-10 22:56:48 +02:00
Lasse Öörni
0b3e6e2bbb Added "renderui" render path command to render the UI into an arbitrary rendertarget. This disables the default UI render to the backbuffer. Removed functions from UI Lua API that shouldn't be exposed to scripting (update, render.) 2015-01-10 21:10:18 +02:00
Lasse Öörni
64cb9cd104 Use shadow pass to render depth in ForwardHWDepth, so that linear depth is not calculated unnecessarily. 2015-01-10 19:53:25 +02:00
urho3d-travis-ci
7ba89fa755 Travis CI: API documentation update at 2015-01-10 14:36:30 UTC.
[ci package]
2015-01-10 14:36:30 +00:00
Lasse Öörni
b6caeb02a5 Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597. 2015-01-10 15:54:00 +02:00
Yao Wei Tjong 姚伟忠
32212b1a12 Minor document update. 2015-01-10 21:23:12 +08:00
Yao Wei Tjong 姚伟忠
9d15448830 Keep the basic project structure simple and stupid. 2015-01-08 11:42:12 +08:00
Yao Wei Tjong 姚伟忠
cffcd1e07f Revise the log message when the resource prefix path is not set.
Hopefully in doing so, this will not become FAQ in the support forum.
2015-01-07 21:09:44 +08:00
urho3d-travis-ci
32a20c360a Travis CI: API documentation update at 2015-01-06 17:00:05 UTC.
[ci package]
2015-01-06 17:00:05 +00:00
urho3d-travis-ci
a5747148c1 Travis CI: API documentation update at 2015-01-06 14:44:53 UTC.
[ci package]
2015-01-06 14:44:53 +00:00
Yao Wei Tjong 姚伟忠
0a871ace9a Minor document formatting update. 2015-01-06 13:05:31 +08:00
Yao Wei Tjong 姚伟忠
3494bd020d Minor documentation update. 2015-01-05 22:31:32 +08:00
urho3d-travis-ci
1889f1a66b Travis CI: API documentation update at 2015-01-04 16:07:14 UTC.
[ci package]
2015-01-04 16:07:14 +00:00
Yao Wei Tjong 姚伟忠
1cbbb6b805 Finalize SDK-like include dirs clean up. Fix build using MSVC. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
b654478715 For Travis CI - also use DESTDIR=~ when installing on OSX host. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
a4a4cde236 Refactor all CMake toolchains to reset CMAKE_INSTALL_PREFIX variable.
Add new build options for specifying tool-prefix and target-sysroot in cross-compiling build.
Add new IOS_SYSROOT variable to store the path to iOS sysroot and use it to set CMAKE_FIND_ROOT_PATH variable.
Now also generate pkg-config Urho3D.pc for iOS platform.
For Travis CI - simplify SDK installation logic. Use DESTDIR=~ to avoid sudo.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
1b465fb704 Clean up FindUrho3D.cmake module.
Add new build options to override 64-bit Linux package setup for Debian and Redhad -based host systems.
For Travis CI - fix 64-bit RPM package generation to install library in /usr/lib64, also fix external project build test using Urho3D library from SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
4feb135281 Clean up SDK include dirs. Refactor FindUrho3D CMake module.
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
325a4f7365 Refactor to use the newly renamed Source/Urho3D directory. 2015-01-04 22:32:40 +08:00
Yao Wei Tjong 姚伟忠
67e415acc8 Fine tune LuaJIT target arch detection logic. 2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
4db162eb62 Lua/LuaJIT host tool building while cross-compiling in one go.
For Travis CI - reenable CI build with Lua/LuaJIT build option turned on.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
f9cb911cec Fix AngelScript binding which broke MinGW and OSX CI build.
Unify CMake module path setting command between Windows and non-Windows hosts for using library from SDK installation.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d75c592bd2 Add new engine parameter to set the location of resource prefix path.
Remove temporary measure instead use the new URHO3D_PREFIX_PATH environment variable to set the resource prefix path for testing the executables.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
20e21050e9 Rename everything 'RASPI' to 'RPI'. [ci rebase] 2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d8a3b8b4f4 Make repo root is also CMake source tree for the Urho3D project.
Build tree location is now fully user defined. The build tree location could also be the same as source tree, although it is not recommended.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
514847fb99 Adjust batch files and shell scripts to take build tree as user input.
Refactor to use a single generic batch file/shell script that does the actual work.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
4f60123516 Move CMake modules and toolchains to the new source tree. 2015-01-04 22:32:38 +08:00
Lasse Öörni
50e2493b97 Added example of loading scene & UI content. Closes #583. 2014-12-29 22:33:15 +02:00
urho3d-travis-ci
faf1b2fb0c Travis CI: API documentation update at 2014-12-29 12:04:55 UTC.
[ci package]
2014-12-29 12:04:55 +00:00
urho3d-travis-ci
45452952b6 Travis CI: API documentation update at 2014-12-29 06:47:37 UTC.
[ci package]
2014-12-29 06:47:37 +00:00
urho3d-travis-ci
32980275fa Travis CI: API documentation update at 2014-12-27 13:51:48 UTC.
[ci package]
2014-12-27 13:51:48 +00:00
Lasse Öörni
c40601dc50 Update Urho3D Launcher link, closes #577. 2014-12-26 17:48:29 +02:00
urho3d-travis-ci
54d6b633b2 Travis CI: API documentation update at 2014-12-23 10:41:59 UTC.
[ci package]
2014-12-23 10:41:59 +00:00
urho3d-travis-ci
86f0ead2c0 Travis CI: API documentation update at 2014-12-19 16:21:17 UTC.
[ci package]
2014-12-19 16:21:17 +00:00
urho3d-travis-ci
cd4c28a226 Travis CI: API documentation update at 2014-12-17 14:00:28 UTC.
[ci package]
2014-12-17 14:00:28 +00:00
Lasse Öörni
a8f93ebb70 Fix ObjectAnimation example in docs. 2014-12-16 16:47:32 +02:00
urho3d-travis-ci
b6743cc884 Travis CI: API documentation update at 2014-12-16 13:04:56 UTC.
[ci package]
2014-12-16 13:04:56 +00:00
Lasse Öörni
3bf80a5aa2 Cleanup AttributeAnimation docs. 2014-12-16 11:46:49 +02:00
urho3d-travis-ci
85af864e0f Travis CI: API documentation update at 2014-12-14 10:44:51 UTC.
[ci package]
2014-12-14 10:44:51 +00:00
urho3d-travis-ci
4d399f9637 Travis CI: API documentation update at 2014-12-13 16:35:32 UTC.
[ci package]
2014-12-13 16:35:32 +00:00
Alex Parlett
c2110573c6 [Added] Documentation
[Added] Sound Type saving in editor
[Changed] Refactored inline with discussion
2014-12-13 09:09:56 +00:00
urho3d-travis-ci
ffa78ec4b3 Travis CI: API documentation update at 2014-12-11 17:57:57 UTC.
[ci package]
2014-12-11 17:57:57 +00:00
urho3d-travis-ci
a1986b0c2b Travis CI: API documentation update at 2014-12-09 12:41:35 UTC.
[ci package]
2014-12-09 12:41:35 +00:00
urho3d-travis-ci
da262f930a Travis CI: API documentation update at 2014-12-08 23:48:24 UTC.
[ci package]
2014-12-08 23:48:24 +00:00
hdunderscore
34dc78169e - Added support for duplication in the editor (Ctrl+D / menu / context).
- Changed pasting default behavior to paste into the selected node, rather than the scene root (UI pasting was doing this already).
2014-12-08 20:14:51 +11:00
urho3d-travis-ci
9d670a113e Travis CI: API documentation update at 2014-12-06 13:20:33 UTC.
[ci package]
2014-12-06 13:20:33 +00:00
Lasse Öörni
23a4856b89 Document object attribute and event helper macros. Minor documentation cleanup. 2014-12-04 11:53:48 +02:00
urho3d-travis-ci
37fc8376a8 Travis CI: API documentation update at 2014-12-02 14:24:37 UTC.
[ci package]
2014-12-02 14:24:37 +00:00
Lasse Öörni
a7fef9291c Added note of required shared Urho3D library build if creating an application consisting of multiple modules. 2014-12-02 14:56:51 +02:00
urho3d-travis-ci
4950673692 Travis CI: API documentation update at 2014-12-01 13:16:56 UTC.
[ci package]
2014-12-01 13:16:57 +00:00
urho3d-travis-ci
641c07630f Travis CI: API documentation update at 2014-12-01 10:46:20 UTC.
[ci package]
2014-12-01 10:46:20 +00:00
urho3d-travis-ci
292cf0452b Travis CI: API documentation update at 2014-11-29 13:47:31 UTC.
[ci package]
2014-11-29 13:47:31 +00:00
Yao Wei Tjong 姚伟忠
f6e8f3b0fa Merge branch 'cleaning-up-build-scripts-for-android' into master. 2014-11-26 14:22:41 +08:00
urho3d-travis-ci
c1b51e611a Travis CI: API documentation update at 2014-11-24 15:10:14 UTC.
[ci package]
2014-11-24 15:10:14 +00:00
urho3d-travis-ci
5ea049470b Travis CI: API documentation update at 2014-11-24 10:49:19 UTC.
[ci package]
2014-11-24 10:49:19 +00:00
urho3d-travis-ci
5c1f05ed10 Travis CI: API documentation update at 2014-11-22 15:30:34 UTC.
[ci package]
2014-11-22 15:30:34 +00:00
Yao Wei Tjong 姚伟忠
60eeb45222 For Travis CI - skip APK test run when packaging.
General build script cleanup:
- Constrain build option values in cmake-gui.
- Constrain build configuration for both multi-configuration and single-configuration generators.
- Mark cached variables as advanced or internal as appropriate.
2014-11-22 00:39:48 +08:00
Lasse Öörni
65ee2ca966 Add function to get CPU count on Android. For now returns the same for logical & physical. Closes #535. Update changelog. 2014-11-20 14:49:38 +02:00
urho3d-travis-ci
aa3f467da2 Travis CI: API documentation update at 2014-11-20 11:17:19 UTC.
[ci package]
2014-11-20 11:17:19 +00:00
Yao Wei Tjong 姚伟忠
e3c1ce1f99 Add Android ABI 64-bit support into 1.32 changelog.
Test [ci package] of new Android ABIs.
2014-11-19 23:34:39 +08:00
Yao Wei Tjong 姚伟忠
0fb99af9e4 Misc. fixes and enhancement for Android platform.
- Add initial support for ndk-gdb. Enable via new 'URHO3D_NDK_GDB' build option.
- Enhance rake android task: more effective loop to wait for Android device, ability to pick library to run from SampleLauncher from the adb shell.
- Fix "buildvm" tool name for Android to derive from the correct NDK ABI CMake's variable.
- Fix Android toolchain to copy shared STL library to the correct Android library output directory.
2014-11-19 21:50:37 +08:00
Yao Wei Tjong 姚伟忠
e0e3b11757 Refactor build scripts to auto detect ANDROID and RASPI build options. 2014-11-19 21:48:25 +08:00
Yao Wei Tjong 姚伟忠
eda52984ac Add initial support for 64-bit Android ABIs. 2014-11-19 21:48:25 +08:00
Lasse Öörni
d63cc4c625 Initial V1.32 changelog. 2014-11-17 23:58:04 +02:00
urho3d-travis-ci
26ebc5f780 Travis CI: API documentation update at 2014-11-17 21:35:01 UTC.
[ci package]
2014-11-17 21:35:01 +00:00
Lasse Öörni
b325ba5195 Support excluding 2D functionality from the build (CMake option URHO3D_URHO2D=0). Removed empty scene creation from the UIDrag example. Make compiling Civetweb conditional of URHO3D_NETWORK. Exclude samples depending on the Controls structure when URHO3D_NETWORK is disabled. 2014-11-17 21:00:02 +02:00
urho3d-travis-ci
5f4f6870d9 Travis CI: API documentation update at 2014-11-17 12:11:52 UTC.
[ci package]
2014-11-17 12:11:52 +00:00
urho3d-travis-ci
fa4b96895a Travis CI: API documentation update at 2014-11-15 18:43:15 UTC.
[ci package]
2014-11-15 18:43:15 +00:00
Lasse Öörni
8b22c32f4c Copy the Input::SetMouseMode() documentation also on the Input documentation page. 2014-11-15 20:32:09 +02:00
urho3d-travis-ci
2afc444c4b Travis CI: API documentation update at 2014-11-13 19:09:31 UTC.
[ci package]
2014-11-13 19:09:31 +00:00
Lasse Öörni
feb3f1da59 Added contributor credit. 2014-11-13 20:11:04 +02:00
urho3d-travis-ci
153a818e7d Travis CI: API documentation update at 2014-11-12 17:07:51 UTC.
[ci package]
2014-11-12 17:07:51 +00:00
Yao Wei Tjong 姚伟忠
125adf1228 Enhance Urho3D.pc file generation to support MSVC and MinGW better.
Simplify the pkg-config invocation example for MinGW cross-compiler since the Urho3D library name is already corrected. No need to sed anymore.
2014-11-09 18:08:58 +08:00
Yao Wei Tjong 姚伟忠
1f6215cf58 Initial support of rake scaffolding task on Windows platform.
The task requires privilege to create symlink via mklink command.
2014-11-09 00:38:35 +08:00
Yao Wei Tjong 姚伟忠
1edc6bfe64 Append '_d' to the output executable file name in the example.
Related to commit 78436eecd4.
2014-11-08 15:01:54 +08:00
Yao Wei Tjong 姚伟忠
78436eecd4 Add another pkg-config usage example for MinGW cross compiling. 2014-11-08 14:59:02 +08:00
urho3d-travis-ci
a9e4e31ca3 Travis CI: API documentation update at 2014-11-07 18:14:07 UTC.
[ci package]
2014-11-07 18:14:07 +00:00
urho3d-travis-ci
e3d1f3e14f Travis CI: API documentation update at 2014-11-07 16:04:02 UTC.
[ci package]
2014-11-07 16:04:02 +00:00
Lasse Öörni
943a2c348b Added mechanism to limit material techniques on desktop hardware. Closes #516. 2014-11-07 17:33:22 +02:00
urho3d-travis-ci
42226761de Travis CI: API documentation update at 2014-11-05 09:55:42 UTC.
[ci package]
2014-11-05 09:55:42 +00:00
urho3d-travis-ci
01850d3b93 Travis CI: API documentation update at 2014-11-03 19:48:23 UTC.
[ci package]
2014-11-03 19:48:23 +00:00
urho3d-travis-ci
aa0499e214 Travis CI: API documentation update at 2014-11-03 16:53:48 UTC.
[ci package]
2014-11-03 16:53:48 +00:00
Lasse Öörni
b1dcfe39a9 Added missing contributor credit. 2014-11-03 18:30:41 +02:00
Lasse Öörni
b65bb59092 Configurable maximum substeps per frame in PhysicsWorld. Zero (default) = unlimited, positive = limited, negative = adaptive timestep, always 1 per rendering frame. Adaptive step is not recommended when consistent physics behavior is desired. 2014-11-03 18:30:05 +02:00
urho3d-travis-ci
18dbf70d0f Travis CI: API documentation update at 2014-10-30 13:24:38 UTC.
[ci package]
2014-10-30 13:24:38 +00:00
urho3d-travis-ci
5456dcf406 Travis CI: API documentation update at 2014-10-28 10:29:07 UTC.
[ci package]
2014-10-28 10:29:07 +00:00
Lasse Öörni
ac9fe226da Added contributor credit. 2014-10-28 11:27:08 +02:00
Jonne Nauha
66913cf103 Engine: New WindowPositionX/Y init params. Sets initial window position prior to SetMode that creates the window. 2014-10-28 01:57:43 +02:00
urho3d-travis-ci
4a362593c2 Travis CI: API documentation update at 2014-10-26 05:16:35 UTC.
[ci package]
2014-10-26 05:16:35 +00:00
Lasse Öörni
d7924f907f Added glyph offset functionality to Font. Closes #13. 2014-10-25 23:11:49 +03:00
Lasse Öörni
3f51cee989 Give Data directory priority over CoreData. Give autoload paths priority over the default directories/packages. Fix the resource path/package add priority (index) having no effect, which would result in the editor not giving highest priority to the user's resource data directory. Closes #499. 2014-10-23 11:23:34 +03:00
Yao Wei Tjong 姚伟忠
d8177c23de Add "free" keyword to the project about info. 2014-10-21 11:53:11 +08:00
Yao Wei Tjong 姚伟忠
1f91109413 Minor typo correction on the String::Compare() method. 2014-10-15 12:54:35 +08:00
urho3d-travis-ci
550d252cd1 Travis CI: API documentation update at 2014-10-14 19:36:58 UTC.
[ci package]
2014-10-14 19:36:58 +00:00
Yao Wei Tjong 姚伟忠
1ba8e3708b Add generated 'Docs/qch/' directory to git ignore list. 2014-10-14 12:03:40 +08:00
Yao Wei Tjong 姚伟忠
e58e57776e Add support for help documentation generation for QtCreator. 2014-10-14 11:35:54 +08:00
urho3d-travis-ci
40f745c82e Travis CI: API documentation update at 2014-10-13 21:52:40 UTC.
[ci package]
2014-10-13 21:52:40 +00:00
Lasse Öörni
64929dc50d Add possibility to disable RigidBody mass update to optimize performance when using several collisionshapes in the same node. Closes #489. 2014-10-14 00:41:12 +03:00
urho3d-travis-ci
0932d2d7e6 Travis CI: API documentation update at 2014-10-10 19:44:40 UTC.
[ci package]
2014-10-10 19:44:40 +00:00
Lasse Öörni
d21dea2cde Copy/paste fix. 2014-10-07 19:49:42 +03:00
Lasse Öörni
807bd28a9d Add URHO3D_NETWORK CMake parameter to control whether networking support is built. 2014-10-07 19:33:33 +03:00
urho3d-travis-ci
d92798e667 Travis CI: API documentation update at 2014-10-06 16:49:13 UTC.
[ci package]
2014-10-06 16:49:13 +00:00
urho3d-travis-ci
c284dd07aa Travis CI: API documentation update at 2014-10-06 10:46:57 UTC.
[ci package]
2014-10-06 10:46:57 +00:00
urho3d-travis-ci
852eda6c50 Travis CI: API documentation update at 2014-10-06 08:06:00 UTC.
[ci package]
2014-10-06 08:06:00 +00:00
Lasse Öörni
a04b3f746d Added option to route / block / process resource requests. Based on celeron55's patch. Closes #469. 2014-10-05 00:32:46 +03:00
urho3d-travis-ci
abfc829958 Travis CI: API documentation update at 2014-10-01 18:28:47 UTC.
[ci package]
2014-10-01 18:28:47 +00:00
Lasse Öörni
7f4b8e5b35 Allow controlling per-viewport if debug geometry should be rendered, instead of hardcoding to just backbuffer views. 2014-10-01 21:15:30 +03:00
urho3d-travis-ci
4c1d24c81f Travis CI: API documentation update at 2014-09-29 20:18:04 UTC.
[ci package]
2014-09-29 20:18:05 +00:00
urho3d-travis-ci
a6d68e2787 Travis CI: API documentation update at 2014-09-29 11:45:03 UTC.
[ci package]
2014-09-29 11:45:03 +00:00
Lasse Öörni
cb0103d518 Require always registering remote events for reception. Implement a fixed blacklist of remote events that can not be registered (see Network.cpp). Removed obsolete E_WINDOWMESSAGE event definition. 2014-09-29 14:23:41 +03:00
Yao Wei Tjong 姚伟忠
e06762db76 On non-MSVC compiler, default to 64-bit when host compiler is.
The default can be overriden using URHO3D_64BIT build option as before.
2014-09-29 18:28:08 +08:00
Lasse Öörni
d1bd8d961b Added ParticleEditor2D to Related Projects. Removed BlenderExporter section from Tools page, instead mention it in AssetImporter's section as an alternative. 2014-09-26 12:18:57 +03:00
Lasse Öörni
da4e90d15b Merge remote-tracking branch 'remotes/mike3d/patch-4' 2014-09-26 12:05:48 +03:00
urho3d-travis-ci
27604eba64 Travis CI: API documentation update at 2014-09-25 06:36:15 UTC.
[ci package]
2014-09-25 06:36:15 +00:00
Mike3D
ec188940e7 Add external links
Note: Blender add-on is not part of the 'Tools' folder, but I think it fits well in the Tools section.
2014-09-24 14:52:39 +02:00
Yao Wei Tjong 姚伟忠
70e7cb2d25 Give more verbose message when SOURCE_FILES variable is found not set.
Minor documentation update to stress that most of the build options supported by Urho3D project can also be pased to build script for configuring external project.
Add initial documentation on 'scaffolding' rake task.
2014-09-23 21:25:06 +08:00
urho3d-travis-ci
5be661b29a Travis CI: API documentation update at 2014-09-23 07:25:16 UTC.
[ci package]
2014-09-23 07:25:16 +00:00
Yao Wei Tjong 姚伟忠
bb573887ae Shorten anchor so that the line does not wrap around in Readme.txt. 2014-09-22 22:53:32 +08:00
Mike3D
e142f4f350 Revert back for Animated sprites documentation 2014-09-22 08:45:42 +02:00
urho3d-travis-ci
91b8171b06 Travis CI: API documentation update at 2014-09-21 15:18:39 UTC.
[ci package]
2014-09-21 15:18:39 +00:00
Mike3D
18916bb3fd Fix Animated sprites documentation 2014-09-21 08:57:01 +02:00
Lasse Öörni
e9f0baa398 Remote event registration is checked only when receiving. 2014-09-21 00:12:49 +03:00
Lasse Öörni
da55f6eca7 Added contributor credit. 2014-09-19 17:19:17 +03:00
urho3d-travis-ci
3a48762495 Travis CI: API documentation update at 2014-09-16 23:50:08 UTC.
[ci package]
2014-09-16 23:50:08 +00:00
urho3d-travis-ci
742364d7ca Travis CI: API documentation update at 2014-09-16 21:19:33 UTC.
[ci package]
2014-09-16 21:19:33 +00:00
urho3d-travis-ci
16fdf3b259 Travis CI: API documentation update at 2014-09-15 12:19:12 UTC.
[ci package]
2014-09-15 12:19:12 +00:00
Yao Wei Tjong 姚伟忠
47fb292a3a Add documentation for the OS X and iOS deployment target build options. 2014-09-15 14:51:18 +08:00
Lasse Öörni
f1e25381a3 Support single image splitting for cube maps. Closes #445. 2014-09-13 15:33:55 +03:00
Yao Wei Tjong 姚伟忠
5a79a7c552 Add the new build options to documentation page.
Closes #446. [ci skip]
2014-09-13 14:55:08 +08:00
urho3d-travis-ci
503b3e751c Travis CI: API documentation update at 2014-09-11 22:27:40 UTC.
[ci package]
2014-09-11 22:27:40 +00:00
urho3d-travis-ci
958c84c615 Travis CI: API documentation update at 2014-09-10 05:16:08 UTC.
[ci package]
2014-09-10 05:16:08 +00:00
Yao Wei Tjong 姚伟忠
b4e857ab4f Set all the headings in Urho2D and scripting API pages to proper case. 2014-09-10 13:06:38 +08:00
Yao Wei Tjong 姚伟忠
500db7ef97 Add rapidjson input files to Doxygen pages generation properly. 2014-09-10 13:06:38 +08:00
Lasse Öörni
6e42d3fc5a Minor doc edits. 2014-08-30 13:29:32 +03:00
Mike3D
51b95f5bfb Added TileMap 2014-08-30 10:43:29 +02:00
urho3d-travis-ci
31157975b6 Travis CI: API documentation update at 2014-08-29 22:14:41 UTC.
[ci package]
2014-08-29 22:14:41 +00:00
Yao Wei Tjong
831f7d189c Update Urho3D.dox 2014-08-30 01:00:14 +08:00
urho3d-travis-ci
13595673ce Travis CI: API documentation update at 2014-08-28 11:16:07 UTC.
[ci package]
2014-08-28 11:16:07 +00:00
urho3d-travis-ci
717d492b9a Travis CI: API documentation update at 2014-08-28 04:29:46 UTC.
[ci package]
2014-08-28 04:29:46 +00:00
urho3d-travis-ci
c75f56da41 Travis CI: API documentation update at 2014-08-27 16:22:36 UTC.
[ci package]
2014-08-27 16:22:36 +00:00
Chris Friesen
d12ec82b37 Fix reference to spritehelper url thx Mike3D 2014-08-26 01:01:44 -05:00
urho3d-travis-ci
26bdba2039 Travis CI: API documentation update at 2014-08-24 09:24:49 UTC.
[ci package]
2014-08-24 09:24:49 +00:00
Lasse Öörni
0472b4d410 Allow sending client observer rotation in addition to position. Note that rotation is not used by the NetworkPriority component, but can be used for custom logic. Do not send the observer pos/rot until actually set by the client. Closes #428. 2014-08-24 02:42:27 +03:00
urho3d-travis-ci
3fcb89e176 Travis CI: API documentation update at 2014-08-23 13:06:49 UTC.
[ci package]
2014-08-23 13:06:49 +00:00
urho3d-travis-ci
e50ec823a5 Travis CI: API documentation update at 2014-08-22 05:03:50 UTC.
[ci package]
2014-08-22 05:03:50 +00:00
urho3d-travis-ci
10efcd8c6a Travis CI: API documentation update at 2014-08-21 13:13:48 UTC.
[ci package]
2014-08-21 13:13:48 +00:00
urho3d-travis-ci
bd39c6d6af Travis CI: API documentation update at 2014-08-20 17:31:39 UTC.
[ci package]
2014-08-20 17:31:39 +00:00
Lasse Öörni
9246a5cfdb Dump a class list to AngelScript & Lua API dox pages. Also add a table of contents to both. Closes #426. 2014-08-20 20:16:42 +03:00
urho3d-travis-ci
81096e625a Travis CI: API documentation update at 2014-08-13 14:42:01 UTC.
[ci package]
2014-08-13 14:42:01 +00:00
urho3d-travis-ci
f215bf2b12 Travis CI: API documentation update at 2014-08-12 19:41:33 UTC.
[ci package]
2014-08-12 19:41:33 +00:00
urho3d-travis-ci
379bd474fe Travis CI: API documentation update at 2014-08-11 20:38:42 UTC.
[ci package]
2014-08-11 20:38:42 +00:00
urho3d-travis-ci
eea6082d9b Travis CI: API documentation update at 2014-08-11 18:54:27 UTC.
[ci package]
2014-08-11 18:54:27 +00:00
Yao Wei Tjong 姚伟忠
20d1cef4c2 Fix line wrap in the Readme.txt when viewed from GitHub.
[ci skip]
2014-08-10 15:46:18 +08:00
Chris Friesen
705f2c78ed Switch to long document output names 2014-08-09 22:34:29 -05:00
Lasse Öörni
6d5c73a15f Note that client cameras should be created into a local node in networked applications. 2014-08-07 10:45:50 +03:00
urho3d-travis-ci
d85139cdf7 Travis CI: API documentation update at 2014-08-04 15:25:09 UTC.
[ci package]
2014-08-04 15:25:09 +00:00
urho3d-travis-ci
a6b0535df4 Travis CI: API documentation update at 2014-08-02 10:08:52 UTC.
[ci package]
2014-08-02 10:08:52 +00:00
urho3d-travis-ci
5ad7ecd48c Travis CI: API documentation update at 2014-07-31 19:20:51 UTC.
[ci package]
2014-07-31 19:20:51 +00:00
Lasse Öörni
f120aa4be0 Return a writable documents directory on iOS. Contributed by att. 2014-07-29 02:24:49 +03:00
urho3d-travis-ci
67f224bfe9 Travis CI: API documentation update at 2014-07-26 09:37:03 UTC.
[ci package]
2014-07-26 09:37:04 +00:00
Lasse Öörni
562a2e2d77 Update to AngelScript 2.29.1. Closes #412. 2014-07-26 12:27:32 +03:00
urho3d-travis-ci
1b36be0115 Travis CI: API documentation update at 2014-07-25 14:57:16 UTC.
[ci package]
2014-07-25 14:57:16 +00:00
Lasse Öörni
ad737e0d6e Documentation for background resource loading. Expanded Scene::LoadAsync() to either background load resources only, load scene + resources synchronously, or background load resources first, then load the scene. Closes #406. 2014-07-24 22:45:31 +03:00
Lasse Öörni
df67ccdac7 Merge branch 'master' into threaded-resource-load 2014-07-22 22:33:43 +03:00
Lasse Öörni
4a9ab417a8 As a possible fix to #409, remove the optimization to not mark a node dirty again if it is already dirty. As a consequence the TransformChanged() script function will work more logically. This change would cause reduced performance with a large amount of animating models; to counteract, introduce a "silent update" mechanism for node transforms. 2014-07-22 22:20:14 +03:00
urho3d-travis-ci
92872df9b8 Travis CI: API documentation update at 2014-07-22 14:07:16 UTC.
[ci package]
2014-07-22 14:07:17 +00:00
Lasse Öörni
346da1e1f9 Detect main thread when sending events or using profiler blocks; make these no-ops when called from outside the main thread. 2014-07-20 21:32:55 +03:00
Yao Wei Tjong 姚伟忠
91c489bdfb Setup RPATH for Mac OS X. Adjust soversion to keep Apple linker happy.
Set CMake policy CMP0042 to NEW for early CMake 3.0.0 adopters to prevent warning message when generating Urho3D project file.
2014-07-19 21:23:11 +08:00
Yao Wei Tjong 姚伟忠
08f08e460b Improve the reliablity to find SDL_android_main.c when using SDK.
Replace usage of URHO3D_INSTALL_PREFIX environment variable with the more standard CMake's own CMAKE_PREFIX_PATH environment variable to define prefix path of non-standard SDK installation location.
2014-07-17 15:15:15 +08:00
Yao Wei Tjong 姚伟忠
cf1a0156e9 Briefly comment the CMake policy settings and update the documentation. 2014-07-17 12:31:02 +08:00
urho3d-travis-ci
f1fb658719 Travis CI: API documentation update at 2014-07-16 14:05:04 UTC.
[ci package]
2014-07-16 14:05:05 +00:00
Lasse Öörni
e82b3d53a1 Added support for zones defining a texture (either cube or 3D), that will be available in pixel shaders when rendering objects inside the zone. 2014-07-16 16:30:08 +03:00
urho3d-travis-ci
f45fc7c426 Travis CI: API documentation update at 2014-07-15 19:26:28 UTC.
[ci package]
2014-07-15 19:26:28 +00:00
aster
f9e555c19d Merge branch 'remove-short-string-hash'
Conflicts:
	Source/Engine/Script/CoreAPI.cpp
2014-06-30 10:59:49 +08:00
Lasse Öörni
2f29b3a5c0 Update documentation to not refer to ShortStringHash. 2014-06-29 19:36:14 +03:00
urho3d-travis-ci
30dc4aaf57 Travis CI: API documentation update at 2014-06-28 07:07:40 UTC.
[ci package]
2014-06-28 07:07:40 +00:00
Lasse Öörni
06f0257630 Added contributor credits. 2014-06-26 23:51:55 +03:00
Lasse Öörni
d9d39592dd Update to AngelScript 2.29.0. 2014-06-25 22:20:59 +03:00
urho3d-travis-ci
57fbb5f827 Travis CI: API documentation update at 2014-06-20 23:21:27 UTC.
[ci package]
2014-06-20 23:21:27 +00:00
urho3d-travis-ci
0dd7980a57 Travis CI: API documentation update at 2014-06-18 19:00:44 UTC.
[ci package]
2014-06-18 19:00:44 +00:00
Lasse Öörni
3bbc756aeb Merge branch 'particle-emitter-refactor' 2014-06-18 21:11:37 +03:00
urho3d-travis-ci
c2295ec748 Travis CI: API documentation update at 2014-06-17 14:04:50 UTC.
[ci package]
2014-06-17 14:04:50 +00:00
Lasse Öörni
3b1c7ef054 Added contributor. 2014-06-17 15:58:02 +03:00
Lasse Öörni
542fa82595 Update documentation. Remove unneeded friend class definition. 2014-06-16 23:02:45 +03:00
urho3d-travis-ci
4800408aed Travis CI: API documentation update at 2014-06-07 14:21:10 UTC.
[ci package]
2014-06-07 14:21:10 +00:00
Mike3D
7118ecc89b Urho2D documentation update 2014-06-06 20:03:44 +02:00
urho3d-travis-ci
deec4ef512 Travis CI: API documentation update at 2014-06-06 05:39:49 UTC.
[ci package]
2014-06-06 05:39:49 +00:00
Lasse Öörni
25d164bd0c Merge remote-tracking branch 'remotes/friesencr/editor-mouse-panning'
Conflicts:
	Docs/GettingStarted.dox
2014-06-06 00:29:10 +03:00
urho3d-travis-ci
00d299e43f Travis CI: API documentation update at 2014-06-05 15:52:55 UTC.
[ci package]
2014-06-05 15:52:55 +00:00
urho3d-travis-ci
7ea99eec92 Travis CI: API documentation update at 2014-06-05 13:04:38 UTC.
[ci package]
2014-06-05 13:04:39 +00:00
Chris Friesen
ffc4dffba7 Editor resource browser & right click menus 2014-06-04 23:20:18 -05:00
urho3d-travis-ci
e91e738afa Travis CI: API documentation update at 2014-06-04 04:50:57 UTC.
[ci package]
2014-06-04 04:50:57 +00:00
urho3d-travis-ci
7e024b0e1d Travis CI: API documentation update at 2014-06-03 16:42:49 UTC.
[ci package]
2014-06-03 16:42:50 +00:00
Chris Friesen
4722737049 Pan editor camera w/ shift+middle mouse button 2014-06-03 10:06:37 -05:00
urho3d-travis-ci
1926a62c93 Travis CI: API documentation update at 2014-06-03 11:10:01 UTC.
[ci package]
2014-06-03 11:10:01 +00:00
urho3d-travis-ci
55abe19fab Travis CI: API documentation update at 2014-06-02 14:36:27 UTC.
[ci package]
2014-06-02 14:36:27 +00:00
Lasse Öörni
e079878e40 Remove the gather4 path similarly from HLSL FXAA3. Fix FXAA2 tag name in the examples. Removed dead link from documentation. 2014-06-01 02:33:19 +03:00
Lasse Öörni
f2e6e86a1d Rename EdgeFilter shader to FXAA2. Rename FXAA shader to FXAA3. Clean up FXAA3 GLSL code and port to HLSL. 2014-05-31 23:24:31 +03:00
urho3d-travis-ci
5c71b28244 Travis CI: API documentation update at 2014-05-30 13:44:01 UTC.
[ci package]
2014-05-30 13:44:01 +00:00
urho3d-travis-ci
319f996c5f Travis CI: API documentation update at 2014-05-28 06:18:37 UTC.
[ci package]
2014-05-28 06:18:37 +00:00
Yao Wei Tjong 姚伟忠
a690e6b2f4 Attempt to fix the bullet numbering issue in GitHub pages.
The numbering is fine locally for some reason. [ci skip]
2014-05-24 12:59:01 +08:00
urho3d-travis-ci
165fed63ef Travis CI: API documentation update at 2014-05-24 04:37:11 UTC.
[ci package]
2014-05-24 04:37:11 +00:00
Yao Wei Tjong 姚伟忠
cf654822c4 Add initial support for CodeBlocks IDE. [ci skip] 2014-05-24 09:41:31 +08:00
Lasse Öörni
a089b95d16 Minor documentation wording tweaks. 2014-05-19 10:54:13 +03:00
Mike3D
557f85461e Improved Urho2D and gesture documentation. 2014-05-18 11:43:08 +02:00
urho3d-travis-ci
84f69e391e Travis CI: API documentation update at 2014-05-16 19:26:01 UTC.
[ci package]
2014-05-16 19:26:01 +00:00
Yao Wei Tjong 姚伟忠
df65a54948 Fix missing brace in the build script. 2014-05-16 13:25:09 +08:00
Yao Wei Tjong 姚伟忠
c1b506ee54 Clean up build scripts to avoid code duplication. 2014-05-16 13:12:52 +08:00
Lasse Öörni
c4b337d6b2 Removed outdated documentation on material shader parameters. Added a partial list of engine inbuilt shader uniforms. 2014-05-15 17:07:02 +03:00
Yao Wei Tjong 姚伟忠
b1fbab4953 Be explicit in setting the file permissions when installing.
Closes #352.
2014-05-15 21:14:09 +08:00
urho3d-travis-ci
f57ceceab6 Travis CI: API documentation update at 2014-05-14 12:16:59 UTC.
[ci package]
2014-05-14 12:16:59 +00:00
urho3d-travis-ci
0a18d9d9ed Travis CI: API documentation update at 2014-05-13 21:56:50 UTC.
[ci package]
2014-05-13 21:56:50 +00:00
urho3d-travis-ci
8a485cd7b5 Travis CI: API documentation update at 2014-05-13 19:17:55 UTC.
[ci package]
2014-05-13 19:17:56 +00:00
Lasse Öörni
f232856ac1 Added manual VectorBuffer overloads for AngelScript functions that take a File handle for loading/saving. Cleaned up some script bindings code and fixed AngelScript binding for Image::LoadColorLUT(). 2014-05-13 21:29:52 +03:00
urho3d-travis-ci
dec330e970 Travis CI: API documentation update at 2014-05-12 20:18:28 UTC.
[ci package]
2014-05-12 20:18:29 +00:00
urho3d-travis-ci
10bcc81234 Travis CI: API documentation update at 2014-05-12 11:28:45 UTC.
[ci package]
2014-05-12 11:28:45 +00:00
urho3d-travis-ci
bfb61af81a Travis CI: API documentation update at 2014-05-07 11:59:39 UTC.
[ci package]
2014-05-07 11:59:39 +00:00
urho3d-travis-ci
f16046cd5b Travis CI: API documentation update at 2014-05-05 19:14:47 UTC.
[ci package]
2014-05-05 19:14:47 +00:00
urho3d-travis-ci
a759018514 Travis CI: API documentation update at 2014-05-04 23:17:49 UTC.
[ci package]
2014-05-04 23:17:49 +00:00
Lasse Öörni
affc8df912 Fix duplicate page/section name causing Physics page link to lead to Urho2D page. Closes #338. 2014-05-04 17:06:17 +03:00
aster2013
ab15bf2528 Update Urho2D documentation, it is written by Mike3D, Thanks. [ci skip] 2014-05-03 20:07:18 +08:00
urho3d-travis-ci
390f3b62ef Travis CI: API documentation update at 2014-05-02 22:22:15 UTC.
[ci package]
2014-05-02 22:22:15 +00:00
Lasse Öörni
981b5bcac4 Use viewport sized intermediate rendertargets so that pixels outside the viewport never leak into post-processing. Added viewport multiplier mode to renderpath definition. Closes #265. 2014-05-02 22:47:13 +03:00
urho3d-travis-ci
2a30d7a458 Travis CI: API documentation update at 2014-05-02 12:26:56 UTC.
[ci package]
2014-05-02 12:26:57 +00:00
urho3d-travis-ci
719c126695 Travis CI: API documentation update at 2014-04-30 15:25:24 UTC.
[ci package]
2014-04-30 15:25:25 +00:00
urho3d-travis-ci
d980480cc6 Travis CI: API documentation update at 2014-04-29 18:18:41 UTC.
[ci package]
2014-04-29 18:18:41 +00:00
Lasse Öörni
8d050480bc Specify the customizable project & executable names on the "Using Urho3D as external library" documentation page. Closes #334. 2014-04-29 16:44:15 +03:00
Yao Wei Tjong 姚伟忠
6ad8c14346 Add engine param for enabling touch emulation during initialization.
Adjust sample base class to add screen joystick on desktop platform when touch emulation is enabled.
2014-04-29 10:36:43 +08:00
Lasse Öörni
cbf91aaa8a Add touch emulation stationary fingers for multi-gestures by pressing down other mouse buttons than the left. 2014-04-28 22:51:55 +03:00
Lasse Öörni
572167b90e Document the touch emulation feature briefly. 2014-04-28 21:36:41 +03:00
urho3d-travis-ci
4bd6826be7 Travis CI: API documentation update at 2014-04-28 16:15:20 UTC.
[ci package]
2014-04-28 16:15:21 +00:00
urho3d-travis-ci
be8b579310 Travis CI: API documentation update at 2014-04-27 05:44:43 UTC.
[ci package]
2014-04-27 05:44:44 +00:00
urho3d-travis-ci
2862a82761 Travis CI: API documentation update at 2014-04-25 21:49:34 UTC.
[ci package]
2014-04-25 21:49:34 +00:00
urho3d-travis-ci
20c4250540 Travis CI: API documentation update at 2014-04-24 03:30:30 UTC.
[ci package]
2014-04-24 03:30:30 +00:00
urho3d-travis-ci
419026de8a Travis CI: API documentation update at 2014-04-21 17:29:45 UTC.
[ci package]
2014-04-21 17:29:45 +00:00
urho3d-travis-ci
13cf44766e Travis CI: API documentation update at 2014-04-21 14:19:03 UTC.
[ci package]
2014-04-21 14:19:03 +00:00
aster
b7d536bb5e Update attribute animation doc. [ci skip] 2014-04-21 19:11:20 +08:00
urho3d-travis-ci
7ddad564c8 Travis CI: API documentation update at 2014-04-21 10:24:44 UTC.
[ci package]
2014-04-21 10:24:44 +00:00
urho3d-travis-ci
722b2fa6e9 Travis CI: API documentation update at 2014-04-20 20:17:38 UTC.
[ci package]
2014-04-20 20:17:38 +00:00
urho3d-travis-ci
b2203a3037 Travis CI: API documentation update at 2014-04-20 13:10:06 UTC.
[ci package]
2014-04-20 13:10:06 +00:00
urho3d-travis-ci
937c259bb4 Travis CI: API documentation update at 2014-04-20 08:00:41 UTC.
[ci package]
2014-04-20 08:00:41 +00:00
aster2013
0c648c68f3 Add rapidjson license to to document.[ci skip[ 2014-04-19 22:22:36 +08:00
urho3d-travis-ci
32b691d70d Travis CI: API documentation update at 2014-04-18 20:53:24 UTC.
[ci package]
2014-04-18 20:53:24 +00:00
Lasse Öörni
955a8bb34e Joystick refactoring after merging the joystick pull request from thebluefish.
- Fixed "ghost" buttons due to setting button down state both by joystick button and controller button mapping.
- Fixed missing name in joystick state.
- Allow getting joystick state both by joystick ID (Input::GetJoystick()) and a zero-based index (Input::GetJoystickByIndex()).
- Fixed ambiguity in Input class parameter names whether functions take a joystick ID, or an index. Most take joystick ID by now.
- Controller events removed. Controller joysticks will receive ordinary joystick events, but with controller axis & button mappings.
- Joystick identifying parameter in joystick events changed to JoystickID to denote that it's an ID and not a zero-based index.
- Code convention edits to Input code.
2014-04-18 23:33:25 +03:00
urho3d-travis-ci
35ec1ba7fd Travis CI: API documentation update at 2014-04-18 00:55:45 UTC.
[ci package]
2014-04-18 00:55:45 +00:00
urho3d-travis-ci
aad0edde64 Travis CI: API documentation update at 2014-04-17 22:22:12 UTC.
[ci package]
2014-04-17 22:22:12 +00:00
Lasse Öörni
0c219cfb35 Document the AutoloadPaths engine startup parameter. Copy also the Extra directory in the Android CopyData batch file. 2014-04-18 00:52:43 +03:00
Lasse Öörni
848ecce091 Merge remote-tracking branch 'remotes/friesencr/auto-load-folders' 2014-04-18 00:34:36 +03:00
Lasse Öörni
5b4da41b10 Code cleanup, renamed command line option. Updated AssetImporter documentation. 2014-04-17 15:07:35 +03:00
urho3d-travis-ci
ed803ba21c Travis CI: API documentation update at 2014-04-17 10:35:33 UTC.
[ci package]
2014-04-17 10:35:33 +00:00
Chris Friesen
873cef9840 Folders that autoload subfolders/paks on load 2014-04-16 22:27:31 -05:00
Chris Friesen
bf138fb567 Added middle editor mouse button to documentation 2014-04-16 22:19:40 -05:00
urho3d-travis-ci
6454c2831d Travis CI: API documentation update at 2014-04-16 12:55:43 UTC.
[ci package]
2014-04-16 12:55:43 +00:00
Lasse Öörni
67e46f1d71 Improve Input documentation. Reorder InputEvents.h to match the order in documentation. 2014-04-16 10:45:12 +03:00
urho3d-travis-ci
d6c5aa05bc Travis CI: API documentation update at 2014-04-16 06:02:35 UTC.
[ci package]
2014-04-16 06:02:35 +00:00
Chris Friesen
c346c3db23 Take screenshots in the editor w/ F11 2014-04-15 23:01:33 -05:00
urho3d-travis-ci
742abf7866 Travis CI: API documentation update at 2014-04-15 21:59:46 UTC.
[ci package]
2014-04-15 21:59:46 +00:00
Lasse Öörni
b2b4d4f7da Correct touch gesture term in documentation. 2014-04-15 23:58:04 +03:00
Lasse Öörni
9906e7ed25 Gesture recording/load/save support and gesture events. SDL fixes to gesture events. Closes #304. 2014-04-15 23:48:04 +03:00
urho3d-travis-ci
f2f704f050 Travis CI: API documentation update at 2014-04-15 15:24:02 UTC.
[ci package]
2014-04-15 15:24:03 +00:00
Lasse Öörni
c5c4b9edff Update credits. 2014-04-14 11:12:34 +03:00
urho3d-travis-ci
bc17280454 Travis CI: API documentation update at 2014-04-14 05:23:45 UTC.
[ci package]
2014-04-14 05:23:45 +00:00
urho3d-travis-ci
02c8dc1f76 Travis CI: API documentation update at 2014-04-13 15:51:15 UTC.
[ci package]
2014-04-13 15:51:15 +00:00
Lasse Öörni
b4ba4a3573 Fix AngelScript bindings on MSVC (asMETHODPR macro needs to be used in the template base class registration functions to allow static_cast to work). Make the class names links on the attribute list page. 2014-04-13 14:30:52 +03:00
urho3d-travis-ci
564b05c269 Travis CI: API documentation update at 2014-04-13 04:54:23 UTC.
[ci package]
2014-04-13 04:54:23 +00:00
Lasse Öörni
9a7a9110a2 Added generated attribute documentation. Move AngelScript API dumping to a separate .cpp file. Hack fix for Doxygen parsing bug which would cause the Events page not to be recognized. Closes #303. 2014-04-13 01:45:27 +03:00
urho3d-travis-ci
c4e5b7295b Travis CI: API documentation update at 2014-04-12 16:17:26 UTC.
[ci package]
2014-04-12 16:17:26 +00:00
urho3d-travis-ci
1f2d5c597e Travis CI: API documentation update at 2014-04-12 11:54:48 UTC.
[ci package]
2014-04-12 11:54:48 +00:00
urho3d-travis-ci
cbb95bbc7f Travis CI: API documentation update at 2014-04-12 06:20:48 UTC.
[ci package]
2014-04-12 06:20:48 +00:00
urho3d-travis-ci
60b09d480a Travis CI: API documentation update at 2014-04-12 03:33:38 UTC.
[ci package]
2014-04-12 03:33:38 +00:00
aster
098d75bad2 Update Docs/Reference.dox. [ci skip] 2014-04-11 15:53:52 +08:00
urho3d-travis-ci
1cec91b50a Travis CI: API documentation update at 2014-04-11 05:58:52 UTC.
[ci package]
2014-04-11 05:58:52 +00:00
Aster Jian
dfbaee4563 Add attribute animation doc.[ci skip] 2014-04-11 12:54:50 +08:00
urho3d-travis-ci
740547e488 Travis CI: API documentation update at 2014-04-10 13:59:31 UTC.
[ci package]
2014-04-10 13:59:32 +00:00
urho3d-travis-ci
891aa80bb7 Travis CI: API documentation update at 2014-04-10 06:28:34 UTC.
[ci package]
2014-04-10 06:28:34 +00:00
Lasse Öörni
504d6a5137 Minor edits of the contribution checklist documentation. 2014-04-09 17:19:39 +03:00
urho3d-travis-ci
a8bd6264df Travis CI: API documentation update at 2014-04-09 09:35:51 UTC.
[ci package]
2014-04-09 09:35:51 +00:00
urho3d-travis-ci
22c0671db5 Travis CI: API documentation update at 2014-04-08 06:23:29 UTC.
[ci package]
2014-04-08 06:23:29 +00:00
urho3d-travis-ci
8fd0ec75e1 Travis CI: API documentation update at 2014-04-07 20:38:52 UTC.
[ci package]
2014-04-07 20:38:53 +00:00
urho3d-travis-ci
5c4d23496f Travis CI: API documentation update at 2014-04-07 16:19:39 UTC.
[ci package]
2014-04-07 16:19:39 +00:00
Yao Wei Tjong 姚伟忠
a2a4690945 Fix document reference's title. 2014-04-05 22:44:19 +08:00
urho3d-travis-ci
2349b6e119 Travis CI: API documentation update at 2014-04-05 14:23:24 UTC.
[ci package]
2014-04-05 14:23:24 +00:00
Yao Wei Tjong 姚伟忠
1f879a084d Cleanup the documentation on build options. 2014-04-05 11:59:35 +08:00
Yao Wei Tjong 姚伟忠
46285baf97 Refactor build scripts to group Urho3D specific build option.
Initial support of project configuration and generation via cmake-gui.
2014-04-05 00:20:56 +08:00
urho3d-travis-ci
1f0ece1d46 Travis CI: API documentation update at 2014-04-03 10:56:57 UTC.
[ci package]
2014-04-03 10:56:57 +00:00
Lasse Öörni
97ec02619f Locate scene node in editor by doubleclicking in the hierarchy window. 2014-04-02 18:33:56 +03:00
urho3d-travis-ci
b5d5aca5b3 Travis CI: API documentation update at 2014-04-01 19:36:44 UTC.
[ci package]
2014-04-01 19:36:44 +00:00
urho3d-travis-ci
f3ec1387e9 Travis CI: API documentation update at 2014-04-01 10:40:37 UTC.
[ci package]
2014-04-01 10:40:37 +00:00
urho3d-travis-ci
c148392a0e Travis CI: API documentation update at 2014-03-31 22:44:26 UTC.
[ci package]
2014-03-31 22:44:26 +00:00
urho3d-travis-ci
6f9ca8abf0 Travis CI: API documentation update at 2014-03-31 00:29:48 UTC.
[ci package]
2014-03-31 00:29:48 +00:00
Lasse Öörni
6bfcc28010 Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows. 2014-03-31 01:17:00 +03:00
Lasse Öörni
1418fb7e83 Changed the SM2.0 tradeoffs to allow 4-sample shadow mapping and to verify that shaders again work on GPU's without hardware shadow compare (eg. Radeon 9800.) Removed unnecessary shader code & simplified the LitSolid & light volume shaders. 2014-03-30 20:27:15 +03:00
Yao Wei Tjong 姚伟忠
8197101bc1 Integrating Urho3D documentation into some IDEs. [ci skip] 2014-03-30 21:53:00 +08:00
urho3d-travis-ci
4df29c07f9 Travis CI: API documentation update at 2014-03-29 22:59:40 UTC.
[ci package]
2014-03-29 22:59:40 +00:00
Lasse Öörni
c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 2014-03-30 00:44:07 +02:00
urho3d-travis-ci
001a35eff1 Travis CI: API documentation update at 2014-03-28 06:19:55 UTC.
[ci package]
2014-03-28 06:19:55 +00:00
urho3d-travis-ci
3271f832ba Travis CI: API documentation update at 2014-03-27 22:49:42 UTC.
[ci package]
2014-03-27 22:49:43 +00:00
Lasse Öörni
35195939c1 Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters. 2014-03-28 00:23:31 +02:00
urho3d-travis-ci
efca7e4554 Travis CI: API documentation update at 2014-03-26 18:38:49 UTC.
[ci package]
2014-03-26 18:38:49 +00:00
urho3d-travis-ci
d67bea9ddc Travis CI: API documentation update at 2014-03-26 10:39:58 UTC.
[ci package]
2014-03-26 10:39:58 +00:00
aster2013
d444df2c22 Update documentation.[ci skip] 2014-03-26 12:36:14 +08:00
urho3d-travis-ci
5dfd057148 Travis CI: API documentation update at 2014-03-25 13:24:21 UTC.
[ci package]
2014-03-25 13:24:21 +00:00
urho3d-travis-ci
260d03d77c Travis CI: API documentation update at 2014-03-25 01:17:31 UTC.
[ci package]
2014-03-25 01:17:32 +00:00
Alex Parlett
d274e71dd7 Fixed Ninja Snow Wars Objects xml to use Is Trigger.
Updated Physic Events to use P_TRIGGER instead of P_PHANTOM this will require a change in anything using the old Phantom event code in client applications.
2014-03-24 21:55:42 +00:00
Lasse Öörni
6f21f8bc69 Merge branch 'sdl-update' 2014-03-24 23:37:22 +02:00
Alex Parlett
a22a24c0e4 Rename RigidBody::Phantom to RigidBody::Trigger to align it with common terminology for physics. 2014-03-24 20:44:34 +00:00
urho3d-travis-ci
a55b29615c Travis CI: API documentation update at 2014-03-24 04:25:12 UTC.
[ci package]
2014-03-24 04:25:12 +00:00
urho3d-travis-ci
8ee9792c79 Travis CI: API documentation update at 2014-03-21 12:07:41 UTC.
[ci package]
2014-03-21 12:07:42 +00:00
Lasse Öörni
882f4da62e Added quad rendering missing elapsed time parameter fix from szamq. Also add delta time parameter to batch rendering. Closes #272. 2014-03-21 13:23:06 +02:00
Lasse Öörni
408cbdf2be Update SDL version in the documentation. 2014-03-21 10:14:25 +02:00
Lasse Öörni
52aa369f5d Android fixes. Bump required Android SDK required for compiling to 12 due to SDL joystick code. Removed the activity finish request code, as SDLActivity should now cleanly wait for the native thread to exit. 2014-03-21 02:46:42 +02:00
urho3d-travis-ci
6037d1160f Travis CI: API documentation update at 2014-03-20 20:38:47 UTC.
[ci package]
2014-03-20 20:38:47 +00:00
urho3d-travis-ci
3d282f2c21 Travis CI: API documentation update at 2014-03-20 11:14:08 UTC.
[ci package]
2014-03-20 11:14:08 +00:00
Yao Wei Tjong 姚伟忠
bceb1a9c61 Updated to LuaJIT 2.0.3. Closes #266. 2014-03-19 19:57:18 +08:00
Lasse Öörni
e8c550a98f Added documentation for the sound streaming feature. 2014-03-19 12:28:11 +02:00
urho3d-travis-ci
31f5d921d7 Travis CI: API documentation update at 2014-03-19 07:39:45 UTC.
[ci package]
2014-03-19 07:39:45 +00:00
urho3d-travis-ci
b00c0bd471 Travis CI: API documentation update at 2014-03-18 13:40:46 UTC.
[ci package]
2014-03-18 13:40:47 +00:00
Lasse Öörni
8bf5af9261 Added note that tangents are needed for normal mapping. Clean up SoundSource decoder handling to prepare for application-supplied sound stream. 2014-03-18 15:20:19 +02:00
Yao Wei Tjong 姚伟忠
2404505ff7 Minor typo fix for documentation. [ci skip] 2014-03-18 13:47:10 +08:00
urho3d-travis-ci
d5ad30b3ed Travis CI: API documentation update at 2014-03-17 16:22:50 UTC.
[ci package]
2014-03-17 16:22:50 +00:00
urho3d-travis-ci
1b604dd97c Travis CI: API documentation update at 2014-03-17 07:24:29 UTC.
[ci package]
2014-03-17 07:24:29 +00:00
urho3d-travis-ci
7c96c13fd0 Travis CI: API documentation update at 2014-03-17 05:44:48 UTC.
[ci package]
2014-03-17 05:44:48 +00:00
aster2013
87df3902da Update Urho2D Documention.[ci skip] 2014-03-17 11:15:32 +08:00
urho3d-travis-ci
822af7dfe4 Travis CI: API documentation update at 2014-03-15 21:23:16 UTC.
[ci package]
2014-03-15 21:23:16 +00:00
Lasse Öörni
1d9d0a5736 Synchronize keycode constants with SDL. This changes some constants, like NUMPAD -> KP_. Added SDL scancode constants. Added polling of keys by scancodes, and scancodes into key events. Added conversion functions from keycode to scancode and vice versa, and functions to get key names. Closes #254. 2014-03-15 18:15:11 +02:00
urho3d-travis-ci
0a27c02ba5 Travis CI: API documentation update at 2014-03-15 11:38:33 UTC.
[ci package]
2014-03-15 11:38:33 +00:00
urho3d-travis-ci
f6cd0f07d7 Travis CI: API documentation update at 2014-03-14 11:42:25 UTC.
[ci package]
2014-03-14 11:42:25 +00:00
Yao Wei Tjong 姚伟忠
f2c5f1573c Minor typo fix on documentation. [ci skip] 2014-03-14 17:49:20 +08:00
Lasse Öörni
f9ff9550bd Added documentation on light brightness and negative lights. 2014-03-13 14:25:07 +02:00
urho3d-travis-ci
57631dff23 Travis CI: API documentation update at 2014-03-13 08:41:02 UTC.
[ci package]
2014-03-13 08:41:03 +00:00
urho3d-travis-ci
eff35a4ae7 Travis CI: API documentation update at 2014-03-12 02:39:20 UTC.
[ci skip]
2014-03-12 02:39:20 +00:00
Lasse Öörni
ec43000d09 Added teapot & torus models from Hgdavidy's pull request. 2014-03-11 19:52:36 +02:00
urho3d-travis-ci
261a0326c1 Travis CI: API documentation update at 2014-03-11 17:21:25 UTC.
[ci package]
2014-03-11 17:21:25 +00:00
Lasse Öörni
160279a2b0 Add Box2D also to library list in Urho3D.dox. 2014-03-11 14:31:57 +02:00
Lasse Öörni
814480fff5 Improved zone gradient documentation. 2014-03-11 11:03:12 +02:00
urho3d-travis-ci
189a04c548 Travis CI: API documentation update at 2014-03-11 08:21:59 UTC.
[ci package]
2014-03-11 08:21:59 +00:00
urho3d-travis-ci
c868d036ed Travis CI: API documentation update at 2014-03-10 10:51:44 UTC.
[ci package]
2014-03-10 10:51:44 +00:00
urho3d-travis-ci
af6c1c49df Travis CI: API documentation update at 2014-03-10 07:49:26 UTC.
[ci package]
2014-03-10 07:49:26 +00:00
urho3d-travis-ci
8788e70b21 Travis CI: API documentation update at 2014-03-10 00:17:40 UTC.
[ci package]
2014-03-10 00:17:40 +00:00
Lasse Öörni
fb3306170e Material quality, texture quality, texture filter mode and anisotropy level as engine startup parameters and command line options. Closes #241. 2014-03-09 19:36:40 +02:00
urho3d-travis-ci
db81e0ea61 Travis CI: API documentation update at 2014-03-09 01:50:10 UTC.
[ci package]
2014-03-09 01:50:10 +00:00
Yao Wei Tjong 姚伟忠
62ce85adfe Add new build options to control FileWatcher/profiling/logging support. 2014-03-07 23:36:07 +08:00
Lasse Öörni
435ccc4f38 Fixed Box2D compile on Android. Added Box2D license to the root License.txt file. 2014-03-07 14:58:00 +02:00
urho3d-travis-ci
4b5f26b455 Travis CI: API documentation update at 2014-03-07 04:50:42 UTC.
[ci package]
2014-03-07 04:50:42 +00:00
urho3d-travis-ci
ee15effdda Travis CI: API documentation update at 2014-03-06 21:02:45 UTC.
[ci package]
2014-03-06 21:02:45 +00:00
Lasse Öörni
45c2cb8a1e Added note of URHO3D_API macro in the contribution instructions. 2014-03-06 17:32:11 +02:00
urho3d-travis-ci
4d01971fe3 Travis CI: API documentation update at 2014-03-06 15:11:35 UTC.
[ci package]
2014-03-06 15:11:35 +00:00
Lasse Öörni
d3f4041a84 Changelog fixes / additions. 2014-03-05 21:36:28 +02:00
Lasse Öörni
8663f44221 Added a guideline / checklist documentation page for contributing. 2014-03-05 21:21:45 +02:00
Lasse Öörni
0cf91f489b Changelog for upcoming release. 2014-03-05 15:04:13 +02:00
Lasse Öörni
4c67f1b254 Added mention of the Urho2D components to Rendering page. 2014-03-05 11:23:41 +02:00
urho3d-travis-ci
3c6fc3b084 Travis CI: API documentation update at 2014-03-05 04:33:15 UTC.
[ci package]
2014-03-05 04:33:15 +00:00
urho3d-travis-ci
e51d0a183e Travis CI: API documentation update at 2014-03-04 17:27:35 UTC.
[ci package]
2014-03-04 17:27:35 +00:00
Lasse Öörni
b581164be7 Added contributor credit. 2014-03-04 16:40:39 +02:00
urho3d-travis-ci
7ad6d9cc9b Travis CI: API documentation update at 2014-03-04 10:52:52 UTC.
[ci package]
2014-03-04 10:52:52 +00:00
urho3d-travis-ci
4a5a144a06 Travis CI: API documentation update at 2014-03-04 04:23:09 UTC.
[ci package]
2014-03-04 04:23:09 +00:00
urho3d-travis-ci
1d1e9927ce Travis CI: API documentation update at 2014-03-02 09:00:47 UTC.
[ci package]
2014-03-02 09:00:47 +00:00
urho3d-travis-ci
d461ec04f0 Travis CI: API documentation update at 2014-03-01 21:15:23 UTC.
[ci package]
2014-03-01 21:15:23 +00:00
urho3d-travis-ci
cc5e6f7848 Travis CI: API documentation update at 2014-03-01 13:44:49 UTC.
[ci package]
2014-03-01 13:44:49 +00:00
urho3d-travis-ci
461c448c27 Travis CI: API documentation update at 2014-03-01 12:17:59 UTC.
[ci package]
2014-03-01 12:17:59 +00:00
urho3d-travis-ci
089b9ce083 Travis CI: API documentation update at 2014-02-28 12:57:40 UTC.
[ci package]
2014-02-28 12:57:41 +00:00
urho3d-travis-ci
927a652c74 Travis CI: API documentation update at 2014-02-27 16:14:04 UTC.
[ci package]
2014-02-27 16:14:04 +00:00
Yao Wei Tjong 姚伟忠
232abb7d01 Also update credit info in the Doxygen page. [ci skip] 2014-02-26 13:15:08 +08:00
urho3d-travis-ci
2e2b8761e3 Travis CI: API documentation update at 2014-02-25 10:22:48 UTC.
[ci package]
2014-02-25 10:22:48 +00:00
urho3d-travis-ci
062dfcf2fb Travis CI: API documentation update at 2014-02-24 20:07:49 UTC.
[ci skip]
2014-02-24 20:07:49 +00:00
urho3d-travis-ci
738b998139 Travis CI: API documentation update at 2014-02-24 17:19:30 UTC.
[ci skip]
2014-02-24 17:19:30 +00:00
Lasse Öörni
54462cf9d7 Update credits. 2014-02-24 17:56:13 +02:00
urho3d-travis-ci
578377e8c4 Travis CI: API documentation update at 2014-02-23 19:36:02 UTC.
[ci skip]
2014-02-23 19:36:02 +00:00
Lasse Öörni
bfd968f9d7 Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base.
Removed useScissor -flag from render path commands, as it can be automatically determined when it should be used.
2014-02-23 21:16:54 +02:00
urho3d-travis-ci
ce234504f0 Travis CI: API documentation update at 2014-02-22 20:32:27 UTC.
[ci skip]
2014-02-22 20:32:27 +00:00
urho3d-travis-ci
5fdab16972 Travis CI: API documentation update at 2014-02-22 13:07:34 UTC.
[ci skip]
2014-02-22 13:07:34 +00:00
Yao Wei Tjong 姚伟忠
b4132990f2 Attempt to fix doxygen not able to find dot on OSX build environment. 2014-02-22 12:18:25 +08:00
urho3d-travis-ci
07b50c597d Travis CI: API documentation update at 2014-02-19 01:44:03 UTC.
[ci skip]
2014-02-19 01:44:03 +00:00
urho3d-travis-ci
83dc9892cf Travis CI: API documentation update at 2014-02-18 15:44:03 UTC.
[ci skip]
2014-02-18 15:44:03 +00:00
Yao Wei Tjong 姚伟忠
5ec3c02025 Revert back the logic to auto generate pkg list. 2014-02-18 23:24:31 +08:00
Lasse Öörni
592f0db8ce Fixed null exception when toggling orthographic camera in UI element selection mode. Updated editor documentation. 2014-02-18 11:52:18 +02:00
Yao Wei Tjong 姚伟忠
48eb60fd8e Rename 'magic' module to 'common' module to reflect its purpose better.
The purpose of Urho3D-CMake-common module is to store all the commonly used CMake commands and macros in one place so that they can be reused by other external projects using Urho3D as external library by simply including this module in their own CMakeList.txt.
2014-02-18 12:55:13 +08:00
Lasse Öörni
2c255f7c53 More fixes for outdated documentation. 2014-02-17 23:57:13 +02:00
Lasse Öörni
5a6a11c521 Minor documentation / comment fixes. 2014-02-17 23:43:59 +02:00
Lasse Öörni
cc9e5e1994 Moved to XML based shader precache files. Refactored shader precaching code to its own class. Closes #199. 2014-02-17 22:19:55 +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
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
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
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
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
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
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
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
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
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
aster2013
f455b2fac2 Update CMakeLists.txt for document. 2014-02-13 19:53:59 +08:00
Lasse Öörni
6a760116ff Added note on implementing scene logic, and that you should not subclass Node. 2014-02-13 11:43:42 +02:00
Lasse Öörni
00cf05c2a2 Document what is unsafe in WorkQueue work functions. 2014-02-12 11:58:27 +02:00
urho3d-travis-ci
e18f481eea Travis CI: API documentation update at 2014-02-11 20:02:28 UTC.
[ci skip]
2014-02-11 20:02:28 +00:00
urho3d-travis-ci
e2ea3404d6 Travis CI: API documentation update at 2014-02-11 01:34:00 UTC.
[ci skip]
2014-02-11 01:34:00 +00:00
urho3d-travis-ci
2c986aa7cb Travis CI: API documentation update at 2014-02-10 06:08:42 UTC.
[ci skip]
2014-02-10 06:08:42 +00:00
urho3d-travis-ci
1274627893 Travis CI: API documentation update at 2014-02-10 00:07:21 UTC.
[ci skip]
2014-02-10 00:07:22 +00:00
urho3d-travis-ci
6bc7ad853e Travis CI: API documentation update at 2014-02-07 14:34:51 UTC.
[ci skip]
2014-02-07 14:34:53 +00:00
Lasse Öörni
3dfede3403 Added contributor credit. 2014-02-07 15:56:44 +02:00
urho3d-travis-ci
bb620fca64 Travis CI: API documentation update at 2014-02-07 12:57:49 UTC.
[ci skip]
2014-02-07 12:57:49 +00:00
urho3d-travis-ci
d0e69f621e Travis CI: API documentation update at 2014-02-07 05:04:26 UTC.
[ci skip]
2014-02-07 05:04:26 +00:00
Lasse Öörni
cc6fd2c34a Documented the built-in HEIGHTFOG shader define. 2014-02-07 00:42:51 +02:00
urho3d-travis-ci
55784b8313 Travis CI: API documentation update at 2014-02-06 15:44:29 UTC.
[ci skip]
2014-02-06 15:44:30 +00:00
Lasse Öörni
809efdb4c6 Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance. 2014-02-06 17:24:16 +02:00
urho3d-travis-ci
ab10823b05 Travis CI: API documentation update at 2014-02-06 11:38:01 UTC.
[ci skip]
2014-02-06 11:38:01 +00:00
Lasse Öörni
f6ca1a7bf6 Added link to the updated Blender-to-Urho3D exporter repository. 2014-02-06 11:41:58 +02:00
urho3d-travis-ci
adbc03bcc6 Travis CI: API documentation update at 2014-02-06 06:03:09 UTC.
[ci skip]
2014-02-06 06:03:09 +00:00
urho3d-travis-ci
4ee3bd492f Travis CI: API documentation update at 2014-02-05 21:29:38 UTC.
[ci skip]
2014-02-05 21:29:38 +00:00
Lasse Öörni
381e9a04c3 Merge branch 'shader-refactor' 2014-02-05 20:54:56 +02:00
Lasse Öörni
6748a17440 Updated credits. 2014-02-05 16:59:20 +02:00
urho3d-travis-ci
de104909af Travis CI: API documentation update at 2014-02-05 12:53:33 UTC.
[ci skip]
2014-02-05 12:53:33 +00:00
Lasse Öörni
63bd03c6d6 Added document section on UI textures. 2014-02-04 18:05:17 +02:00
Lasse Öörni
c683652b9d Shader migration instructions. 2014-02-04 12:45:26 +02:00
Lasse Öörni
b76823a317 Added height fog mode boolean to Zone. Apply height fog shaders automatically. Changed height fog parameters to be relative to the zone node. 2014-02-03 22:51:27 +02:00
Lasse Öörni
66ab76611a Minor documentation edit. 2014-02-03 17:09:41 +02:00
Lasse Öörni
383e248b44 Updated documentation for techniques, shaders and renderpaths. 2014-02-03 16:44:02 +02:00
Lasse Öörni
dc5f4a1834 Merge branch 'master' into shader-refactor 2014-02-03 13:57:52 +02:00
urho3d-travis-ci
664a3a5a9b Travis CI: API documentation update at 2014-02-03 09:10:16 UTC.
[ci skip]
2014-02-03 09:10:16 +00:00
urho3d-travis-ci
c48c1b38a4 Travis CI: API documentation update at 2014-02-03 07:22:40 UTC.
[ci skip]
2014-02-03 07:22:40 +00:00
Lasse Öörni
fccf4fbe96 Changed the Direct3D library fallback mechanism: on MinGW the SDK is never searched for, because if it is found, the libraries likely are incompatible. Instead the fallback libraries are set in Urho3D-CMake-magic.cmake if the SDK was not found or not searched for. Documented the use of MinGW-w64 to enable a fully functional Direct3D build. 2014-02-03 02:48:11 +02:00
urho3d-travis-ci
4d142b315e Travis CI: API documentation update at 2014-02-02 15:42:59 UTC.
[ci skip]
2014-02-02 15:42:59 +00:00
Lasse Öörni
caf080ecbb Initial refactoring of Direct3D9 shaders. ShaderCompiler removed. Bytecode not cached into files yet. 2014-02-02 14:54:46 +02:00
Lasse Öörni
6ccb31f6f5 Update to Bullet 2.82. 2014-02-01 15:59:25 +02:00
Lasse Öörni
d50403798a Update AngelScript to 2.28.1. 2014-02-01 15:05:53 +02:00
Lasse Öörni
6d5ddc23e0 Bump the copyright for 2014. 2014-02-01 14:37:21 +02:00
urho3d-travis-ci
7da9208b15 Travis CI: API documentation update at 2014-02-01 00:04:28 UTC.
[ci skip]
2014-02-01 00:04:28 +00:00
Lasse Öörni
5062dbba42 Sanitate screenshot name in the samples to ensure saving it succeeds. Prepend the executable path properly. Flip image in OpenGL Graphics::TakeScreenShot() instead of having the user to do it. 2014-02-01 01:07:03 +02:00
urho3d-travis-ci
0553058d58 Travis CI: API documentation update at 2014-01-30 18:21:27 UTC.
[ci skip]
2014-01-30 18:21:27 +00:00
urho3d-travis-ci
15621208ce Travis CI: API documentation update at 2014-01-29 19:11:41 UTC.
[ci skip]
2014-01-29 19:11:41 +00:00
aster2013
e46a159ce0 Update documentation. 2014-01-29 23:23:27 +08:00
urho3d-travis-ci
b4c67e545e Travis CI: API documentation update at 2014-01-29 08:09:08 UTC.
[ci skip]
2014-01-29 08:09:08 +00:00
urho3d-travis-ci
aab95e149b Travis CI: API documentation update at 2014-01-28 12:32:22 UTC.
[ci skip]
2014-01-28 12:32:22 +00:00
urho3d-travis-ci
ae6a4d7676 Travis CI: API documentation update at 2014-01-28 01:06:48 UTC.
[ci skip]
2014-01-28 01:06:48 +00:00
Lasse Öörni
d2117ba01f For now do not attempt to use 3D textures on OpenGL ES. 2014-01-28 02:51:13 +02:00
aster2013
073854bfb3 Update Audio Lua API. 2014-01-27 23:05:52 +08:00
urho3d-travis-ci
80b5b7f52b Travis CI: API documentation update at 2014-01-27 14:24:36 UTC.
[ci skip]
2014-01-27 14:24:36 +00:00
aster2013
38c8f19fb4 Convert all Vector<T> and PODVector<T> to Lua table. 2014-01-27 22:07:57 +08:00
urho3d-travis-ci
d2f98dddcc Travis CI: API documentation update at 2014-01-27 06:40:45 UTC.
[ci skip]
2014-01-27 06:40:45 +00:00
urho3d-travis-ci
e2aa098a6b Travis CI: API documentation update at 2014-01-26 14:45:26 UTC.
[ci skip]
2014-01-26 14:45:26 +00:00
urho3d-travis-ci
188aa59e35 Travis CI: API documentation update at 2014-01-26 12:40:59 UTC.
[ci skip]
2014-01-26 12:40:59 +00:00
Lasse Öörni
936f19d2a2 Added external projects/links documentation page. 2014-01-26 14:27:42 +02:00
Yao Wei Tjong 姚伟忠
b740d94a56 Minor documentation update on build options to better use of space. 2014-01-25 16:07:30 +08:00
urho3d-travis-ci
1fb823ef0f Travis CI: API documentation update at 2014-01-24 07:33:29 UTC.
[ci skip]
2014-01-24 07:33:30 +00:00
urho3d-travis-ci
1e5ee94132 Travis CI: API documentation update at 2014-01-23 10:32:31 UTC.
[ci skip]
2014-01-23 10:32:31 +00:00
Lasse Öörni
4b739dc15c Added contributor. 2014-01-23 11:37:12 +02:00
Lasse Öörni
0c393f915a Added note of clip plane being unsupported on OpenGL ES 2.0. 2014-01-22 00:52:38 +02:00
Yao Wei Tjong 姚伟忠
48eb0497df Rename var name from <package>_INCLUDE_DIR to <package>_INCLUDE_DIRS.
See http://urho3d.prophpbb.com/topic9.html.
2014-01-21 15:57:07 +08:00
Lasse Öörni
40d759fbae New skybox from Vladimir. Set fog to white in scenes using the skybox. Water scene lighting slightly brightened to match the skybox. 2014-01-20 12:01:38 +02:00
urho3d-travis-ci
983b32dac6 Travis CI: API documentation update at 2014-01-20 08:35:31 UTC.
[ci skip]
2014-01-20 08:35:31 +00:00
Lasse Öörni
18e2349ae1 Added script bindings for the new SDL controller constants. Updated Input documentation. 2014-01-20 10:19:50 +02:00
urho3d-travis-ci
f2de586353 Travis CI: API documentation update at 2014-01-19 22:34:55 UTC.
[ci skip]
2014-01-19 22:34:55 +00:00
Lasse Öörni
7f80c53be5 Fixed line breaks in credits. 2014-01-19 15:51:10 +02:00
Lasse Öörni
1ace697dc9 Added water example with reflection/refraction. Improved the water shader to include proper fresnel calculation and a noise map. Closes #120. 2014-01-19 15:47:56 +02:00
urho3d-travis-ci
ac9c16b943 Travis CI: API documentation update at 2014-01-18 19:04:40 UTC.
[ci skip]
2014-01-18 19:04:40 +00:00
Lasse Öörni
eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 2014-01-18 20:41:46 +02:00
Lasse Öörni
4f9287b7c8 Added AssetImporter options. Skip copy of zero-sized textures. In FileSystem::CopyFile(), do not overwrite destination file if opening the source file fails. Closes #129. 2014-01-18 16:15:38 +02:00
urho3d-travis-ci
5eaf9a0d9d Travis CI: API documentation update at 2014-01-18 13:02:12 UTC.
[ci skip]
2014-01-18 13:02:12 +00:00
urho3d-travis-ci
fafde877a9 Travis CI: API documentation update at 2014-01-17 18:15:15 UTC.
[ci skip]
2014-01-17 18:15:15 +00:00
urho3d-travis-ci
de2165fc15 Travis CI: API documentation update at 2014-01-16 14:11:42 UTC.
[ci skip]
2014-01-16 14:11:42 +00:00
urho3d-travis-ci
5fe310f9b6 Travis CI: API documentation update at 2014-01-15 20:49:20 UTC.
[ci skip]
2014-01-15 20:49:20 +00:00
Lasse Öörni
7fbefe6f43 Added AssetImporter option to restore earlier behavior, to flatten scene hierarchy in scene mode. 2014-01-15 01:08:51 +02:00
Lasse Öörni
604c8714aa Changed AssetImporter to save the relevant scene node hierarchy in scene mode, instead of just nodes containing meshes.
Added node (prefab) save mode to AssetImporter.
Improved "Scene model" documentation page to mention scene load/save and prefab instantiation.
2014-01-14 23:51:35 +02:00
Lasse Öörni
f9a6235f47 Added "refract" pass to default renderpaths. This has the rendered scene so far (opaque + sky) available in the environment texture unit.
Renamed the "prealpha" pass to "postopaque" (will break custom techniques and renderpaths referring to prealpha.)
If a scene pass has nothing to render, skip it completely during View processing, including rendertarget allocations. This makes the refract pass free when there is no refractive geometry.
2014-01-14 01:09:15 +02:00
urho3d-travis-ci
0af251dfc9 Travis CI: API documentation update at 2014-01-12 12:44:17 UTC.
[ci skip]
2014-01-12 12:44:17 +00:00
Lasse Öörni
56c91aa1a0 Added Assimp logging option to AssetImporter. 2014-01-08 15:47:59 +02:00
urho3d-travis-ci
5670681373 Travis CI: API documentation update at 2014-01-05 23:24:56 UTC.
[ci skip]
2014-01-05 23:24:56 +00:00
urho3d-travis-ci
f4dd154c06 Travis CI: API documentation update at 2014-01-05 18:04:26 UTC.
[ci skip]
2014-01-05 18:04:26 +00:00
Lasse Öörni
745fdb1416 Exposed ResourceCache::GetFile() to Lua. The file must be manually deleted once no longer needed. 2014-01-05 19:34:41 +02:00
urho3d-travis-ci
788b9faf21 Travis CI: API documentation update at 2014-01-05 05:32:55 UTC.
[ci skip]
2014-01-05 05:32:55 +00:00
Lasse Öörni
acc4ccc18e Documented the screen keyboard. 2014-01-05 01:20:30 +02:00
urho3d-travis-ci
9600c55465 Travis CI: API documentation update at 2014-01-03 19:53:08 UTC.
[ci skip]
2014-01-03 19:53:08 +00:00
Lasse Öörni
7f061206dc Add the byKey parameter to script bindings of SetFocusElement(). 2014-01-03 21:32:53 +02:00
Lasse Öörni
28254f9a1d Improved the "Overall structure" documentation page. 2014-01-03 11:59:49 +02:00
urho3d-travis-ci
674880cce3 Travis CI: API documentation update at 2014-01-03 08:53:13 UTC.
[ci skip]
2014-01-03 08:53:14 +00:00
Lasse Öörni
668772bb50 Added PhysicsWorld::RemoveCachedGeometry() function to manually invalidate cached collision geometry of a changed model. Added watching for CollisionShape model live reload. Removed internal but public functions from the Lua physics API. 2014-01-03 10:15:54 +02:00
Lasse Öörni
6878e19c67 Refactored check for dynamic buffers into a function. 2014-01-03 09:23:29 +02:00
Lasse Öörni
f095a6d597 Update documentation on script event handling. 2014-01-03 01:36:11 +02:00
urho3d-travis-ci
776e775012 Travis CI: API documentation update at 2014-01-02 14:33:45 UTC.
[ci skip]
2014-01-02 14:33:45 +00:00
urho3d-travis-ci
34f4c16446 Travis CI: API documentation update at 2014-01-01 18:51:07 UTC.
[ci skip]
2014-01-01 18:51:07 +00:00
urho3d-travis-ci
0c6c107935 Travis CI: API documentation update at 2014-01-01 10:34:53 UTC.
[ci skip]
2014-01-01 10:34:53 +00:00
Lasse Öörni
358d9c2849 Added default tooltip delay to UI, which will be used if the tooltip's own delay is zero. Use seconds for tooltip delay to match eg. the doubleclick interval. Removed layout from the editor's tooltip root element to prevent it resizing in unwanted fashion. 2013-12-30 14:28:46 +02:00
Lasse Öörni
5b8f5e290b Normalize name of tooltip class to ToolTip to match the filename.
Parent tooltip to root element to ensure display on top.
Improvements to UI::Update() to allow element reparenting and remove during update.
2013-12-29 16:44:33 +02:00
Lasse Öörni
b6d5fa48b5 Update documentation. 2013-12-28 02:44:31 +02:00
Lasse Öörni
721f70fe1a Fixed D3D9 build. Added borderless as a command line option and documented it. 2013-12-28 00:49:06 +02:00
Lasse Öörni
c61a5e6f01 Added new ItemClicked event for ListView items which is also sent for right-clicks. ItemDoubleClicked is also sent also for right-clicks now. Added more event parameters to ItemClicked & ItemDoubleClicked events. Closes #88. 2013-12-27 14:34:38 +02:00
Yao Wei Tjong 姚伟忠
e52bc6e45d Fix Editor argument parsing to load startup scene correctly. 2013-12-26 15:10:37 +08:00
Lasse Öörni
8b8790e481 Added option to import non-skinning bones in AssetImporter. Closes #82.
Added case-sensitivity option to String::Contains().
2013-12-23 23:07:09 +02:00
Lasse Öörni
d1bb9ec52b Document GLSL sampler to texture unit mapping. 2013-12-23 15:04:07 +02:00
Lasse Öörni
94391e462a Added instructions on how to prefix uniforms in shaders. 2013-12-23 14:58:53 +02:00
Lasse Öörni
86932c9f0e Exposed missing scene binary load/save & node instantiation to Lua. To use instantiation, call eg. scene:InstantiateXML(fileSystem:GetProgramDir().."Data/Objects/Ninja.xml", Vector3(0, 0, 0), Quaternion()); 2013-12-22 20:39:50 +02:00
Alex Parlett
3166f1874d Changed adding Resource and Package files to be able to specify the location in the Vector for search priority when calling GetFile or GetResource
Added the ability to specify whether to search Package Files or Resource Dirs first when calling GetFile or GetResource
Added the functionality to angelscript and lua. Lua does not contain the ability to add resource dirs and packages, so that was not modified.
2013-12-21 19:09:07 +00:00
Lasse Öörni
746e2331df Update credits. 2013-12-19 09:17:50 +02:00
Yao Wei Tjong 姚伟忠
4f73aa26b9 Fix how tolua++ renaming is being documented in Lua generated API. 2013-12-19 11:42:33 +08:00
Lasse Öörni
c7e72b02da Restore previous camera yaw + pitch control, but add a toggle in settings dialog to control whether the pitch is clamped between -90 and 90 degrees. 2013-12-18 21:59:17 +02:00
Lasse Öörni
4b8cc596f9 Merge remote-tracking branch 'remotes/petex/master' 2013-12-18 20:14:57 +02:00
Lasse Öörni
b496594203 Update credits. Normalize whitespace. 2013-12-18 11:56:16 +02:00
Pete Chown
62a455da7c Document the view keys (Numpad 1, 3, 7) and the ascend/descend keys (E, Q). 2013-12-17 23:51:04 +00:00
Lasse Öörni
cb45be26ef Added AngelScript & Lua property accessors for the XMLElement's value.
Added setters for Lua XMLElement.
Updated scripting documentation.
2013-12-17 00:02:49 +02:00
Lasse Öörni
679007d1b5 Normalize whitespace, update documentation. 2013-12-16 23:22:28 +02:00
Yao Wei Tjong 姚伟忠
e97eedb771 Close Windows gap. No pun intended.
- Fix document build on Windows platform as Windows "shell" failed to perform the file name expansion (globbing) as expected.
- Refactor batch files to they can be invoked from any directory (similar to their shell script counterparts).
- Sort header files for generating event list so the output remains the same accross different scandir implementation.
2013-12-12 19:03:50 +08:00
Lasse Öörni
dc6294af16 Added generated event list documentation page. Closes #66. 2013-12-08 01:39:36 +02:00
Lasse Öörni
0d7d4826e5 Add pixel & time threshold for sending a drag begin UI event. Closes #65. Removed code duplication between mouse & touch hover. 2013-12-07 22:20:28 +02:00
Lasse Öörni
7e542be196 Added Save function to ParticleEmitter, which dumps the parameters as XML. Added menu items to editor to load/save ParticleEmitter parameters. Closes #51. 2013-12-06 18:47:35 +02:00
Yao Wei Tjong 姚伟忠
04404b768d Update documentation page to link back to shorten Urho3D website URL. 2013-12-06 00:03:01 +08:00
Yao Wei Tjong 姚伟忠
89a05a8017 Update documentation to reference back to new main site. 2013-12-04 23:53:35 +08:00
Lasse Öörni
a37ea5bb6e Added inner and outer angle parameters to SoundSource3D, which makes it possible to do cone-like directional sounds. Fixed sound attenuation if near and far distance are the same. Closes #49. 2013-12-04 00:25:20 +02:00
Lasse Öörni
aa0f72cf65 Added world position & normal to RayQueryResult. 2013-12-02 23:20:00 +02:00
Lasse Öörni
a022430876 Added Random() & RandomInt() script functions with min & max range parameters. Similar to the RandomInt(range) overload, in RandomInt(min, max) the max value is exclusive. Note that the corresponding C++ functions are simply called Random for both int and float versions. Closes #48. 2013-12-02 21:44:39 +02:00
StevenZhang
a17baf2695 make AngelScript an optional module, you can use -DENABLE_ANGELSCRIPT=0 to disable it. 2013-12-02 19:02:39 +02:00
Lasse Öörni
026e838d5b Retired the unused DocConverter utility. 2013-11-30 16:53:25 +02:00
Yao Wei Tjong 姚伟忠
dbad819c3b Only use natively built tool for dumping API to doxygen files.
(Pardon the dust)
2013-11-27 21:06:41 +08:00
Yao Wei Tjong 姚伟忠
ac6d9f40b0 Fix documentation build on platforms that do not have tool targets.
- Prevent 'make clean' or its equivalent to remove the generated ScriptAPI.dox and LuaScriptAPI.dox in the 'Docs' subdirectory.
- Always refresh the generated API Doxygen files before building 'doc' target when the tools are available.
- Move document-build binary directory into the respective project main binary directory.
2013-11-27 18:14:45 +08:00
Yao Wei Tjong 姚伟忠
484f855127 Build Lua and LuaJIT standalone interpreter and bytecode compiler.
Use the internal standalone lua/luajit interpreter for dumping LuaScript API doxygen file.
2013-11-27 00:28:59 +08:00
Yao Wei Tjong 姚伟忠
9eb7d92301 Fix minor typo error. 2013-11-26 13:10:09 +08:00
Yao Wei Tjong 姚伟忠
6e18827fd7 Clean up the documetation. 2013-11-25 22:02:41 +08:00
Yao Wei Tjong 姚伟忠
469794689f Refactor to keep the Docs directory clean from temp. build files.
- Move the temp. build files for documentation building to its own build directory.
- Add new build option to include documentation build as part of the normal build (not enabled by default).
- Document the documentation building process.
2013-11-25 15:10:07 +08:00
Yao Wei Tjong 姚伟忠
19e1e42ca3 Add new 'doc' target for generating Urho3D documentation.
make clean
make all
make doc      <-- New target
make install
2013-11-24 21:12:05 +08:00
Yao Wei Tjong 姚伟忠
cff6d6a4d8 Document the importance of URHO3D_STATIC_DEFINE when static linking. 2013-11-24 10:17:02 +08:00
Yao Wei Tjong 姚伟忠
772a546d56 Refactor to expect log level parameter value after a space.
To be consistent with the rest of the Engine parameters.
2013-11-22 22:20:55 +08:00
Lasse Öörni
f02650d10e Add int versions of Max, Min & Clamp to the AngelScript API. 2013-11-21 00:14:50 +02:00
Lasse Öörni
0fe2469957 Improved resource unloading. Make it possible to unload all resource types by partial name at once. Editor unloads unnecessary resources after scene load or clear. Add weak ref check to all resource unloading to avoid shader programs being left without their parent shader. 2013-11-20 22:41:21 +02:00
Yao Wei Tjong 姚伟忠
f6186456a0 Fix SDK destination installation path for Windows platform.
It appears CMake has automatically prepended "Urho3D" to built-in CMAKE_INSTALL_PREFIX variable, so we don't need to prefix the path one more time. Also in the commits:
- Fix documentation on CMake module search path for Windows platform.
- Unified SDK destination installation for Windows and non-Windows platforms.
- Replace global include directories to SDL and export header to locally scoped include directories.
- Enhance Urho3D.pc generation to also provide additional compiler flags for DEBUG/RELEASE/RELWITHDEBINFO as comments/references.
2013-11-20 15:59:38 +08:00
Yao Wei Tjong 姚伟忠
e83d98f016 Fix Urho3D.pc file for Windows and Raspberry Pi platforms.
Document cross-compiling example using pkg-config for Raspberry Pi platform.
Disable Urho3D.pc file generation for Android and iOS platform.
2013-11-17 21:26:44 +08:00
Lasse Öörni
35b59e897f Allow setting AnimationState bone weights recursively. Added GetAnimationState() to public API of AnimationController. 2013-11-16 15:25:07 +02:00
Yao Wei Tjong 姚伟忠
36620dd819 Avoid hardcoding of include dirs in the Urho3D.pc.in input file.
Also revert decision to use smaller letter case cmake destination directory in previous commit :).
2013-11-16 16:21:13 +08:00
Yao Wei Tjong 姚伟忠
56798dcce9 Fix incorrect include dirs in the Urho3D.pc file.
Also:
- Change the CMake module installation destination to use small letter case.
- Update documentation on pkg-config invocation examples.
2013-11-16 14:49:34 +08:00
Yao Wei Tjong 姚伟忠
d7942132f1 Configure and install Urho3D.pc file for pkg-config tool.
This is useful for Urho3D library user via SDK installation without having CMake installed.
2013-11-15 18:33:51 +08:00
Lasse Öörni
51c892eff5 Refresh the generated scripting API docs. 2013-11-14 17:32:35 +02:00
Lasse Öörni
ee0e3aa663 Removed the mechanism of binary-serializing resource name hashes instead of resource names. This is to allow correct resource loading from binary scene files on platforms that cannot iterate the resources in the application installation (eg. Android). This also affects networking, downside is increased network payload size when resource attributes are transferred. All binary scenes saved with old Urho versions are also invalidated. 2013-11-14 14:24:03 +02:00
Yao Wei Tjong 姚伟忠
f246126fe4 Update documentation on Using Urho3D library. 2013-11-14 15:10:55 +08:00
Yao Wei Tjong 姚伟忠
596aa3eac6 Fix AngelScriptAPI.h header generation.
- Define int64 and uint64 and redefine the existing type to closer match AngelScript documentation.
- Replace occurances of ?& (any reference) to void*.
2013-11-14 14:25:24 +08:00
Lasse Öörni
3168019a5f Updated to AngelScript 2.28.0. Added dictionary addon from AngelScript SDK. Closes #46. 2013-11-14 00:16:56 +02:00
Lasse Öörni
bb56ee95d2 Added support for DelayedExecute() from free script functions. This allows calling free functions in the same script module as delayed. 2013-11-13 02:11:29 +02:00
Lasse Öörni
2c0c10cdcb Renamed "Example applications" Doxygen page to "Examples". 2013-11-12 01:42:58 +02:00
Lasse Öörni
ee8e8031d2 Rework command line options that need a parameter value to have a space in between. Fixes #44. 2013-11-12 01:33:15 +02:00
Yao Wei Tjong 姚伟忠
c3b95cf81e Eliminate overhead to maintain the pkg file list manually.
Also reorder output sections to be consistent with AngelScript API documentation.
2013-11-11 01:21:56 +08:00
Lasse Öörni
82007cc4f4 Removed the nonintuitive "invisible LOD factor" attribute from AnimatedModel and replaced it with updateInvisible flag similar to ParticleEmitter. This flag must be used for ragdolls or other physically animated objects to ensure that they come into view properly during animation if they previously were outside view. Fixes #40. 2013-11-09 21:26:08 +02:00
Yao Wei Tjong 姚伟忠
5bda958857 Enhance UpdateDocument.bat/sh script to also update LuaScriptAPI.dox.
Not fully tested UpdateDocument.bat on Windows platform yet.
2013-11-09 07:43:23 +08:00
Yao Wei Tjong 姚伟忠
a27560c719 Enhance ScriptCompiler to also dump API as C Header file.
The C Header file is intended to be 'force included' in the IDE to get content assist / code completion when editing AngelScript file in the C/C++ editor. The output section of DumpAPI() method is reordered slightly to keep the parser happy. This work is inspired by the work done by Vladimir Andri (see https://groups.google.com/forum/#!topic/urho3d/8WOOGAdwlEU).
2013-11-08 12:41:21 +08:00
Yao Wei Tjong 姚伟忠
1b97acc6f3 Minor documentation update for Raspberry Pi cross-compiling build. 2013-11-06 22:53:45 +08:00
Yao Wei Tjong 姚伟忠
8a571ae437 Document how to install library and how to find it from installed SDK. 2013-11-05 15:52:37 +08:00
Lasse Öörni
cfa6b135ce Moved Urho3DPlayer class definition to a .h file. Updated documentation to refer to Urho3DPlayer. 2013-11-04 19:07:00 +02:00
Yao Wei Tjong 姚伟忠
52ff881c54 Add 'install' option (currently only available for native build).
Also enhance FindUrho3D.cmake module to find Urho3D library in the Urho3D SDK installation location.
2013-11-02 16:45:44 +08:00
Lasse Öörni
8ca86afbe7 Merge branch 'sdl-update' 2013-11-02 01:04:02 +02:00
Yao Wei Tjong 姚伟忠
8ff3348503 Refactor define_dependency_libs macro.
Change to remove the references to engine's sub-library targets which are now defunct. General cleanup of the build scripts.
2013-11-01 17:58:47 +08:00
Lasse Öörni
c057b29dba Unify how command line options are shown in utilities.
Added note in documentation about lack of space between command line option and its parameter.
Prepend Materials/ to the material list written by OgreImporter (assume "standard" materials subdirectory.)
2013-10-30 18:49:27 +02:00
Lasse Öörni
b957f60143 Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
Unified the switch to output material list to -l in both AssetImporter & OgreImporter.
Removed the "use local IDs" toggle from editor as that can be specified with the import options.
2013-10-29 23:04:51 +02:00
Yao Wei Tjong 姚伟忠
f442c0c16a Updated documentation on additional Linux software package for RPI. 2013-10-29 21:28:38 +08:00
Lasse Öörni
8077ee4a53 Added option to OgreImporter to save material list file next to the model. 2013-10-28 21:35:53 +02:00
Lasse Öörni
3ce378d5e2 Merge branch 'master' into sdl-update 2013-10-28 13:13:08 +02:00
Yao Wei Tjong 姚伟忠
e423a26461 Refactor CMake build scripts.
Changes:
- Avoid globbing engine source files twice.
- Setup folder group for VS and Xcode. Also group object files according to 3rd-party library name.
- New define_source_files() macro.
2013-10-28 18:21:18 +08:00
Lasse Öörni
afa6c4ccc3 Initial SDL 2.0.1 merge. Windows tested OK. Android will crash when returning to the application. 2013-10-27 03:11:36 +03:00
Lasse Öörni
42ae752d2d Allow BillboardSet / ParticleEmitter to choose whether billboards should face the camera or follow the node orientation. Closes #22. 2013-10-26 23:42:08 +03:00
Yao Wei Tjong 姚伟忠
589e0d53bb Change CMake library type preferences to agree with Urho3D.
This change helps external CMake project to choose the correct library type as the compiler flags setup by the Urho3D-CMake-Magic module. Both the external project and the cmake module are being governed by the same URHO3D_LIB_TYPE build option.
2013-10-25 01:01:53 +08:00
Lasse Öörni
02df5b2d02 Write package file size to the end of package files. If package signature is not found from the file beginning, seek to file end and read the size, then seek backward to check if the package file is concatenated eg. in the executable. Alternatively the start offset can be specified manually when opening a package file. Closes #27. 2013-10-24 00:06:19 +03:00
Yao Wei Tjong 姚伟忠
e34e26d068 Merge branch 'library-build'. 2013-10-23 15:15:03 +08:00
Lasse Öörni
f39702a07e Terminology edits in the documentation. Do not refer to Graphics, Scene etc. as separate libraries anymore. 2013-10-22 00:58:58 +03:00
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
fe14af594f Added documentation section on Lua garbage collection. 2013-10-20 12:12:18 +03:00
Lasse Öörni
db3bf3fbf9 Added timestep smoothing to Engine. By default the previous 2 frames' timesteps are averaged. 2013-10-19 22:51:47 +03:00
Lasse Öörni
347b840b7c Read HttpRequest in a background thread to prevent blocking. Always check all triangle mesh geometries for the closest hit in the RAY_TRIANGLE raycast mode. 2013-10-16 18:03:39 +03:00
Lasse Öörni
840d50ce0d Allow to force FreeType autohinting (old 2.3 version behavior.) Reload font faces when global font settings changed. 2013-10-15 15:31:39 +03:00
Lasse Öörni
bc6dd70fae Update FreeType version in documentation, and FreeType's own documentation. Enabled FreeType subpixel hinting. Restored old BlueHighway.ttf. Removed FreeType .mk and jamfiles. 2013-10-14 23:15:52 +03:00
Lasse Öörni
267523a738 Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem. 2013-10-13 21:42:36 +03:00
Lasse Öörni
c6a6f71aa3 Finalize LZ4 support. Do not repeatedly allocate compressed data buffer. Do not store global blocksize into the package file header. Increased Android read buffer to 32KB. 2013-10-12 15:03:17 +03:00
Lasse Öörni
1463b67a70 Added documentation on the package file format. 2013-10-12 15:03:17 +03:00
Lasse Öörni
30ce75fd68 LZ4 compressed package file support. Closes #6. 2013-10-12 15:03:17 +03:00
Yao Wei Tjong
8d94a287d5 Make batches consistent with shell script behavior.
Batch reads from CMake cache, if necessary, when the option is not passed explicitly.
2013-10-12 12:23:57 +08:00
Yao Wei Tjong 姚伟忠
b5836237e9 Remove dependency on Lua when LuaJIT is enabled.
Change build option name from ENABLE_LUA_JIT to ENABLE_LUAJIT.
Change tolua++ lua scripts to be compatible with both LuaJIT and Lua. Replace toluabind.c with the corresponding bytecode.
2013-10-11 02:02:08 +08:00
Yao Wei Tjong
2b90804c6e Fixed LuaJIT build on Linux, both native and cross-compiling.
The following platforms should be now supported:
Windows, Linux, Mac OS X, IOS, Android, and Raspberry Pi. Not all platforms are fully tested yet.

Cross-compilation may work on GCC/CLang only.
2013-10-08 12:22:56 +08:00
weitjong
d98c8b4d64 Updated documentation on build option being cached. 2013-10-06 14:01:10 +08:00
Lasse Öörni
36eb726d36 Add the concept of base class type to Object to simplify determining if a ScriptInstance's handle variable is a Node, Component or Resource. Serialize script's resource handles as ResourceRef attributes and allow editing them. 2013-10-05 23:24:39 +03:00
Lasse Öörni
25c7aa53c3 Added GetDesktopResolution() to Graphics. 2013-10-05 02:39:58 +03:00
Lasse Öörni
2fbe931cee Added SetWindowPosition() / GetWindowPosition() to Graphics. 2013-10-05 02:22:02 +03:00
Lasse Öörni
39c8295eb3 Added editable flag to UI elements. When disabled, will not edit the value (eg. LineEdit text) through user input. Fixes #4.
Moved UIElement default virtual function implementations to the header.
Removed clip border from the default style LineEdit, as some letters (eg. lowercase y) will clip with the font size used in the editor & console.
2013-10-04 01:58:46 +03:00
weitjong
242f317ddd Configure Doxyfile according to the value of USE_OPENGL variable. 2013-10-03 17:41:17 +08:00
weitjong
11ffd62f0c Provide new batch and shell script to clean CMake cache for convenience and document it. Adjust line width of Readme.txt to prevent text overwrap in GitHub view. 2013-10-02 17:04:56 +08:00
Lasse Öörni
165b7c8eae Default to ENABLE_SAFE_LUA=0 for improved performance. 2013-10-01 18:40:47 +00:00
Lasse Öörni
36e165596a Create a dedicated depth stencil texture in View3D so that temporary depth stencils are not constantly generated when resizing a View3D.
Decrease screen buffer idle time before destruction to 1 second.
2013-09-30 11:22:11 +00:00
Lasse Öörni
0618b5fc94 Added LuaJIT license and documented the LuaJIT CMake option. 2013-09-29 22:29:24 +00:00
Lasse Öörni
56b453c25e Update to AngelScript 2.28.0 WIP to fix a ternary operator crash bug. 2013-09-29 15:47:55 +00:00
Lasse Öörni
bd9f229045 Documented the optimization underlying node transform dirty notifications; you must use eg. GetWorldPosition() to undirty the node to get further notifications. 2013-09-28 18:12:29 +00:00
Lasse Öörni
c7f098de3e Updated documentation on changed Lua function call mechanism. 2013-09-27 21:36:19 +00:00
Lasse Öörni
c3870201b9 Added TransformChanged() script method to ScriptInstance & LuaScriptInstance. Called when node transform changes (hooks to OnMarkedDirty() on C++ side)
Ensure that LuaScriptInstance listens only to its own scene's & physics world's update events.
Changed LuaScriptInstance to use IsEnabledEffective() to make sure it gets disabled if the node is disabled.
2013-09-27 20:56:35 +00:00
Lasse Öörni
d90a9168cf Applied joystick index patch from Gunnar Kriik. 2013-09-25 21:51:32 +00:00
Lasse Öörni
d22dab085d Restored Variant constructors & equality operators. 2013-09-25 14:30:24 +00:00
Wei Tjong Yao
363a4055ea Differentiate between batch option with CMake build option to prevent CMake warning on unused define. Reorder the position of optional CMake options according CMake usage documentation. Highlight the out-of-source build in change history. 2013-09-25 09:50:02 +00:00
Wei Tjong Yao
be8525ab6e Updated documentation to confirm the existing AngelScript viewing/editing fix also work with Xcode 5 on Mountain Lion. 2013-09-25 05:10:50 +00:00
Lasse Öörni
6228209b6f Allow dragging scene nodes to a StaticModelGroup component in the editor to make them instance nodes.
Allow dragging a scene node to a Constraint component to make it the constraint's remote end.
2013-09-24 22:52:25 +00:00
Lasse Öörni
775cea68bb Regenerate Lua API to match AngelScript API page formatting. 2013-09-24 20:38:42 +00:00
Lasse Öörni
b8a3157e91 Show enumerations in the generated AngelScript API. 2013-09-24 20:12:08 +00:00
Lasse Öörni
dbd7687c56 Added configurable Z bias to Text3D effect.
Default Text effect color changed to opaque black.
2013-09-23 18:49:50 +00:00
Aster Jian
247947f2b1 Update document. 2013-09-23 15:11:34 +00:00
Lasse Öörni
64e826c3e3 Update changelog.
Position the editor windows lower so that they don't overlap the stats-text in default windowed resolution.
2013-09-23 00:22:30 +00:00
Lasse Öörni
93fe884ceb Update script API. 2013-09-22 23:55:32 +00:00
Lasse Öörni
eb6ba62ab9 Added the LuaScript library to Doxygen documentation.
Added LuaScript doxygen page.
2013-09-22 23:41:27 +00: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
3c60b5f2d0 Applied patch from Ali Kämäräinen. VS2013 support, ifexists checks when deleting old VS build files, and improved Tundra import. 2013-09-22 17:04:15 +00:00
Lasse Öörni
cf50bb9f39 Optionally remember last resource path in editor.
Remember last import path in editor.
Set node / scene / UI element picker paths from remembered resource path if possible.
2013-09-22 12:18:14 +00:00
Lasse Öörni
da45ff6b6b Added SceneReplication Lua sample. 2013-09-21 22:08:05 +00:00
Lasse Öörni
7a55a43725 Tidied up the sample descriptions.
Exposed UIElement::SetVar() and GetVar() to Lua script.
Modified the Lua Sprites sample to use custom vars inside UIElement.
2013-09-20 07:30:07 +00:00
Lasse Öörni
1cd73e46fd Exposed StaticModelGroup to script. Ported HugeObjectCount example group mode switching to script versions. 2013-09-19 22:44:06 +00:00
Lasse Öörni
b3777b652c Fixed StaticModel::SetModel() getting called instead of AnimatedModel::SetModel() in Lua script. 2013-09-18 23:42:48 +00:00
Aster Jian
b75e301f8b Update Lua script API documention. 2013-09-18 17:26:36 +00:00
Lasse Öörni
0201c1d961 Undefine TOLUA_RELEASE by default for better Lua crash protection. Re-enable with the CMake build option -DENABLE_SAFE_LUA=0.
Fixed some Variant constructors failing in Lua (removed void pointer constructor.)
Removed deprecated RenderMode enum.
Added Camera's ViewOverrideFlags to Lua.
Added MultipleViewports Lua sample.
2013-09-17 19:49:18 +00:00
Aster Jian
80acf3e718 Add CreateScriptObject GetScriptObject Lua API in Node class. 2013-09-17 10:42:14 +00:00
Lasse Öörni
c20257cdf7 Merged the shaderData_ and worldTransform_ members of Batch & SourceBatch. The idea is that a batch can define multiple world transforms. For static geometry this means instance transforms. For skinned geometry they are bone transforms instead.
Inlined some functions in View & Drawable.
2013-09-17 07:14:13 +00:00
Aster Jian
78a77a7e36 Add type parameter to VariantMap::GetPtr funcition, so we can get correct type in Lua.
Remove SetCamera and GetCamera etc function in VariantMap, pls use SetPtr and GetPtr.
2013-09-17 05:55:04 +00:00
Lasse Öörni
39fc6dfd64 Fix the scene loading/saving to work from Lua. Before, casts to Deserializer/Serializer would crash due to File's multiple-inheritance. Note that the file still needs to be closed manually. 2013-09-16 20:03:52 +00:00
Wei Tjong Yao
0c02a88add Supplement documentation regarding UI default style file. 2013-09-16 16:40:19 +00:00
Aster Jian
5b1879c0ff Add unsubscribe from event functions in LuaScript and LuaScriptInstance. 2013-09-16 15:58:29 +00:00
Lasse Öörni
22d579eea7 Documented the need to either specify a UI style file when loading a layout, or having it set to the root element beforehand. 2013-09-16 14:46:26 +00:00
Wei Tjong Yao
27a68828ce Corrected typo in documentation for renderpath's quad command. 2013-09-15 21:10:31 +00:00
Lasse Öörni
dda39f2b7d Initial work for serializing Node / Component handles from a script object automatically. 2013-09-15 19:08:05 +00:00
Lasse Öörni
0f5456d35e Avoid unnecessary rendertarget blitting in OpenGL light prepass mode.
Fixed too dark ambient lighting and environment cube mapping in OpenGL deferred mode.
Added new shader function GetQuadTexCoordNoFlip() which can be used to sample regular texture resources in postprocessing quad passes and documented it.
Removed Camera::SetFlipVertical() from the Lua script API as it should only be called internally to handle OpenGL / Direct3D9 differences.
2013-09-14 22:20:39 +00:00
Lasse Öörni
f0a965c912 Added quick menu feature to editor contributed by Chris Friesen. Open with Ctrl+Space. 2013-09-14 10:54:06 +00:00
Aster Jian
9098cd92c4 Update LuaScriptAPI document. 2013-09-13 16:33:04 +00:00
Aster Jian
0f52702801 Fixed Node::LookAtXYZ function default value. 2013-09-12 13:42:47 +00:00
Aster Jian
d830da9801 Add new CreateObject function in LuaScriptInstance, so can create script object from specific Lua file. 2013-09-12 06:05:03 +00:00
Aster Jian
d41b4853c0 Fixed some errors in LuaScriptAPI.dox, Add LuaScriptAPI.dox to Urho3D.dox. 2013-09-12 05:21:57 +00:00
Lasse Öörni
a9f13ebdfe Added LuaScriptInstance subscribe to specific sender's event. 2013-09-11 23:51:03 +00:00
Aster Jian
0eaadbb3eb Add Lua Script API document. 2013-09-11 12:54:39 +00:00
Lasse Öörni
54e0691610 Fixed errors/omissions from the Example Applications doxygen page. 2013-09-10 22:18:30 +00:00
Lasse Öörni
0d478d91ff Updated documentation regarding Engine::Exit(). 2013-09-10 21:37:55 +00:00
Lasse Öörni
c089229104 Added documentation on HTTP requests. 2013-09-10 21:33:43 +00:00
Lasse Öörni
6350f246e6 Register HttpRequest to script.
Register Deserializer::Read() & Serializer::Write() to script. They operate on Array<uint8>.
Trim HttpRequest headers and do not add empty headers.
2013-09-10 21:11:39 +00:00
Lasse Öörni
e90e99536a Documentation update. 2013-09-09 22:00:14 +00:00
Lasse Öörni
4741b3cf08 Added Blender exporter from Reattiva. 2013-09-08 10:51:02 +00:00
Lasse Öörni
2a9be0b23e Cleaner fix for console crashes: only collect messages when posted, and print during PostUpdate.
Slightly darker error text color.
Updated script API & wiki.
2013-09-05 21:09:03 +00:00
Lasse Öörni
caf0994b8f Optimize vector/quaternion Normalize() to a no-op if already at unit length. Changed return value to void.
Optimize cache friendliness of Drawable bounding box update by including the local-space bounding box in the base class. Not used in all subclasses.
Optimize Drawable zone handling by making the zone pointers raw pointers instead of weak. Now finding a drawable's zone can be performed in the threaded view preparation phase.
Removed unnecessary collection of whole visible scene bounding box; it is not used anywhere.
2013-09-04 22:08:47 +00:00
Lasse Öörni
05ba4bf719 Favor the non-parented case for SetWorld...() and for updating the world transform.
Explain in documentation that the Scene transform is ignored.
2013-09-04 08:26:47 +00:00
Lasse Öörni
2f9b955f3c Script API update. 2013-09-03 20:46:58 +00:00
Lasse Öörni
a0e4538f58 Actually removed the old QuickStart documentation text.
Moved the Xcode AngelScript instructions to the Urho3D script host page.
2013-09-03 09:00:03 +00:00
Lasse Öörni
c9865078ad List tools in alphabetical order in the documentation; fixed outdated information. 2013-09-02 21:11:28 +00:00
Lasse Öörni
76161aaecf Build documentation update. 2013-09-02 21:01:57 +00:00
Lasse Öörni
8da3fa5860 Documentation tweaks. 2013-09-02 20:40:06 +00:00
Lasse Öörni
4cc1858329 Removed the old large script example applications and batch files to start them.
Updated documentation for the new sample applications.
Changed the Lua sprite example to use the common sample initialization.
2013-09-02 18:50:15 +00:00
Lasse Öörni
68892cae15 Credits fix. 2013-08-31 17:13:38 +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
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
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
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
Lasse Öörni
e7558a3be9 Demonstrate rolling friction in the Ragdolls sample. 2013-08-24 20:21:16 +00:00
Lasse Öörni
42093ea88c Allow programmatic control of the mip reduction settings of Texture.
Fixed fonts loading incorrectly when texture quality is not at maximum.
2013-08-22 20:36:52 +00:00
Lasse Öörni
4a31966a14 Updated comments in the samples.
Updated script API.
2013-08-20 07:08:02 +00:00
Wei Tjong Yao
594457df82 Removed line to define ENABLE_64BIT for Visual Studio based on cmake generator as the define must already been set explicitly when invoking cmake_vsxxxx.bat in order to get Win64 generator. Fixed the expression to check whether ENABLE_TOOLS is defined. Minor update on build options documentation. 2013-08-18 06:16:16 +00:00
Wei Tjong Yao
dfd142c7d2 Added Raspberry Pi bootstrap back to fix raspi build. Moved the xmlstarlet logic to cmake_gcc.sh for code reuse. Added ANDROID_ABI into build options documentation. 2013-08-17 06:27:32 +00:00
Lasse Öörni
9047bfa1ab Use DLL runtime by default. Proper fix for building the Urho3D library with VS2008. 2013-08-15 23:00:10 +00:00
Lasse Öörni
5255039db0 Fixed Doxyfile source code path. 2013-08-14 18:23:23 +00:00
Lasse Öörni
6b4a5fd296 Added cmake_mingw.bat contributed by Mika Heinonen. 2013-08-14 15:30:20 +00:00
Wei Tjong Yao
2bf1be4cea Simplified the documentation for Eclipse. The generated Eclipse project file could be in Build or Source directory depends on whether xmlstarlet fix is being invoked or not. 2013-08-14 13:54:07 +00:00
Lasse Öörni
3ac94c3551 Fix version of SDL in the documentation. 2013-08-13 21:58:07 +00:00
Lasse Öörni
a899f7293e Capitalize name of CMake script directory. 2013-08-13 20:51:20 +00:00
Wei Tjong Yao
d5640aab4b Updated documentation - another attempt. 2013-08-13 09:25:12 +00:00
Wei Tjong Yao
a71d656b9d Updated documentation. 2013-08-13 09:18:53 +00:00
Wei Tjong Yao
217c851811 Create out-of-source build directory for Android on Windows platform when mklink option is enabled. 2013-08-10 17:58:33 +00:00
Wei Tjong Yao
1385700c7f Fixed broken wiki link. 2013-08-09 17:21:30 +00:00
Wei Tjong Yao
2eb5a49353 Updated documentation. 2013-08-09 17:00:43 +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
Wei Tjong Yao
9d9b2278fa Updated documentation on using Urho3D as external library. 2013-08-09 04:33:51 +00:00
Lasse Öörni
99560bba71 Use SSE2 instead of SSE on MinGW, but print a warning message.
CMake options can be used to disable SSE & minidumps, instead having to modify CMake script.
2013-08-07 07:41:00 +00:00
Lasse Öörni
e8c16bf658 Read command line from a file on Android and iOS. 2013-08-06 19:12:44 +00:00
Lasse Öörni
92aa3341d5 Simplified the instructions for enabling OpenGL mode.
Wiki update.
2013-08-06 15:26:05 +00:00
Lasse Öörni
560ffd03c2 Moved the Urho3D application code to Tools directory.
Updated documentation.
2013-08-06 15:09:47 +00:00
Wei Tjong Yao
e952719302 In preparation for supporting shared library for Windows platform, selectively marked Engine class as public API. Setup the visibility compiler flags for GCC and Clang to hide non-marked API from shared library. 2013-08-05 15:40:35 +00:00
Lasse Öörni
96e80a2366 Per-bone weight control of animation state tracks. Not serialized yet. Eliminated map lookups from applying animations. 2013-08-04 11:32:44 +00:00
Lasse Öörni
8a94f363ee Material technique editing. 2013-07-30 22:57:11 +00:00
Lasse Öörni
6284d0db72 Expose material's TechniqueEntries to script.
Accuracy fixes to some classes' AngelScript app class type.
2013-07-30 15:12:57 +00:00
Lasse Öörni
0eb06b2438 Updated to AngelScript 2.27.
Renamed Thread::Start() to Thread::Run() to match Application class.
2013-07-30 13:24:18 +00:00
Lasse Öörni
ab50955ec4 Added alternative API to serialize Material into an XML element instead of a file.
Material edit undo/redo actions.
2013-07-29 10:38:37 +00:00
Lasse Öörni
c5dd749509 Texture picking in the material editor. 2013-07-28 20:52:15 +00:00
Lasse Öörni
0b657a893d Continue work on material editor.
Added shaderParameterNames property to Material's AngelScript API.
Added error prints to possible resource loading error situations.
2013-07-28 18:57:00 +00:00
Wei Tjong Yao
0cd4d9cbe3 Quick fixed DocConverter tool to handle wiki table. 2013-07-28 05:53:59 +00:00
Wei Tjong Yao
1a5670b65c Updated documentation on Raspberry Pi port. 2013-07-28 01:03:38 +00:00
Lasse Öörni
57899bce0c Added skeleton of a material editor window. 2013-07-26 15:46:55 +00:00
Lasse Öörni
ae5871d912 Documented Application class.
Added deprecation note to the C++ Quickstart documentation page.
Fixed ScriptCompiler.
2013-07-26 14:04:27 +00:00
Lasse Öörni
adf668b386 Refactored the system cursor shape definition inside Cursor class; use SetUseSystemShapes() to enable.
Define OS cursors on demand when setting the shape; removed OS cursor visible parameter from Cursor::DefineShape().
2013-07-24 10:52:46 +00:00
Lasse Öörni
53d2404aee Applied OS cursor shape patch from Paul Noome. 2013-07-23 23:29:00 +00:00
Lasse Öörni
ad8b44d478 Added GetModel() & GetNode() to AnimationState.
Avoid double update in animation test, if an AnimationController is also playing the same animation.
2013-07-20 17:40:55 +00:00
Lasse Öörni
e908a9076a Support defining different action buttons for different resource types in the editor.
Added functionality to test animations in the editor.
Expose RefCounted class properly to script so that WeakHandle can point to all RefCounted types instead of just Object.
2013-07-20 13:53:42 +00:00
Lasse Öörni
9ff5b3d222 Renamed "Label Offset" attribute in Button to "Pressed Child Offset" to more accurately reflect what it does. 2013-07-20 09:30:31 +00:00
Lasse Öörni
3cd4625ad1 Store shader parameters as Variants to preserve the coordinate count & distinguish between eg. floats and Vector4's.
Fixed Lua API (bindings of RenderSurface object) in OpenGL mode.
2013-07-19 19:58:58 +00:00
Lasse Öörni
f167112a6a Update documentation. 2013-07-14 21:09:31 +00:00
Lasse Öörni
6d852735b2 Removed the hacks to detect emulated mouse in NinjaSnowWar.
Modify SDL to remove Android & iOS emulated mouse events, and to detect Windows emulated mouse events and disregard them.
Fixed touch handling in UI.
Added Button::IsPressed() function.
2013-07-14 14:33:51 +00:00
Lasse Öörni
dac3f4e0a8 Fixed Android library stripping on some Windows configurations.
Perform Android build as out-of-source on Windows to match the Unix behavior and allow the same commands to be used.
Finalized the Android build documentation.
Removed the old Android native code build path using ndk-build.
Fixed post processing intermediate rendertargets not matching the rendertarget format.
2013-07-13 18:47:36 +00:00
Lasse Öörni
c37695b16a For consistency, emulate touch as mouse on all platforms (on Windows it is unavoidable.)
Fix erroneous controls in NinjaSnowWar when touch control is used on Windows.
2013-07-13 16:44:43 +00:00
Lasse Öörni
5ad269e68c Reverted the addition of IsTouchEnabled() as on some platforms it is set dynamically on receiving the first touch. 2013-07-13 13:31:36 +00:00
Lasse Öörni
4c46fe72df Always delete CMakeLists directory also in the Windows CMake batch files to prevent using wrong toolchain.
Added IsTouchEnabled() function to Input.
2013-07-13 12:53:24 +00:00
Wei Tjong Yao
92d4e9831b Configured GCC to use out-of-source build. Set RelWithDebInfo as default build type for single-configuration generator (can be overridden via '-DCMAKE_BUILD_TYPE=xxxx' command line argument). Enhanced cmake_gcc.sh and cmake_eclipse.sh to generate Android project when ANDROD_NDK environment variable is set. Hence, deprecated cmake_android.sh. Updated document to reflect out-of-source gcc build and added a new paragraph on using Eclipse ADT plugin for Android building/deployment. 2013-07-11 01:52:23 +00:00
Wei Tjong Yao
0a712e2e6a Reversed the parameter handling logic in cmake_xxxx.bat and to make it consistent with their shell script counterpart. Updated the documentation accordingly. Reverted back main CMakeLists.txt. 2013-07-10 15:20:44 +00:00
Wei Tjong Yao
82a24ee63a Fixed Lua library for Android build. 2013-07-09 15:06:32 +00:00
Lasse Öörni
a5223e76f2 Removed deprecated mention of OBJECTTYPESTATIC macro in the getting started documentation. 2013-07-09 11:07:09 +00:00
Wei Tjong Yao
6ad6966ea9 Updated documentation for CMake-based android build. 2013-07-09 06:03:40 +00:00
Lasse Öörni
09463e6963 Documentation edit. 2013-07-08 21:34:48 +00:00
Lasse Öörni
0915fbddf3 Added SetAutoExit & GetAutoExit to Engine Lua bindings.
Update generated documentation.
2013-07-08 18:05:19 +00:00
Wei Tjong Yao
56e60a59d8 Fixed Win64 build. Enhanced cmake_vs20xx.bat to accept extra command line arguments, such as ENABLE_64BIT, ENABLE_LUA, or ENABLE_EXTRAS. 2013-07-08 00:13:55 +00:00
Lasse Öörni
fa0ba1f2d8 Updated Android toolchain to newer.
Reverted some of the hacks for CMake Android build.
Documented the work-in-progress CMake Android build path.
2013-07-07 22:04:18 +00:00
Lasse Öörni
ad7b7451b4 As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
Fixed single SDL memory leak on exit.
2013-07-06 12:30:40 +00:00
Lasse Öörni
e5d4a3939b Emit public drag start/move/end events. Adapted from patch contributed by Chris Friesen. 2013-07-04 21:34:58 +00:00
Lasse Öörni
ea67568632 Added Lua bindings contributed by Aster Jian.
Fixed missing includes in some header files.
2013-06-29 16:42:38 +00:00
Lasse Öörni
1114a3fc28 Option to disable the InternalEdgeUtility.
Mention indent spacing in coding conventions.
2013-06-26 08:54:56 +00:00
Wei Tjong Yao
2f88f7fc81 Fixed UI subsystem to dismiss the FileSelector correctly when its modal window is being closed via ESC key. 2013-06-26 07:49:38 +00:00
Lasse Öörni
1fdf228359 Move the AngelScript API registration to the Script library and inverted the Script <-> Engine library dependency.
Move object factory registration into the subsystems where possible.
2013-06-26 00:09:02 +00:00
Lasse Öörni
65a4a3b51f Applied Bullet 2.81 update patch from amadeus_osa.
Added split impulse & number of constraint solver iteration attributes to PhysicsWorld. Split impulse gives more accurate collision detection but is disabled by default for better performance.
2013-06-23 12:38:11 +00:00
Lasse Öörni
da953b8aa7 Write morph tangents as Vector3's in OgreImporter.
Fixed example particle system description files using wrong attribute name for sorting.
Clarified vertex weight threshold for bone hitbox calculation.
2013-06-16 18:24:31 +00:00
Lasse Öörni
090eb3aafa Find DirectX SDK to avoid needing it as a global Visual Studio directory. 2013-06-13 15:35:49 +00:00
Lasse Öörni
27b31af0cf Added RigidBody::ReAddBodyToWorld().
Added heightfield smoothing attribute.
Allow CollisionShape::SetTriangleMesh() & SetConvexHull() without specifying LOD level (0 is default)
Refactored Vehicle example and increased vehicle speed.
2013-06-12 21:09:36 +00:00
Lasse Öörni
633378312b Added missing CollisionShape::SetStaticPlane() function. 2013-06-12 07:19:41 +00:00
Lasse Öörni
84dde8917b Added GetVelocityAtPoint() to RigidBody. 2013-06-11 22:47:52 +00:00
Lasse Öörni
3989849c55 Tweaked ragdoll parameters in TestScene & TestSceneOld.
Expose constraint's ERP & CFM parameters directly, instead of trying to derive them from a "softness" value.
2013-06-09 19:06:03 +00:00
Lasse Öörni
bd3a4c30f4 Added vehicle physics example.
Added softness parameter to Constraint.
Fixed exposing Quaternion::Slerp() to script.
Removed package download code also from Physics & Terrain examples.
2013-06-08 12:40:29 +00:00
Lasse Öörni
648564c8fb Added setup_main_executable() CMake macro which sets up resource copying for an executable. 2013-06-05 18:31:17 +00:00
Lasse Öörni
6899609644 Applied consistency edits to the ParticleEmitter API. Added missing UpdateInvisible attribute & functions.
Demonstrate use of viewmasks in TestSceneOld to exclude the billboards from raycasting.
2013-06-03 18:00:15 +00:00
Lasse Öörni
dd956fb560 Documentation update. 2013-06-01 14:32:45 +00:00
Lasse Öörni
5be5222cb8 Added ParticleEmitter attributes.
Added public API to ParticleEmitter.
Fixed crashes from setting negative element count in editor (number of animation states, billboards etc.)
Limit maximum billboard count due to index data being 16 bit.
2013-06-01 14:26:03 +00:00
Lasse Öörni
3c244f9755 Allow live-reload of particle emitter parameters file.
Allow also specifying emission rate instead of emission interval.
Allow emitting multiple particles per frame if necessary.
Restored the "effect" component category in the editor. ParticleEmitter & DecalSet belong to it now.
2013-05-30 23:20:40 +00:00
Lasse Öörni
4e618bb80e Subclass SDLActivity so that the package name in SDL JNI code does not need to be changed.
Do not check for duplicate vertices when building triangle collision meshes to avoid a O(n^2) algorithm.
2013-05-25 23:14:14 +00:00
Lasse Öörni
730c6eda2f Updated to AngelScript 2.27.0 WIP. 2013-05-25 22:11:21 +00:00
Lasse Öörni
b8270df90b Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events.
Added error logging if a node is moved from one scene to another (unsupported.)
2013-05-24 10:19:46 +00:00
Wei Tjong Yao
86a04ae472 Fixed CMake Win64 build configuration problem by working around the bug temporarily. Stream lined the Windows batch files for sample applications. Enhanced cmake_vs20xx to accept optional parameter to enable 64bit build. Updated documentation. 2013-05-22 11:06:19 +00:00
Lasse Öörni
31ef2dea57 Reorganized building documentation. 2013-05-19 17:14:29 +00:00
Lasse Öörni
483e07c2e8 Print warning if node is not found for node animation.
Update documentation on playing back node animations.
2013-05-12 16:34:42 +00:00
Lasse Öörni
4c2842967e Allow configuring the minimum instances per batch group to actually render as instanced. 2013-05-12 12:18:52 +00:00
Lasse Öörni
cd88d22e36 Renamed BillboardSet::Updated() to Commit() to match CustomGeometry API. 2013-05-11 09:30:29 +00:00
Lasse Öörni
5e5d98581c Concatenate world rotation separately to fix GetWorldRotation() returning erroneous values when parent node has nonuniform scale.
Reorganized component categories.
2013-05-09 20:34:29 +00:00
Lasse Öörni
1d2fec862c Applied CustomGeometry convex hull collision patch from Pete Leigh, with added serialization support. 2013-05-09 11:30:24 +00:00
Lasse Öörni
4a3ec28769 Added point inside StaticModel check from Firegorilla.
Simplified Node::LookAt() to always take a world space position.
Constness cleanup.
2013-05-08 22:31:29 +00:00
Lasse Öörni
f14cb1aafc Possibly fixed BlenderLoader heap corruption.
Removed incompatible Assimp processing flag.
2013-05-02 21:25:57 +00:00
Lasse Öörni
be9cef51a4 AssetImporter Optimize Graph process not done by default, but needs to be manually activated with the -o switch. 2013-05-02 17:18:59 +00:00
Lasse Öörni
8b28c12ae6 Added instancing to the OpenGL renderer, requires the ARB_instanced_arrays extension. 2013-05-01 15:14:31 +00:00
Wei Tjong Yao
b11cd0c11f Enhanced cmake shell scripts to accept extra options from command line. Added documentation on how to enable 64bit for GCC build. 2013-05-01 04:22:39 +00:00
Lasse Öörni
85ebeeed2e Improved LightTest example to allow toggling renderpath at runtime, and to show instructions on screen. 2013-04-30 11:12:21 +00:00
Wei Tjong Yao
703d4fb10d Fixed text rendering in Chat example app due to DefaultStyle.xml changes (Bug exists in the last release tag v1.23). Minor documentation fixed on NinjaSnowWar app. Cleaned up DefaultStyle.xml even more to remove repeating attribute declaration by taking advantage of the style inheritance feature. Changed the semantic of UIElement's style property in Script. 2013-04-30 10:53:35 +00:00
Lasse Öörni
c0dbf7f545 Generalized the factory category for all objects.
Removed hardcoded UI element type list in Editor.
2013-04-29 21:40:58 +00:00
Lasse Öörni
2afdf2675a Fixed Windows build.
Some tweaks to component categories.
Documentation update.
2013-04-29 13:01:29 +00:00
Wei Tjong Yao
8d1c28bc3e Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration. 2013-04-29 10:22:25 +00:00
Lasse Öörni
6079e8cf84 Copied asm-bits from newest LibCpuId.
Updated documentation.
2013-04-29 00:20:29 +00:00
Lasse Öörni
4625dc78a2 Applied contact processing threshold patch from primitivewaste.
Cleanup scenepass metadata processing code.
2013-04-28 12:25:36 +00:00
Lasse Öörni
7ba580852d Allow custom forward base, lighting and alpha pass names by defining metadata in the render path, and allowing the forwardlights command to specify the pass name to use. 2013-04-28 11:45:10 +00:00
Wei Tjong Yao
dcf9099d1f Modified the SetStyle() and SetStyleAuto() methods of UIElement class to return a bool indicating whether the operation is successful. In Editor app, when fails to set to a requested icon type then automatically set to an 'unknown' icon type. 2013-04-28 06:26:03 +00:00
Lasse Öörni
3279cc74fc Updated changelog. 2013-04-27 23:12:31 +00:00
Lasse Öörni
4027f650cd Fixed exposing of UIElement::GetDefaultStyle() to script.
Documentation update.
2013-04-27 11:08:36 +00:00
Lasse Öörni
de3997dcfd Send events for view update begin/end and view render begin/end. 2013-04-26 22:56:04 +00:00
Wei Tjong Yao
1b2497dc10 Added new LoadChildXML() method to UIElement and exposed it to Script. Changed Editor app to call LoadChildXML() instead of LoadXML() to prevent child XML-chunk from accidentally modifying the parent element's tyle. Note: child XML-chunk does not require nested element tag anymore. 2013-04-26 04:11:05 +00:00
Lasse Öörni
9d507640f7 Exposed Ray<>Frustum HitDistance() to script, and added solidInside parameter to it which determines whether the inside of the frustum is interpreted as solid (return zero distance for rays originating within.) 2013-04-24 22:02:02 +00:00
Lasse Öörni
8f5623d9bb Renamed RenderPath::LoadParameters() to Load() and ParticleEmitter::LoadParameters() to SetParameters() as LoadParameters() is used in other classes to denote loading of optional parameters, not the main asset itself.
Fixed incorrect exposing of BillboardSet::GetMaterial() & ParticleEmitter::GetMaterial() to script.
2013-04-24 21:38:09 +00:00
Lasse Öörni
f4a3014d75 Corrected ShaderCompiler documentation.
ShaderCompiler output dir is no longer mandatory, if not specified, will use input dir.
2013-04-24 17:05:06 +00:00
Wei Tjong Yao
521ee691c3 Enhanced DropDownList to support showing of placeholder text when there is no selection. The text could be used to show a 'Please choose ...' kind of prompt. Rearranged child XML-chunk resources responsible for Attribute Inspector to remove duplicate definition. Added new child XML-chunk to display and manipulate applied style of the UI-element in the Editor (not yet fully functional). Adjusted DefaultStyle.xml to distinguish between auto and non-auto types. Added new method in Serializable to remove instance default and in UIElement to return applied style name, in preparation for future work. 2013-04-24 13:34:03 +00:00
Lasse Öörni
90233154ab Added padding attribute to NavigationMesh, which expands the bounding box to allow adding geometry in partial rebuilds. 2013-04-24 07:30:16 +00:00
Lasse Öörni
0df99637a0 Updated documentation. 2013-04-23 19:04:47 +00:00
Lasse Öörni
38498ab24c Completed the OffMeshConnection implementation.
Added Ctrl+LMB in the Navigation test to create offmesh connections.
2013-04-23 18:43:37 +00:00
Wei Tjong Yao
f5aa8898da Fixed UIElement's SetParent() method which was exposed to the Script API with wrong signature previously. Added drag-and-drop support for UI-element in Editor app. 2013-04-23 16:20:21 +00:00
Wei Tjong Yao
da08a0b451 Added New reset-to-default icon in the Attribute Editor. Fixed the reset-to-default functionality to call ApplyAttributes() method after modifying the attribute values. 2013-04-23 09:38:05 +00:00
Lasse Öörni
0ef6e3f135 Added profiling blocks to shader loading.
Renamed Engine::DumpProfilingData() to Engine::DumpProfiler() to be shorter to type on the console.
2013-04-22 22:11:44 +00:00
Wei Tjong Yao
184360dc82 Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work. 2013-04-22 13:12:52 +00:00
Lasse Öörni
abae3414ac Applied camera constness patch from Erik Beran. 2013-04-22 11:49:56 +00:00
Lasse Öörni
3dac8c7a59 Added setInstanceDefault parameter also to binary serialization.
Comments cleanup.
2013-04-21 16:53:06 +00:00
Wei Tjong Yao
9bfb0019e3 Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly. 2013-04-21 14:14:30 +00:00
Lasse Öörni
6ce654989b Note that 64-bit Linux requires 32-bit development libraries to be installed. 2013-04-21 10:59:22 +00:00
Lasse Öörni
1f8b84c4dc Text3D minor code cleanup.
Mention Text3D in the rendering documentation.
2013-04-15 21:48:54 +00:00
Lasse Öörni
56fbf5a1e9 Added attributes to Text3D.
Limit font face size to 96 pixels for now to prevent crash when rendering font to texture.
Added font resource picking support to editor.
2013-04-15 21:42:37 +00:00
Lasse Öörni
5bd757850f Added functionality to Text3D. Attributes yet missing.
Added missing MarkNetworkUpdate() calls to NavigationMesh.
Removed unused parameter from Text::UpdateText().
2013-04-15 00:23:00 +00:00
Lasse Öörni
9132ea611c Removed shadow bias adjustment according to shadow map resolution, as it causes the amount of "peter panning" to change.
Instead, added bias adjustment factor according to far clip of directional light cascade splits.
Slightly adjusted ninja offset to physics shape to align better with the ground.
Ensure same memory layout of CascadeParameter on desktop and mobile, though mobile uses only 2 of the cascades.
2013-04-14 14:50:25 +00:00
Wei Tjong Yao
832ef7ddfd Fixed XPath query result integration with existing XMLElement class (XMLElement constructed from XPath query result should be abled to traverse up/down document tree as if it is a 'normal' XMLElement). Added feature to auto-add variable into XPath variables set based on pre-formatted variable string. Modified 3rd-party PugiXML library to have a proper xpath_node copy-constructor. Fixed UI.h to build under GCC. 2013-04-14 14:03:43 +00:00
Lasse Öörni
bc4b428295 Allow UI to operate without a defined cursor element, if the operating system cursor is visible. 2013-04-14 11:13:15 +00:00
Lasse Öörni
379d786da4 Fixed NinjaSnowWar assets to use 1m world unit.
Added GetDistanceToWall() function to NavigationMesh.
NavigationMesh code cleanup.
2013-04-13 13:20:43 +00:00
Wei Tjong Yao
342db6f72b Fixed indentation calculation for vertically layout UI-element parent. Fixed LineEdit indentation handling on internal objects. Added and exposed functions to determine whether UI-element size is fixed. 2013-04-13 09:59:32 +00:00
Wei Tjong Yao
21a2a008fa Fixed UI-element debug draw being clipped by clip-border. 2013-04-13 03:50:46 +00:00
Wei Tjong Yao
5d698d9ad1 Turned on XPath feature in pugixml thirdparty library. Added new XPath query and resultset wrapper classes and exposed them to Script. Reimplemented UI-element serialization filtering function using XPath query. 2013-04-12 12:20:07 +00:00
Lasse Öörni
362e6a6f95 Added functionality to NavigationMesh. 2013-04-11 07:15:49 +00:00
Wei Tjong Yao
17714cb198 Further fine tuning on the UI subsystem. 2013-04-10 08:38:51 +00:00
Lasse Öörni
c1e1c20ea2 Added documentation page on navigation. 2013-04-09 21:26:10 +00:00
Lasse Öörni
606d374936 Added GetWorldBoundingBox() to CollisionShape.
Prefer physics geometry (trimesh, convex hull, box supported) when generating navigation mesh.
2013-04-09 19:02:26 +00:00
Wei Tjong Yao
05fd7419a7 Fixed UI-element debug draw overdrawing the modal element and menu popup. Refactored UI subsystem to support multiple modal elements and auto-dismissal of modal elements when ESC is pressed. The 'Is Modal' attribute of Window UI-element type can be tested in Editor. 2013-04-09 10:32:16 +00:00
Lasse Öörni
3fac48401a Added support for partial navmesh rebuild.
Added navmesh properties (bounding box, number of tiles) to the script API.
Serialize navmesh tiles directly from Detour data, do not keep a duplicate.
2013-04-08 23:14:47 +00:00
Wei Tjong Yao
712de11c99 Debug draw UI-elements in Editor. 2013-04-08 03:51:54 +00:00
Lasse Öörni
be3b304836 Added batch files to start the navigation example.
Added recursive flag to Navigable to optionally disable recursive collection of geometries.
Check that Navigable is enabled before collecting navigation geometry.
2013-04-07 22:49:06 +00:00
Lasse Öörni
c11f65dfea Added FindPath() function to NavigationMesh.
Added navigation test script.
2013-04-07 19:12:29 +00:00
Lasse Öörni
03dce6b988 Serialize navigation data along with the scene.
Added icons for Navigable & NavigationMesh.
2013-04-07 11:56:14 +00:00
Wei Tjong Yao
1c38290e77 Added functionality to select UI-elements by using cursor (Only enabled elements at this moment). Changed implementation of creating new component so that it also works for multi-edit nodes. 2013-04-07 06:12:57 +00:00
Lasse Öörni
0e713bd509 Generate Recast/Detour data. 2013-04-06 23:28:37 +00:00
Wei Tjong Yao
1230087620 Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue. 2013-04-06 08:56:41 +00:00
Lasse Öörni
b45fac020f Applied AssetImporter & MathAPI patch from primitivewaste. 2013-04-05 06:44:47 +00:00
Wei Tjong Yao
d5ddc3b3d6 Implemented 'Create new UI Element' functionality in the editor with undo/redo support. Some cosmetic changes in editor. Enhanced UI Script API to be able to define element event sender. Enhanced Menu to auto popup child menu when parent menu item is being hovered. 2013-04-04 18:00:52 +00:00
Lasse Öörni
08075f0915 Reversed if's in Variant code to favor the correct type.
Added non-const Variant functions to get modifiable collection objects (buffer, variant vector, variant map.)
Added Recast & Detour libraries. Added skeleton of a Navigation library & component, no functionality yet.
2013-04-04 07:49:18 +00:00
Lasse Öörni
8adee0c3fd Support lights in AssetImporter scene mode (untested.)
Support lightmapped materials in AssetImporter (untested.)
2013-04-03 19:19:52 +00:00
Lasse Öörni
5375254f0b Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo. 2013-04-02 16:55:08 +00:00
Wei Tjong Yao
a76a3b1ab7 Reordered UIElement's attributes, common attributes got registered first. Enhanced Attribute Inspector to show UIElement's attributes for single selection case. Multiple selection is still WIP. 2013-04-02 14:19:35 +00:00
Wei Tjong Yao
276bbb1590 Updated documentation. 2013-04-02 03:49:55 +00:00
Wei Tjong Yao
2bf7facaa7 Laying the groundwork in the Attribute Inspector for showing the UIElement's attributes (still need more work). Enhanced UI subsystem to support modal element, currently only support modal Window. Exposed a new Variant readonly property to test for 'empty' variant. New UIElement's method to get a child by matching the child's user-defined variant map and exposed it to script, also exposed the existing GetVar() method to script. 2013-04-01 16:04:41 +00:00
Lasse Öörni
0705a15c11 Further small fixes to the main loop documentation. 2013-04-01 15:22:55 +00:00
Lasse Öörni
9532e7fdd1 Renamed documentation page. 2013-04-01 15:14:59 +00:00
Lasse Öörni
a963ce7d37 Documented missing LogName parameter. 2013-04-01 14:54:03 +00:00
Lasse Öörni
b28621a3a4 Documented engine initialization parameters. 2013-04-01 14:33:38 +00:00
Lasse Öörni
42448b8924 Updated to AngelScript 2.26.2.
Small fixes to "Quickstart in C++" documentation.
2013-03-31 22:09:28 +00:00
Lasse Öörni
ce562fb894 Refactored Engine to use a startup parameters VariantMap.
Enhanced VariantMap to accept indexing via strings.
2013-03-31 13:14:21 +00:00
Lasse Öörni
6a7ffdcd19 Updated to newest AssImp from git repository.
Fixed File::GetChecksum() logging numerous errors if file open in write mode. This prevented AssetImporter scene mode from working properly.
Fixed DocConverter asserting in debug mode. Added safe IsAlpha() & IsDigit() functions to StringUtils and exposed them to script.
2013-03-30 22:35:11 +00:00
Wei Tjong Yao
75df330fe3 Started work on UI element editor, pardon the dust. Added 'traversalMode' property to UIElement and exposed it to ScriptAPI to control the children UI batches generation. Enhanced Scene to safe keep the filename used in last serialization, fixed to perform a Clear() before Load()/LoadXML(). Exposed String's Clear() method to Script API. Fixed ListView to insert multiple top-level items in hierarchy mode correctly. 2013-03-30 13:59:47 +00:00
Lasse Öörni
1d60bc59fa Added check to ListView to see if has been destroyed as a response to the selection event.
Added CharacterDemo C++ example to Extras.
Improved the QuickStart in C++ to be cross-platform.
2013-03-29 23:40:51 +00:00
Wei Tjong Yao
06f3580948 Enhanced the Attribute Inspector to show the 'Is Enabled' check box on the node/component 'title bar' instead of in the attribute list; and small refactoring to reduce the number of parameters being passed in a number of functions. Refactored to modify AttributeInfo's name to become a String. Exposed 'internal' property of UIElement to Script API. Enhanced Text class so that it renders the selected text being hovered by mouse a little differently than those without. 2013-03-28 11:00:18 +00:00
Lasse Öörni
f226c4bc4a Added equality operators for Matrix classes. 2013-03-27 21:27:51 +00:00
Wei Tjong Yao
827035e36e Fixed the UIElement to perform the parent's UpdateLayout() when an element's indent or indentSpacing is changed. Fixed the UIElement from altering the child element's alignment during UpdateLayout(). Enhanced Editor to show menu accelerator keys in the menu popup. Replaced the accel key for attribute inspector window to 'Ctrl+I' to match its current window name. Added accel key for new scene menu item. 2013-03-27 09:02:10 +00:00
Lasse Öörni
d35f3b5035 Removed duplicate error message from ScriptCompiler when script compilation fails.
Removed the "None" constraint & collision shape type for editing convenience. Note: Either the SetBox() etc. functions or ApplyAttributes() needs to be called to create the initial shape. This is to prevent a dummy shape first being created on scene load, then immediately being destroyed.
Do not debug draw disabled components.
Fixed music cutting off in networked NinjaSnowWar.
Fixed signed/unsigned mismatch in LightTest script code.
2013-03-26 22:23:39 +00:00
Lasse Öörni
f5b837f460 Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
Added Ctrl+E in editor to toggle enabled/disabled state of selected node hierarchies and components.
2013-03-26 21:23:15 +00:00
Lasse Öörni
5830f0e5d1 Convention change: prefer Enabled instead of Active where possible.
Do not transmit hover to input-disabled UI elements.
Documented the node/component enable/disable mechanism.
2013-03-26 00:37:02 +00:00
Lasse Öörni
af8825047a Started work on node/component enable & disable.
Converted Drawable components to use the Enabled flag (replaces Visible attribute.) 
Converted ScriptInstance to use the Enabled flag.
Converted SoundSource & SoundSource3D to use the Enabled flag.
Show disabled node/component icons in red.
2013-03-25 21:02:35 +00:00
Lasse Öörni
b865108ecd Applied patch for poor CPU performance on MinGW builds. 2013-03-25 12:35:54 +00:00
Lasse Öörni
a3c66ca360 Detect sRGB capability also on Direct3D9.
Detect sRGB sampling & writing capability separately.
2013-03-24 23:56:19 +00:00
Lasse Öörni
6fe17dd966 Documentation and wiki update. 2013-03-24 23:07:58 +00:00
Lasse Öörni
b4599e046d Hardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing. 2013-03-24 20:05:08 +00:00
Wei Tjong Yao
25372fafd8 Added new ListView attribute to control the root base indent in hierarchy mode. Enhanced the Hierarchy window in Editor to show icon for each item. Need better and more assets for the icons though. 2013-03-24 19:00:19 +00:00
Lasse Öörni
1c7f970e30 Synchronize float and integer position of sprites.
Added sprite example application.
2013-03-23 19:52:10 +00:00
Lasse Öörni
5160610e25 Refactored freely rotating / scaling UIElements into a separate Sprite class; removed rotation from the base class as it would not work correctly with element hierarchies in most cases. 2013-03-23 17:50:11 +00:00
Wei Tjong Yao
d7f6b4d0b6 Enhanced UIElement to be able to set a default style file for later reference by children elements, added horizontal indentation feature, and added new E_LAYOUTUPDATED event. Enhanced ListView to better support hierarchy mode and added feature to show 'expansion triangle' in hierarchy mode. Fixed a bug in ScrollView to update view size correctly when resizing content element. Fixed a bug in Log's WriteRaw() method so it sends error message to stderr even in quite mode. Refactored Editor to take advantage of the enhancement. 2013-03-23 12:53:47 +00:00
Lasse Öörni
9ef8625e33 Fixed BorderImage attributes (tiled, blendmode) missing from script API.
Added possibility to rotate UI element contents around a pivot point. Note: UI::GetElementAt(), child elements and child element scissoring do not currently respect rotation.
2013-03-21 23:31:36 +00:00
Lasse Öörni
ff564d3360 Switched to GLEW library for OpenGL extensions. 2013-03-20 21:52:53 +00:00
Wei Tjong Yao
cddaa40080 Fixed ScriptInstance.cpp to compile under GCC and LLVM. Better Eclipse build environment setup. General code cleanup. During Editor startup, resets scene when loading requested scene from file specified by the parameter fails. 2013-03-19 09:20:54 +00:00
Lasse Öörni
852047545e Added section on bytecode precompilation to the scripting documentation page.
ScriptInstance sends an event when the script object is created, so that the attribute inspector can be refreshed in case attributes change.
2013-03-18 22:55:41 +00:00
Lasse Öörni
7c1ed151fa Merged the functionality of ScriptCompiler & ScriptAPIDumper. 2013-03-18 14:13:01 +00:00
Lasse Öörni
74c01e7da5 Added compiled AngelScript bytecode support.
Removed unnecessary nullcheck from View.
TODO: merge ScriptCompiler & ScriptAPIDumper.
2013-03-18 08:09:27 +00:00
Wei Tjong Yao
741badfade Fixed the ScriptFile to prevent it from amending the path for include file unnecessarily and added a new error log to help identifying script file that have problematic include. Refactored ListView to support persistent expand/collapse state at each parent item in hierarchy mode, the exposed API is slightly changed. Renamed 'Scene Hierarchy' window to just 'Hierarchy' in the Editor app in preparation for future work, also created new function to differentiate between scene creation and scene reset. 2013-03-18 00:18:48 +00:00
Lasse Öörni
55f249e548 Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
Separate script object functions for file and network serialization.
Fixed crashes in some factory instantiated classes when running without all subsystems.
Fixed crash if calling BringToFront() for a detached UI element.
Always create UI root element, even in headless mode.
Do not abort binary format scene loading if loading a component fails, as it is being read from a nested buffer and we can skip to the next.
2013-03-16 12:53:40 +00:00
Wei Tjong Yao
44d663ba41 Added new Print() variant in script API to print a Variant. Fixed StringUtils from erroneously converting numerical string to int/uint using base 8 or base 16 when the string is started with '0' or '0x'. Fixed the same/diff value evaluation for ResourceRefList, VariantVector, and VariantMap. 2013-03-16 08:17:26 +00:00
Wei Tjong Yao
990428ca4d Changed Append() methods implementation in String class so they can be chained together in a statement. Added new Join() methods and exposed it to Script API. Refactored Attribute Inspector to take advantage of the new exposed Join() method. 2013-03-15 16:36:23 +00:00
Wei Tjong Yao
9ed0c43919 Exposed math objects construction from an array of float/int and methods to get back the array buffer to the Script API. Enhanced the Attribute Inspector to multi-edit same value at coordinate level for attributes that have multiple coordinates, e.g. Vector3, Color, etc. Different value at coordinate level is non-editable as before. 2013-03-14 19:00:09 +00:00
Wei Tjong Yao
5544602c9e Enhance Font class to support saving of font (TTF or bitmap type) as another bitmap font resource in xml format. For bitmap font type, saving yet to another bitmap font is only meaningful when called with the optional parameter turned on to save only used glyphs. Refactored UIBatch class to enable better performance in Text class UI batch generation in relation to multi-pages/textures font. 2013-03-14 08:14:38 +00:00
Lasse Öörni
21dd4b6c70 Updated the Maxscript exporter.
Reduce DOT graph depth in the documentation.
2013-03-13 08:27:08 +00:00
Lasse Öörni
5e443328ac Added recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes. 2013-03-12 17:08:07 +00:00
Lasse Öörni
07c0f7228a Added flag to ScrollView / ListView whether to set scrollbar visibility automatically. Default true. Calling SetScrollBarsVisible() disables this. 2013-03-10 19:31:34 +00:00
Wei Tjong Yao
14c06b3dc5 Added ability to edit attributes of multiple selected nodes, only mutual attribute values are editable. Modify script API for VariantMap's Erase() method to return bool. Fixed one of the Print() function in IOAPI to use the 'error' parameter. 2013-03-10 17:54:20 +00:00
Lasse Öörni
c513645a1a Added modified Ogre Maxscript Exporter contributed by Vladimir Pobedinskij, which outputs materials in Urho3D .xml format. 2013-03-10 12:34:38 +00:00
Wei Tjong Yao
4d72b5a609 ScriptAPIDumper dumps to console when output file is not provided. Removed caveat from have to compile with ENABLE_LOGGING. Exposed variants to print to stderr to script. Added shell script for calling ConvertDocsToWiki executable. Fixed Editor application to handle exit on error gracefully. Updated documentation and wiki accordingly. 2013-03-10 06:16:12 +00:00
Lasse Öörni
6e90c6ea13 Fixed bug in win32 ScanDir implementation, which did not scan subdirs if filter was not *.*.
Added Extras directory for contributions which are not strictly Urho3D core.
Added OgreBatchConverter utility from Carlo Carollo, modified to use Urho3D classes to be crossplatform compatible.
2013-03-09 20:42:45 +00:00
Wei Tjong Yao
38d12c122c Added functionality to show multiple components in the atribute editor when a node or nodes are selected in the hierarchy window. Remove 'editable' parameter in the attribute creation functions as now whether an attribute is editable or not is dynamically set when loading the attribute value and not at the time of its editor creation. Exposed to all the UIElement-derived class a new function to load (partial) UI layout. 2013-03-09 18:25:35 +00:00
Wei Tjong Yao
4efdfc87dc Tidied up AttributeEditor.as, better way to handle attribute that has multiple components. Exposed a few more math constants to script. 2013-03-09 12:39:01 +00:00
Lasse Öörni
53d87516b5 Documentation update.
Code formatting consistency.
Handle underscore escaping in DocConverter.
2013-03-08 21:43:14 +00:00
Lasse Öörni
6b28127751 DocConverter improvements. 2013-03-08 16:49:13 +00:00
Lasse Öörni
424e1750f4 Added note of online Doxygen documentation. 2013-03-08 15:58:56 +00:00
Wei Tjong Yao
34a849e00e Speed up TTF loading time. Tidied up code for loading/getting bitmap font. 2013-03-08 15:08:14 +00:00
Lasse Öörni
5064b43c1a Fix multithreading page. 2013-03-08 14:50:41 +00:00
Lasse Öörni
783ad6e147 Documentation fixes. 2013-03-08 14:46:55 +00:00
Lasse Öörni
c55c9cf064 Exposed AnimationTriggerPoint to script.
Exposed Material::SetTechnique() to script.
Added camera functions from Magic.Lixin.
2013-03-06 19:50:42 +00:00
Lasse Öörni
9964055dda Applied physics patch from Magic.Lixin.
Added selection only -mode to editor. This changes the key mappings.
2013-03-06 15:53:41 +00:00
Lasse Öörni
091fe0b15f In scene mode, output material lists for all imported models.
Do not apply empty material if a material from a material list can not be found. Instead retain the old.
Fixed outdated documentation.
2013-03-06 13:26:23 +00:00
Lasse Öörni
cbc5ccbe58 Fixed wrong signature for ReplaceExtension() function in script.
Fixed initial scene resource path in editor.
Fixed loading of editor UI configuration.
Allow casting AnimatedModel & Skybox to StaticModel in script.
Warn and redirect if StaticModel::SetModel() called on AnimatedModel().
Always output material list in AssetImporter model mode.
Editor reads imported model's material list when choosing model via component edit (Configurable, can be disabled from settings dialog.)
Simplified editor config file structure.
2013-03-06 12:31:51 +00:00
Lasse Öörni
12bddee240 Whether to use derived opacity can be configured per UI element. By default true, except for Text.
Added note of d3dcompiler_46.dll when compiling with the Windows 8 SDK.
2013-03-05 21:07:59 +00:00
Lasse Öörni
b2645460ef Refactored view queuing in Renderer.
RenderSurface can define multiple viewports.
RenderSurface viewports can be set to update when visible in the scene (default, same as previous functionality), update always, or to update only when manually queued. The last two modes are useful when rendering a scene view eg. for use in a UI widget.
2013-03-05 16:30:53 +00:00
Lasse Öörni
da243eb31b Applied UI & editor related patch from weitjong.
Changelog:
- Urho3D engine returns proper exit code, supports window resizing and quite mode, supports setting of any log level regardless of built type.
- Change the default graphic resolution in windowed mode from 800x600 to 1024x768 which I believe should be more common now.
- Log subsystem distinguishes between standard output and standard error streams. Error log entries are sent to stderr, so even in quite mode which stops sending to stdout, the error entries would still be shown on console. This is handy to weed out mundane entries from error entries during debugging/development.
- For UI elements, only save attribute values that are different than default attribute values during save serialization.
- Misc. UI enhancement: slider supports paging on 'empty' area along the slider; scrollbar responds to the slider hover and click on 'paging' area; menu supports passing the popup state to its sibling when mouse hovering pass the sibling; (bug fix) prevent button to generate release event erroneously (click outside, drag, hover inside, then release), plus now it should behave correctly on other situation (e.g. click inside, drag outside, then drag inside again); file-selector, list view, and line edit accept keypad 'Enter' as well; cursor supports defining shape for OS mouse too when it is set to visible, new busy cursor shape; (bug fix) fix the text default attribute values for selection and hover color to match the color assigned by constructor; line edit supports double-click to select all; scrollview hides the horizontal and vertical scrollbars automatically if not needed (still does not hide correctly on a few cases though :-).
- Refactoring the scripts in Editor application to take advantage of the Urho3D UI potential and other small improvements, like: fade out the UI when moving or rotating the scene; relayout the UI element when main window resize in windowed mode; demo the usage of busy cursor when loading scene from file; modified node/component attribute values are shown with different text label color; store the configuration file in hidden folder under user home folder as per normal practice for applications runs on MacOSX and Linux platforms; use the OS mouse so the it can move freely between Editor in windowed mode and other graphical apps.
The UI attributes in *.xml files are adjusted accordingly. The most important change is, the cursor shape now uses Image resourceref instead of Texture2D.
- Refactoring to replace code constructing the empty instance with reference to static const 'empty' instance whenever it is available; refactoring to remove redefinition of VariantMap and VariantVector in Serializer.h.
- Bug fixes: prevent double posting of error messages in the log on MacOSX and Linux platforms when Urho3D exits on error; fix DumpAPI() from erroneously substituting 'doubleClickInterval' to 'floatClickInterval'.
- Added a new tool to make dumping of the Script API even easier. I have managed to initialize a minimalist engine's subsystems to start the DumpAPI() function.
2013-03-05 08:01:29 +00:00
Lasse Öörni
54991f9f04 Added documentation page on shaders. 2013-03-04 13:49:01 +00:00
Lasse Öörni
4e836e574f Migrated to AngelScript 2.26.1 WIP.
Octree code cleanup.
Added nullchecks to RigidBody in case Bullet callbacks are fired when the body's scene node has been destroyed.
2013-02-20 11:16:27 +00:00
Lasse Öörni
8d68690cf4 Applied documentation patch from weitjong. 2013-02-19 14:16:22 +00:00
Lasse Öörni
3002776ea4 Fixed incorrect octree insertion of drawables in some cases (eg. large terrain.)
Added ToString() to BoundingBox.
Removed unnecessary defined_ variable from Frustum.
2013-02-19 13:55:17 +00:00
Lasse Öörni
14fa3b3d6e Added SavePNG() function to Image. 2013-02-09 23:16:13 +00:00
Lasse Öörni
92eb073cb7 Applied cmake patch from weitjong.
Renamed finalize_exe and finalize_lib cmake macros to setup_executable & setup_library, as they already do much more than finalization.
2013-02-07 09:46:23 +00:00
Lasse Öörni
3dc3c836a6 Applied patch from weitjong, which improves OSX/iOS build, and removes dead code. 2013-02-03 21:31:24 +00:00
Lasse Öörni
d867b3da2e Fixed error in documentation. 2013-02-03 13:22:43 +00:00
Lasse Öörni
9d82a32c9e Added constraint & collision shape type "none" as default value to avoid unnecessary creation of shapes on scene load, before proper attribute values are deserialized. Do not create shape/constraint in OnNodeSet(), as the type is always "none" at that time.
Reactivate a rigid body when any constraint is removed from it.
2013-02-01 13:37:31 +00:00
Lasse Öörni
eeacbe62ca Fixed the C++ quickstart example in the docs. 2013-01-24 14:08:33 +00:00
Lasse Öörni
ed272d2aa7 Fixed sphere particle emitter always having zero radius. 2013-01-16 14:26:01 +00:00
Lasse Öörni
fcd9e37b61 Updated version history. 2013-01-13 22:44:51 +00:00
Lasse Öörni
f5e2be65c1 Added note about the ElapsedTime built-in shader parameter to documentation. 2013-01-13 20:06:21 +00:00
Lasse Öörni
b51fd39bcc Applied CustomGeometry script API patch from weitjong. 2013-01-13 12:16:41 +00:00
Lasse Öörni
570c48c5cf Allow to use RGB normal maps. Different material techniques are used for xGxR normal maps. 2013-01-09 11:00:43 +00:00
Lasse Öörni
0891aa62dc Applied DebugHud app stats patch from weitjong. 2013-01-08 07:59:55 +00:00
Lasse Öörni
1d745f9951 Moved script application reload inside Urho3D.cpp to avoid issues with unwanted application script startup. 2013-01-05 11:26:02 +00:00
Lasse Öörni
53adf6fc5b Expose UnsubscribeFromAllEventsExcept() to script. 2013-01-04 20:06:12 +00:00
Lasse Öörni
2c96dff225 Execute procedural Start() & Stop() functions automatically when a ScriptFile is loaded and unloaded. This allows live-reload of a whole script application.
Do not recreate Console & DebugHud if they already exist.
2013-01-04 19:24:43 +00:00
Lasse Öörni
9d759300fe Added possibility to disable the litbase pass optimization in RenderPath, if an ambient-only pass is needed. 2013-01-02 23:38:39 +00:00
Lasse Öörni
d733091eb2 Fixed viewport calculation for rendertargets defined in the render path. If a target uses the RT divisor mode, scale the viewport, otherwise use full texture size (eg. for the bloom intermediate textures)
Undefined (zero) rendertarget size no longer uses the destination size automatically, instead the divisor needs to be specified.
2013-01-02 21:24:25 +00:00
Lasse Öörni
44ca4d92b6 Cleaned up documentation. 2013-01-02 17:24:11 +00:00
Lasse Öörni
f7f820b3eb Added RenderPath documentation. 2013-01-02 17:22:08 +00:00
Lasse Öörni
09b716f0b8 Added scripting interface for RenderPath. 2013-01-02 16:05:55 +00:00
Lasse Öörni
2a4fbcdf54 Removed the old postprocess system. Instead renderpath fragments can be appended.
Implemented missing quad rendering command in renderpath.
2013-01-01 23:05:44 +00:00
Lasse Öörni
a40fead7dc Updated license for the new year. 2013-01-01 11:46:18 +00:00
Lasse Öörni
ffe65cf885 Transition to xml-defined rendering path. Pass names changed. Likely caused a large number of regressions to postprocessing, texture rendering & multisampling, which need to be sorted out. The renderpath feature also needs to be documented. 2012-12-31 15:40:07 +00:00
Lasse Öörni
1ce5a632bd Removed the PassType enum in favor of hashed pass names, to prepare for freeform/redefinable render pipeline. 2012-12-27 18:11:32 +00:00
Lasse Öörni
04774d851b Removed unintended hyperlink from documentation. 2012-12-26 16:15:05 +00:00
Lasse Öörni
7d8558a51f Applied massive patch from weitjong.
Changes:

I. Build environment
1. Added new cmake definition to disable/enable Log subsystem in main's CMakeLists.txt.
2. Added setting in main's CMakeLists.txt to pass the "-D_DEBUG" compiler flags for Debug configuration build on non-MSVC compiler. At least it is needed on XCode to get verbose debug log. I assume MSVC does not have this problem.
3. Added '../Engine. to include directories in Input's CMakeLists.txt to allow Input to reference Engine class for handling of SDL_QUIT event (see V.5 and VII.1).
4. Changed cmake_gcc.sh to sed Doxyfile to exclude Direct3D9 and include OpenGL variants of the classes, assuming gcc is only for Mac OS X and Linux.
5. Changed cmake_ios.sh to sed Doxyfile to exclude Direct3D9 and include OpenGL variants of the classes.
6. Added new cmake_macosx.sh shell script to prepare cmake for Xcode in Mac OS X environment.
7. Updated Docs/Reference.dox to correct the URL to AMD's Compressonator.
8. Updated Docs/ScriptAPI.dox to reflect API changes in UI.
9. Added *.sh scripts in the Bin folder to invoke the respective demos.

II. Audio
1. Minor refactoring on Audio class: removed redundant header include, removed redundant call.
2. Corrected minor documentation typo error in Sound.h.

III. Container
1. HashMap minor optimisation: operator [] implementation would not traverse the container twice before node insertion, refactored Clear() and Sort() implementation, changed to static_cast instead of reinterpret_cast, etc.
2. HashSet minor optimisation: refactored Clear() and Sort() implementation, changed to static_cast instead of reinterpret_cast, etc.
3. List minor optimisation: refactored Clear() implementation and changed to static_cast instead of reinterpret_cast.
4. Corrected documentation error for operator > in Pair class.
5. Added new Contains() methods and renamed Print()/PrintArgs() to AppendWithFormat()/AppendWithFormatArgs (while they are still new :-) in String class. Added ToString() global function in StringUtils class to take advantage of new append methods (useful in constructing a formatted string for logging in one liner; becomes no-ops when logging not enabled).
6. Added new Remove() method in Vector and PODVector classes.

IV. Core
1. Enhanced ProcessUtils class to add native approach to detect number of Physical and Logical CPUs for iOS platform.
   BUG FIX: Previous ParseArguments(int, char**) implementation assumed there were no space in the pathname which causes parsing error when it does. Fixed by enclosed the argument in quotes before appending into command line. With this fix, Ninja War demo is runable in iPhoneSimulator.
2. In StringUtils added new convenient global function to construct a formatted string, see III.6.
3. In Variant added MAX_VAR_TYPES enum for guarding a while loop.

V. Engine
1. Added pragma to suppress LLVM/Clang erroneous warnings on unused functions in APITemplates.h.
2. Minor refactoring on Console class: removed redundant call, renamed current_Row to currentRow_.
3. In CoreAPI refactored code to replace map's Find() method call with the newly added Contains() method, added call to reserve container capacity.
4. Refactored DebugHUD class to use the String's new append method instead of a series of strings concatenation.
5. Enhanced Engine class to make Logging an optional feature that can be turned on/off like Profiler subsystem (see I.1), only unpause the audio when it was pause by the Engine previously, no need to check for uninitialized graphics due to window was closed (see VII.1) as engine's exiting_ flag should be set when SDL quits (even by quitting the process externally).
6. GraphicsAPI minor optimisation: Add call to reserve vector to the required known size.
7. Enhanced IOAPI to add preprocessor directive to no-ops the logging functions when Logging not enabled, see I.1.
8. Enhanced UIAPI to reflect changes in UI: mainly, exposed nonFocusedMouseWheel property (see XV.12).

VI. Graphics
1. AnimatedModel optimisation: refactored ProcessRayQuery() implementation, added call to reserve container capacity, removed copy-pasta comment.
   BUG FIX: Infinite while loop in SetMorphsAttr() as the index was never incremented.
2. Changed Animation constructor to also initialize length_.
3. Refactored AnimationController class: only mark for network update when necessary, corrected minor documentation error, added call to reserve container capacity, prevent out-of-bound index access in SetAnimationAttr() implementation, use the StringHash instead of plain name to find the animation state.
4. Refactored AnimationState to avoid redundant call.
5. Refactored BillboardSet class: removed redundant class forward, changed to use the revised Drawable's constructor (see VI.9), added call to reserve container capacity.
6. Refactored Camera class to remove redundant construct. 
7. Refactored DebugRenderer to reuse code. 
8. Refactored DecalSet class: changed to use the revised Drawable's constructor (see VI.9), added call to reserve container capacity, added new flag to track the event subscription.
9. Refactored Drawable to change its constructor to take additional drawableFlags parameter.
10. Enhanced Light class: changed to use the revised Drawable's constructor (see VI.9), refactored ProcessRayQuery() implementation, added implementation to debug draw the directional light.
    BUG FIX: On mobile devices, the CSM only has two splits. Use preprocessor directive to define the attribute as VAR_VECTOR2 instead of VAR_VECTOR4, accordingly.
    BUG FIX: Previous implementation used local ray against world bounding box for RAY_OBB. Fixed by first transformed the world bounding box to local coordinate.
11. Refactored Material class to set or unset the specular_ flag without traversing the shader parameters each time.
12. Refactored Model class: added call to reserve container capacity, removed redundant call to set the number of vertex buffer to 1 (which is Geometry's default).
13. Modified OcclusionBuffer Clear() method to use post decrement.
14. Refactored Octant and Octree classes: changed to use the new PODVector Remove() method, added index_ instance variable to facilitate child octant deletion, simplified the conditional check in the Release() but still achieving the same result.
15. Refactored OctreeQuery class to reorder the condition and to use post increment.
16. Refactored ParticleEmitter class: removed redundant class forward, changed to use the other ColorFade constructor that inits both color and time, added call to reserve container capacity.
17. Refactored Renderer class: removed unused static constants, amended the documentation text for HandleGraphicsFeatures(), delayed event subscription until object is initialized, moved logic to validate the shadow cascades from getter to setter, changed to use String's Contains() method instead of Find(), and a few more code changes (that make no difference :-).
18. Refactored ShaderParser class to change the method signature of GetCombination() method, removed redundant include.
19. Refactored Skeleton class to add call to reserver container capacity.
20. Refactored StaticModel class: changed to use the revised Drawable's constructor (see VI.9), changed the ProcessRayQuery() implementation.
21. Enhanced Tangent class to use pointer arithmetic instead of array indexing.
22. Refactored Terrain class: reordered instance variable initialization in constructor to keep compiler happy, added call to reserve the container capacity.
23. Refactored TerrainPatch class: changed to use the revised Drawable's constructor (see VI.9), changed ProcessRayQuery() implementation.
24. Refactored View class: removed unused method declarations (did not have implementation), changed to reuse existing Vector3 constants, changed octree query base class to FrustumOctreeQuery instead (no additional penalty as the methods are already virtualized anyway), moved constant to outside the loop in CheckVisibilityWork() implementation, reordered logical statement to take advantage of short circuit evaluation, and more.
25. Refactored Viewport class to use the more common way to insert into container.
26. Refactored Zone class: changed to use the revised Drawable's constructor (see VI.9), reordered logical statement to take advantage of short circuit evaluation.
27. Enhanced OGLGraphics class: added code to prevent unnecessary call to get OGL extensions, changed to use new String's Contains() method, added flag to speed up the Release() method, removed redundant code.
28. Changed OGLGraphicsImpl to remove unused include.
29. Changed OGLIndexBuffer to remove unnecessary override. Probably it was copy pasta from Direct3D9 version.
30. Refactored OGLShader class to use the modified ShaderParser's GetCombination() method, see VI.18.
31. Refactored OGLShaderProgram class to use reuse the index for the second string Find() call.
32. Refactored OGLShaderVariation class to the string Insert() method instead to insert all the defines.
33. Refactored OGLTexture class to use the enum instead of hardcoded value.
34. Refactored OGLTexture2D class to simplify the boolean assignment.
35. Refactored OGLTextureCube class to simplify the boolean assignment.
36. Refactored OGLVertexBuffer class to remove unnecessary override and to simplify the for loop condition check in GetElementOffset() method.
37. Refactored CustomGeometry class: changed to use the revised Drawable's constructor (see VI.9), changed ProcessRayQuery() implementation.

VII. Input
1. Enhanced Input class: added call to Engine::Exit() to properly setting the exiting flag instead of just closing the graphics (see V.5), refactored constructor to initialize the mouse related instance variables, delayed event subscription until object is initialized, and other minor refactoring.

VIII. IO
1. Enhanced FileSystem class: added Mac OS X implementation for SystemOpen() method, changed to use new String's Contains() method instead of Find().
   BUG FIX: On non-Win32 platform, files (including dirs) having name starts with '.' were being returned in the result although SCAN_HIDDEN flag is not set. The fix now excludes them.
2. Enhanced Log class: added preprocessor directive to no-ops the logging macros when Logging not enabled (see I.1), removed "XCODE_DEBUG_CONFIGURATION" as it is not effective (at least on my Xcode). Also replaced "XCODE_DEBUG_CONFIGURATION" with "_DEBUG" in SDL_uikitappdelegate.m.
3. Minor changed in Serializer.cpp to suppress compiler warning.

IX. Math
1. Refactored BoundingBox class to reuse code.
2. Enhanced MathDefs.h: better PI, added new constant M_DEGTORAD_2 which is M_DEGTORAD / 2.f (same as M_PI_2, M_PI_4 convention used in math.h).
3. Refactored Frustum class to use the new M_DEGTORAD_2 constant.
4. Refactored Plane.h to reuse code.
   BUG FIX: Copy constructor did not initialize the absNormal_ properly.
5. Enhanced Quaternion class: added multiply-assign operator with a scalar, added Conjugate() method, refactored to reuse code as much as possible, returned conjugate as inverse for unit quaternion, refactored code to use the new M_DEGTORAD_2 constant.
6. Refactored Rect class to reuse code.
7. Refactored Sphere to use post increment.

X. Network
1. Refactored Connection class: changed to hide the detail of the message processing from the caller, added preprocessor directive to exclude statistics when logging is disabled, changed the code to reflect the change done in Node::CreateComponent() method signature (see XIII.2).
2. Refactored Controls class: removed redundant class forward, changed the way default constructor initialize the instance variables.
3. Refactored Network class: removed redundant class forward, changed to reflect changes done in X.1 to process messages, changed the GetConnection() implementation to avoid traversing of the clientConnections_ unnecessarily.

XI. Physics
1. Enhanced CollisionShape class to add preprocessor directive to no-ops the logging calls when Logging not enabled, see I.1. Refactored the HeightfieldData() method to eliminate if statement in the loop.
2. Minor changed in Constraint.cpp to suppress compiler warning.
3. Refactored PhysicsWorld class: removed redundant call in destructor, changed to use the new PODVector Remove() method.
4. Refactored RigidBody class to use the new PODVector Remove() method.

XII. Resource
1. Minor changed in Image.cpp to suppress compiler warning.
2. Enhanced ResourceCache class: changed code to subscribe to event only when auto reload is enabled, refactored to use HashMap's Find() instead of traversing through container manually, changed to use new String's Contains() method.
3. Minor changed in XMLElement class to define an EMPTY element constant.

XIII. Scene
1. Refactored Component class: removed redundant include, reordered logical evaluation.
2. Refactored Node class: changed the CreateComponent() to accept optional ID parameter (combined previously two methods into one), refactored to reuse code as much as possible, added new method to reset scene called by Scene class, moved protected section to correct place adhering to code convention, added new private convenient method to remove component. 
3. Refactored Scene class: changed destructor and in NodeAdded() method to use the new Node::ResetScene() method (see XIII.2), changed the GetVarNamesAttr() implementation to avoid if in the loop, instead of using XMLElement and String default constructor, changed to reference new EMPTY XMLElement constant (see XII.3) and String's Clear() method, respectively.
4. Enhanced SceneResolver class to add preprocessor directive to no-ops the logging calls when Logging not enabled, see I.1.
   BUG FIX: The missing 'else' statement in Resolve() method might cause component ID not resolved correctly. Fixed by adding the else statement.
5. Enhanced Serializable class: refactored code to suppress compiler warning, added new feature to read/write new optional "enum" XML element.

XIV. Script
1. Enhanced Addons class: removed redundant include, changed code to suppress compiler warning, exposed new String's Contains() methods to script enginei (see III.6).
   BUG FIX: The Find() and FindLast() were erroneously exposed as returning integer value. Changed it to returning unsigned instead.
2. Enhanced Script class: added preprocessor directive to no-ops the logging calls when Logging not enabled (see I.1), changed to use new String's Contains() method instead of Find(), removed redundant call in destructor.
   BUG FIX: The logMode_ instance variable was not initialized properly in the constructor (although documentation says it should be defaulted to immediate mode). Initialized it according to documentation.
3. Refactored ScriptFile class to remove redundant call.
   BUG FIX: Previous implementation in Load() assumed script log mode. The fix saves the old mode and use it to revert back the mode.
4. Enhanced ScriptInstance class: refactored ClearDelayedExecute() method to avoid unnecessary vector traversal, simplified code that tracks the execution of METHOD_DELAYEDSTART, refactored to code reuse.

XV. UI
1. Refactored UIQuad and UIBatch: Added new constructor that initialize instance variables, moved GetInterpolatedColor() method between the two, modified the UIBatch methods to take in const UIElement reference, changed the implementation to code reuse as much as possible.
2. Refactored BorderImage class to use the new UIBatch constructor, see XV.1.
3. Very minor changed in Button.cpp to simplify the logical statement.
4. Refactored DropDownList class: Changed to call Menu::GetBatches() instead of Button::GetBatches(), changed for code reuse.
5. Refactored FileSelector class: added call to reserve container capacity, changed for code reuse.
6. Refacotred Font class: added call to reserve container capacity, removed redundant call. 
   BUG FIX: Corrected a typo in GetKerning() implementation causing the kerning information not being applied correctly between adjacent characters.
7. Refactored LineEdit class: Changed to call BorderImage::ApplyAttributes() instead of UIElement::Attributes(), removed redundant construct, changed to reuse code as much as possible, initialized variable in the setter method instead of during update.
8. Enhanced ListView class: added optional index parameter for RemoveItem() method, subscribed to the defocused event only when it is needed, changed to reuse code as much as possible (page up/down and home/end now support additive multi-select as the positive side effect), removed redundant construct.
9. Very minor change in Menu.cpp to use Variant::EMPTY instead of constructing an empty Variant instance.
10. Refactored ScrollView class to reuse code.
11. Refactored Text class to use the new UIBatch constructor, see XV.1.
12. Enhanced UI class: Added support to enable non-focused mouse wheel behaviour similar to Mac OS X and Linux, delayed post-update and render-update event subscription until object is initialized, removed redundant construct.
13. Enhanced UIElement class: added optional index parameter for RemoveChild() method, refactor the code to use the right constness, renamed method from GetUintColor() to GetDerivedColor(), added new private Detach() method, added mutable keyword as necessary to support const getter, refactored destructor method, added call to reserve container capacity, and more.
14. Minor change in Window.cpp to suppress compiler warning.

XVI. Third Party
1. FreeType: Included zutil.c as source in the CMakeLists.txt and fixed the problem when compiling with _DEBUG set.
2. kNet: Removed std::cout statement in the UDPMessageConnection.cpp.
3. SDL: Changed XCODE_DEBUG_CONFIGURATION to _DEBUG in SDL_uikitappdelegate.m, see VIII.2.
   BUG FIX: The touch focus was always zero causing the touch event from touchpad in Mac OS X platform was not handled correctly by Input class because the GetInputInstance() method returns 0 when windowID is 0. Assign the touch's focus with current focus window ID. NOT SURE THIS IS THE CORRECT FIX THOUGH.

XVII. Demos
1. BUG FIX: TestScene.as and TestSceneOld.as assert in the btAlignedObjectArray.h. It was caused by the script trying to remove the RigidBody and/or CollisionShape while in the middle of physics collision event handling. The Bullet's assert could be observed when build using _DEBUG. Fixed by postponinig the removal to post step.
2. Enhanced the NinjaSnowWar to support no-background-music (nobgm) option.
   BUG FIX: BGM was purposely not played on multiplayer mode assuming testing is done on a same test machine, however, this has caused the BGM not to be played on the genuinue multiplayer mode using different machines. Re-enable BGM on multiplayer mode. Instead, added comments in the demo shell/batch script on how to avoid multiple BGM played on a same test machine.
2012-12-25 20:56:05 +00:00
Lasse Öörni
7c61b098bf Fixed forward lit spotlight shadows on OpenGL.
Removed the NVIDIA-specific INTZ depth path so that shaders don't need special cases for reading depth.
2012-12-25 17:55:10 +00:00
Lasse Öörni
5511528fac Added CMake .bat file for Visual Studio 2012. 2012-12-24 15:28:01 +00:00
Lasse Öörni
14b78585fc Added CustomGeometry component, which is similar to OGRE ManualObject.
Support also non-indexed geometry for raycasts, occlusion and decals.
2012-12-24 11:56:30 +00:00
Lasse Öörni
21811bc13f Explicitly mention that DirectX June 2010 SDK needs to be installed.
Moved the Log timestamp functionality to Time subsystem, so that it can also be called by the user.
2012-12-22 16:42:01 +00:00