Lasse Öörni
|
a90bc49b56
Move SoundSource new function registration to APITemplates.h so it works on both SoundSource & SoundSource3D. Minor comment formatting fix. Add contributor.
|
8 years ago |
Lasse Öörni
|
af2ecd5414
Fix copy-paste error in bindings.
|
8 years ago |
Lasse Öörni
|
db29964574
Apply CollisionShape2D / signed world scale patch from Ricardo Abreu. Closes #1926.
|
8 years ago |
Lasse Öörni
|
a5ff4f43c6
Avoid calling asGetActiveContext() in template functions, as it might result in undefined symbol when used in application code with shared library Urho3D build. Make GetScriptContext() safe to call when it would return null. Provide function GetActiveASContext() (in ScriptInstance.h) as a wrapper.
|
8 years ago |
Eugene Kozlov
|
d60e96c866
Add script binding for Node::IsChildOf.
|
8 years ago |
Lasse Öörni
|
883b5105cb
Merge branch 'master' into update-angelscript
|
9 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Eugene Kozlov
|
c59b0d941d
Rename Resource::Load and Resource::Save filename overloads to Resource::LoadFile and Resource::SaveFile to prevent Resource::Save shadowing.
|
9 years ago |
Lasse Öörni
|
dae1c615a9
Initial work to update to AngelScript 2.31.2.
|
9 years ago |
Eugene Kozlov
|
e556f63291
Add 'temporary' parameter to Node::CreateChild and Node::CreateTemporaryChild.
|
9 years ago |
Lasse Öörni
|
1bb6d3d1ac
Support for mipmapped rendertargets & automatic mip regeneration after rendering. Renderer allocated screen buffers are not mipmapped, but a manually created rendertarget texture will be (like regular textures), unless disabled by calling SetNumLevels(1).
|
9 years ago |
Rokas Kupstys
|
e71fa46e89
Node::SetTransform(const Matrix3x4& matrix)
|
9 years ago |
Eugene Kozlov
|
b23a1bd856
Merge branch 'update-api'
|
9 years ago |
Lasse Öörni
|
fff10e15cf
Eliminate a few uses of NULL, and mention preference to not use it in the code convention. Ensure UIElementLoadChildXML returns a value.
|
9 years ago |
TheComet
|
82e09e8632
UIElement::CreateChildXML() returns child instead of bool. If loading fails, child is destroyed instead of keeping an empty child around
|
9 years ago |
Eugene Kozlov
|
8acd69046a
Add Image::SaveDDS function. Add Resource::Save|Load(fileName) functions.
|
9 years ago |
Lasse Öörni
|
a5d20441dd
Adjustments to UI element anchoring to make it more foolproof and intuitive. Anchoring must now be enabled explicitly.
|
9 years ago |
Lasse Öörni
|
6f8164c492
Script bindings for anchor/pivot settings. Edit comments.
|
9 years ago |
Lasse Öörni
|
43535f4087
Add script bindings for the new texture read-only properties.
|
9 years ago |
Lasse Öörni
|
83acf5bc14
Optional per-texture specifiable max. anisotropy level. Closes #1563.
|
9 years ago |
Lasse Öörni
|
3fe5024cf7
Remove deprecated autoRemove bool from SoundSource. Replace with a more generic AutoRemoveMode enum which is now used by both SoundSource & ParticleEmitter.
|
9 years ago |
Lasse Öörni
|
34ddcdc294
Component reorder in editor. Fix attribute inspector not updating when nodes are added to e.g. StaticModelGroup via dragging. Clean up reorder related code. Set Urho icon as window icon in the editor. Closes #1463.
|
9 years ago |
Lasse Öörni
|
b3e492e18c
Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088. Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called.
|
9 years ago |
Lasse Öörni
|
2b0d4362ff
Script bindings for reading/writing 64 bit values through Deserializer/Serializer.
|
9 years ago |
Yao Wei Tjong 姚伟忠
|
5e8ee79f2b
Partial revert - use Object as base but keep lifetime management logic.
|
9 years ago |
Lasse Öörni
|
c38d29a20c
Make MessageBox a UIElement subclass for automatic lifetime management through the UI hierarchy. (Use MessageBox:new in Lua for safe operation.) Remove the "test all factories" feature in Engine class (Debug mode) since it would leave a MessageBox in the UI. Use UI root size for centering the MessageBox instead of Graphics resolution, since the UI might be scaled. Closes #1439. Closes #634.
|
9 years ago |
nathan
|
d7b0604d93
Made Angelscript work on the Emscripten build. Not thoroughly tested!!!
|
9 years ago |
cosmy
|
6bce856acf
Fix code indent.
|
9 years ago |
Lasse Öörni
|
8e8ee798a7
New click / click end events sent by the UI element in question (see UIEvents.h.) Fix IsInside() check for the sprite UI element to allow accurate click detection. Register the full UIElement API for the Sprite element in AngelScript, though not all functions make sense. Clean up empty virtual functions from .cpp files in favor of defining them in headers. Closes #1343.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |