Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
534b1d41fd Fix crash on empty file name. 2013-12-06 18:47:35 +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
Lasse Öörni
ee16554602 Merge pull request #68 from friesencr/patch-1
change doxygen location in readme to new github location
2013-12-06 07:52:25 -08:00
Chris Friesen
225c422930 change doxygen location in readme to new github location 2013-12-06 09:23:36 -06:00
Lasse Öörni
088dba041c Fix missing sound playback start/stop when using the play/pause buttons in editor toolbar. Improved sphere debug drawing. Added debug drawing to SoundSource3D. Closes #63. 2013-12-06 16:50:29 +02:00
primitivewaste
53f6483931 Added a toolbar to the editor. 2013-12-05 12:08:54 -08: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 姚伟忠
52de3a135c Fix deploying multiple samples in iOS (virtual) devices.
Each (samples) iOS app now has its unique bundle ID based on the derived product name.
2013-12-05 21:40:14 +08:00
Lasse Öörni
f4be17256e Fix wrong include path for iOS build. 2013-12-04 23:23:04 +02:00
Yao Wei Tjong 姚伟忠
89a05a8017 Update documentation to reference back to new main site. 2013-12-04 23:53:35 +08:00
Lasse Öörni
7d83a44d13 Make resource dirs absolute when added to ResourceCache. Sanitate away /./ construct from the runtime program dir and resource dirs. Closes #64 2013-12-04 15:21:20 +02:00
Lasse Öörni
a9fda01ae7 Fixed unnecessary duplicate boundingBox_ member variable in DecalSet. 2013-12-04 01:10:03 +02:00
Lasse Öörni
7d92368dca Fixed logic bug in Audio subsystem related to mixing fragment size. Fixed uninitialized dataSize_ member in Sound. 2013-12-04 00:57:34 +02: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
Yao Wei Tjong 姚伟忠
4eee3b8a96 Lower user-created UI elements' priority. Closes #60. 2013-12-02 12:23:50 +08:00
Lasse Öörni
3d905f2bf0 Append FileSelector filter extension in editor when saving files, if no extension entered to filename. Closes #57. 2013-11-30 16:59:14 +02:00
Lasse Öörni
79eac917be Fixed distance update for Drawables for draw distance & shadow draw distance checks. Closes #56. 2013-11-30 16:57:54 +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 姚伟忠
7fa4c0bc41 Clean up build script. 2013-11-27 00:55:26 +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
Lasse Öörni
868b9bdcd2 Updated comment. 2013-11-25 20:06:37 +02:00
Lasse Öörni
a92f4a0aea Added "Is Playing" attribute to SoundSource. SoundSource no longer clears the sound resource when playback is finished. Closes #54. 2013-11-25 20:03:35 +02: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
Lasse Öörni
98b517af3a Do not play audio in the editor when scene updates are paused. This allows making oneshot sound prefab objects without them losing their sound resource assignments. 2013-11-24 13:48:49 +02:00
Yao Wei Tjong 姚伟忠
cff6d6a4d8 Document the importance of URHO3D_STATIC_DEFINE when static linking. 2013-11-24 10:17:02 +08:00
Lasse Öörni
a80793b901 Match desktop OpenGL behavior with Direct3D: check that fullscreen window size is a valid resolution and do not enter fullscreen mode if it isn't. Closes #52. 2013-11-23 23:13:52 +02: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
Yao Wei Tjong 姚伟忠
3875bc3b21 Convert additional cflags comments into accessible pkg-config's vars.
The additional flags are usually trivial on *nix platforms but they are not so on Windows platform for MSVC.
2013-11-22 13:21:44 +08:00
Yao Wei Tjong 姚伟忠
7891efb43e Clean up Engine library build script. 2013-11-22 13:21:44 +08:00
Yao Wei Tjong 姚伟忠
c0633b7c35 Fix Android "in-the-source" build on Windows platform.
Reinstate back the logic to read CMake cache value for USE_MKLINK the proper way as the previous shortcut approach does not work as expected when user invokes cmake_clean.bat but leaving build dir as it is.
2013-11-21 23:18:12 +08:00
Yao Wei Tjong 姚伟忠
4402195b5e Fix MacOSX Urho3D shared library build when LuaJIT is enabled.
Also fix Urho3D.pc for MacOSX platform to also provide the framework list required for linking, i.e. below command works equally well with Urho3D SDK installed on Mac OS X platform.
c++ -o Urho3DPlayer Urho3DPlayer.cpp `pkg-config --cflags --libs Urho3D`
2013-11-21 21:45:41 +08:00
Yao Wei Tjong 姚伟忠
723c66054b Fix wrong build path in cmake_android.bat for detecting cache value.
Also enhance to suppress symlink creation warnings when they are already created and update Android toolchain for NDK r9b.
2013-11-21 13:47:07 +08:00
Lasse Öörni
10ce31bb69 Fix NinjaSnowWar compile error. 2013-11-21 01:21:26 +02:00
Lasse Öörni
f73ee0c730 Force elements in layout to left/top alignment, warn if has different alignment. Closes #34. Implement editor accelerator key texts a bit differently as the right alignment in a layout -hack can no longer be relied upon. 2013-11-21 01:21:11 +02: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 姚伟忠
e3b53f97a1 Moved SDL header include dir to 'Engine' scope as it is being referenced by a few Engine sub-directories and not just Graphics. 2013-11-20 16:15:10 +08: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
Lasse Öörni
3c2110b81a Check for compound shape with zero child shapes to prevent Bullet assert. Closes #47. 2013-11-18 17:19:50 +02: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