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
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
dbb02e5789
Fix template code error.
2013-11-14 17:40:39 +02:00
Lasse Öörni
a2c87c6754
Fixed CompileAllShaders.bat compiling SM2 shaders into SM3 directory.
2013-11-14 17:37:07 +02:00
Lasse Öörni
51c892eff5
Refresh the generated scripting API docs.
2013-11-14 17:32:35 +02:00
Lasse Öörni
460a119e16
Use WeakPtr<RefCounted> consistently for the script WeakHandle type.
2013-11-14 17:31:10 +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
Yao Wei Tjong 姚伟忠
889aabbbfe
Source the helpers script after changing to project root directory.
...
So that the main script can be invoked from anywhere.
2013-11-14 12:45:14 +08:00
Yao Wei Tjong 姚伟忠
c96200b53b
Fix AngelScript compilation due to a wrong letter case.
2013-11-14 11:36:50 +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
Yao Wei Tjong 姚伟忠
2ccf009362
Add linked resource to Bin output folder.
...
So that Eclipse binaries parser sees the executables and creates a corresponding Binaries virtual folder to contain them (easier to Run/Debug executable).
2013-11-13 17:41:09 +08:00
Yao Wei Tjong 姚伟忠
e1c8aa301f
Add log file pattern to .gitignore.
2013-11-13 14:37:13 +08:00
Yao Wei Tjong 姚伟忠
657696cec5
Suppress Eclipse link resource overlaps warning during project import.
2013-11-13 12:55:16 +08: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