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
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
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
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
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
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
Lasse Öörni
35b59e897f
Allow setting AnimationState bone weights recursively. Added GetAnimationState() to public API of AnimationController.
2013-11-16 15:25:07 +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 姚伟忠
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
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 姚伟忠
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