Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
d113be3bb2 Added ambient occlusion LitSolid permutations. These read the emissive texture and use the second texcoord, like lightmapped permutations. Closes #79. 2013-12-19 23:52:48 +02:00
Yao Wei Tjong 姚伟忠
0b20416812 Setup Travis CI. Exclude Clang build. GCC build appears to be OK now. 2013-12-19 22:17:37 +08:00
Yao Wei Tjong 姚伟忠
bdce36136f Setup Travis CI. Add missing doxygen package and correct build path. 2013-12-19 21:46:06 +08:00
Yao Wei Tjong 姚伟忠
6d41fbcee1 Setup Travis CI. 2013-12-19 21:35:34 +08:00
Yao Wei Tjong 姚伟忠
82b20f7134 Attempt to setup CI build using Travis. 2013-12-19 21:16:34 +08:00
Lasse Öörni
746e2331df Update credits. 2013-12-19 09:17:50 +02:00
Lasse Öörni
47bf7278ab Check for input focus before applying camera presets in editor. Closes #81. 2013-12-19 09:15:10 +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
76a3cd8ab1 Merge pull request #80 from ThunderBeastGames/JME-URHO3D-FIXCOLLISIONSHAPE
Fix collision calculation of index offset when using multiple geometries
2013-12-18 14:49:09 -08:00
Josh Engebretson
e79b745f05 Fix collision calculation of index offset when using multiple geometries 2013-12-18 13:45:57 -08:00
Lasse Öörni
4c9886f5ab Do not attempt to set a nonexistent default icon. 2013-12-18 22:01:31 +02: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
Yao Wei Tjong 姚伟忠
328bf54dc6 Use Apple libtool when building static lib using Makefile. Closes #74.
Also in the commit:
- Remove BOM from License.txt and Readme.txt. Update Urho3D website URL in Readme.txt.
- Detect MSYS build environment. It is now possible to build Urho3D using Msys shell on Windows, i.e. cmake_gcc.sh could be used for both native build and Android build on Windows platform (MinGW is required).
2013-12-18 20:24:36 +08: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
vertexnormal
d80c927c93 Add Lua binding to PODVector<RayQueryResult> and Octree::Raycast() 2013-12-17 16:08:06 -07:00
Pete Chown
47caa7175d Make E and Q keys move the camera up and down (as in Unity and UDK).
Make NumPad 1, 3 and 7 select a front, side or top view.  Ctrl-1,
Ctrl-3, and Ctrl-7 select the opposite view (as in Blender).

Alter the mouse-look functionality to prevent gimbal lock when facing
straight up or down.
2013-12-17 19:49:16 +00:00
Yao Wei Tjong 姚伟忠
15c61cb739 Use CMake command to move and rename for portability. Closes #73.
- Revert back CMake version. Use CMake -Wno-dev option to suppress the policy warning for CMake 2.8.12 early adopter.
- Since the new policy is not in place, set some more target property to prevent Urho3D static dependency libs from being transitively link to other targets linking to Urho3D.
2013-12-18 00:33:35 +08:00
Lasse Öörni
e19bed4946 Clean up scene node related comments in samples. 2013-12-17 13:28:46 +02:00
Yao Wei Tjong 姚伟忠
60dad27d5f Fix Mac OS X and iOS build from external CMake project.
Since the CMake minimum is bumped up, set the policy CMP0022 to NEW. Incidentally it is also required to be so to stop the static libraries dependency from being transitively get included to other targets that links to Urho3D shared library.
2013-12-17 08:00:11 +08:00
Lasse Öörni
60b3046053 Fix function order in header. 2013-12-17 00:56:45 +02:00
Lasse Öörni
c23c4d2353 Fixed XMLElement on GCC. 2013-12-17 00:47:51 +02:00
Lasse Öörni
d1df925013 Added Image::GetSDLSurface() to avoid code duplication. Fixed crash from null image pointer in Graphics::CreateWindowIcon(). 2013-12-17 00:47:38 +02: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
Lasse Öörni
71f5492cc4 Merge remote-tracking branch 'remotes/alexparlett/xml-value' 2013-12-16 23:02:39 +02:00
Lasse Öörni
cc4c4e6a79 Merge remote-tracking branch 'remotes/alexparlett/window-icon' 2013-12-16 23:01:58 +02:00
Lasse Öörni
9752cbed1e Removed OpenGL scratch buffer allocation log spam, even in debug mode. 2013-12-16 23:00:51 +02:00
Alex Parlett
db38bcf6c0 Added functionality to set the value for a node in the form of <node>value</node>.
Added method to retrieve the value of a node held in the inner xml tags eg. <node>value</node> would return "value" when called on "node"
Added Script Methods for Getting and Setting the value as detailed above (Lua contains Getter only inline with the rest of the functionality)
2013-12-16 20:17:03 +00:00
Alex Parlett
2505149255 Added ability to specify window icon (external application window) using an Image resource and SDL cross platform capability
Added Script Bindings in Lua and Angelscript to support the function
2013-12-16 19:00:30 +00:00
Lasse Öörni
32a9e72752 Fixed GLES low quality shadows. Fixed Android/iOS not initializing engine parameters from CommandLine.txt. 2013-12-16 11:54:58 +02:00
Yao Wei Tjong 姚伟忠
9f3d6f20ea Use -force_load instead of -all_load option for Apple Static linker.
It is to ensure only objects from the specific static libraries are being merged into final output. Objects from standard libraries (ld, m, etc) should be excluded.
2013-12-16 14:15:48 +08:00
primitivewaste
7d641ca3fc Add a grid to the editor. Add default zone and grid editor preferences. Make editor settings and preferences dialogs resizable and scrollable. Fix Pow() script registration. 2013-12-15 20:58:17 -08:00
Lasse Öörni
3abae76ec2 Use constant for number of draw buffers. 2013-12-15 23:15:15 +02:00
Lasse Öörni
3ec6f66fae Do not use PCH on AssImp contrib source files, as they're not all prepared for that. 2013-12-15 14:01:54 +02:00
Lasse Öörni
ba565718e0 Bump required CMake version. 2013-12-15 13:42:15 +02:00
Yao Wei Tjong 姚伟忠
963c46d15b Refactor build scripts.
- Close issue #67, Urho3D iOS library should be built correctly now (either as single arch or as multiple archs Mach-O universal binary). Urho3D library build for Mac OS X and iOS platforms do not rely on CMake hack 'object-collecting' approach anymore. It uses Apple static linker 'ld' tool to merge all objects from third-party *.a directly.
- Add new custom target (Urho3D_universal) for iOS platform to build a single Mach-O universal binary library consists of both iphoneos (universal ARM archs) and iphonesimulator (i386 arch).
- Introduce PLATFORM_PREFIX (ios-, raspi-, android-) to prefix the build and output directories (Build, Bin, Lib).
- Correct Xcode-specific build setting for Mac OS X desktop build to use the latest OS X SDK but set deployment target to current OS X of the build system, unless CMAKE_OSX_DEPLOYMENT_TARGET is set explicitly to build for other target.
- Temporary workaround for CMake/Xcode generator bug where it always appends '/build' path element to SYMROOT attribute and as such the items in Products are always rendered as red as if they are not yet built.
- Change Assimp target to use setup_library() macro so that it gets the same settings (and workaround) as all other targets.
- Add a conditional check to prevent MSVC to build 'buildvm-android' target as it is not supported at this moment.
2013-12-15 18:25:00 +08:00
Lasse Öörni
f07a952096 Added second texcoord support in OgreImporter utility. 2013-12-13 19:03:05 +02:00
Lasse Öörni
ab701e0e26 Only copy file serialization attributes when cloning a node hierarchy. Fixes #70. 2013-12-12 19:11: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
0859375510 Fixed erroneously removed script API function. 2013-12-08 23:37:41 +02:00
Lasse Öörni
34abc97998 Change the LineEdit elements in the file selector & console to match the height of other LineEdits in the editor. Remove hardcoded adjustment code from FileSelector.cpp & Console.cpp and rely on the style instead. 2013-12-08 23:30:44 +02:00
Lasse Öörni
7e0cafaf53 Check font's OS/2 info for possibly larger ascender & descender values. For safety, verify each font glyph's width & height against the actual glyph bitmap width & height. Use the maximum of specified row height or the ascender + descender. 2013-12-08 20:48:49 +02:00
Lasse Öörni
ebdf337610 Fixed false positive bug in String::EndsWith(). 2013-12-08 01:40:13 +02:00
Lasse Öörni
dc6294af16 Added generated event list documentation page. Closes #66. 2013-12-08 01:39:36 +02:00
Lasse Öörni
5fa9116be1 Drag-related code cleanup. 2013-12-07 22:35:26 +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
5046508a9a Added emissive shader variations to LitSolid shader. Default emissive modulation color to white, similar to environment map color. 2013-12-07 00:44:14 +02:00
primitivewaste
12c372aa22 Fix editor toolbar not resizing and ui re-layout values after resize.
Enhance toolbar editmode select icon.
2013-12-06 12:59:32 -08:00