Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
4e836e574f Migrated to AngelScript 2.26.1 WIP.
Octree code cleanup.
Added nullchecks to RigidBody in case Bullet callbacks are fired when the body's scene node has been destroyed.
2013-02-20 11:16:27 +00:00
Lasse Öörni
8d68690cf4 Applied documentation patch from weitjong. 2013-02-19 14:16:22 +00:00
Lasse Öörni
4f948028e4 Fixed bounding box center & halfsize not being updated in Octree::Resize(). 2013-02-19 14:05:15 +00:00
Lasse Öörni
3002776ea4 Fixed incorrect octree insertion of drawables in some cases (eg. large terrain.)
Added ToString() to BoundingBox.
Removed unnecessary defined_ variable from Frustum.
2013-02-19 13:55:17 +00:00
Lasse Öörni
fbe4591414 Fixed missing range expansion from unpacked normal maps. 2013-02-14 20:03:26 +00:00
Lasse Öörni
14fa3b3d6e Added SavePNG() function to Image. 2013-02-09 23:16:13 +00:00
Lasse Öörni
92eb073cb7 Applied cmake patch from weitjong.
Renamed finalize_exe and finalize_lib cmake macros to setup_executable & setup_library, as they already do much more than finalization.
2013-02-07 09:46:23 +00:00
Lasse Öörni
e6410af3cd Reverted unused variable optimization due to iOS compile error. 2013-02-03 22:17:20 +00:00
Lasse Öörni
cdc9226b34 Fixed GCC build on OS X. 2013-02-03 21:57:42 +00:00
Lasse Öörni
3dc3c836a6 Applied patch from weitjong, which improves OSX/iOS build, and removes dead code. 2013-02-03 21:31:24 +00:00
Lasse Öörni
d867b3da2e Fixed error in documentation. 2013-02-03 13:22:43 +00:00
Lasse Öörni
aa1c2b8605 Added warning for creating any of the physics components into the root scene node, as that is unsupported and may not eg. reload properly. 2013-02-01 17:23:37 +00:00
Lasse Öörni
193735e090 Reverted the enum optimization from Serializable. 2013-02-01 15:44:47 +00:00
Lasse Öörni
9d82a32c9e Added constraint & collision shape type "none" as default value to avoid unnecessary creation of shapes on scene load, before proper attribute values are deserialized. Do not create shape/constraint in OnNodeSet(), as the type is always "none" at that time.
Reactivate a rigid body when any constraint is removed from it.
2013-02-01 13:37:31 +00:00
Lasse Öörni
26f23adb14 Applied UI patch from primitivewaste. 2013-01-30 13:52:51 +00:00
Lasse Öörni
e4d3046a50 Removed unused function from Octant. 2013-01-30 00:35:43 +00:00
Lasse Öörni
2d69778c48 Fixed GCC build. 2013-01-29 16:16:07 +00:00
Lasse Öörni
115a81c75a Fixed incorrect weak pointer manipulation (Drawable's cached Zone) from worker threads, which caused a memory leak.
Tidied up SharedPtr/WeakPtr code.
2013-01-29 12:47:53 +00:00
Lasse Öörni
feff1fdbe7 Added 100 ms sleep to the OS X FileWatcher thread loop to avoid framerate stutter. 2013-01-29 00:01:28 +00:00
Lasse Öörni
ffa3e29498 Applied OS X FileWatcher patch from weitjong. 2013-01-28 23:36:29 +00:00
Lasse Öörni
ca00942105 Applied SDL memory leak patch from Magic.Lixin. 2013-01-27 21:42:20 +00:00
Lasse Öörni
10ea47c258 Added note about the performance cost of subsystem lookup in Engine. 2013-01-24 14:24:41 +00:00
Lasse Öörni
eeacbe62ca Fixed the C++ quickstart example in the docs. 2013-01-24 14:08:33 +00:00
Lasse Öörni
ed272d2aa7 Fixed sphere particle emitter always having zero radius. 2013-01-16 14:26:01 +00:00
Lasse Öörni
fcd9e37b61 Updated version history. 2013-01-13 22:44:51 +00:00
Lasse Öörni
ad174b967d Reverted setting the focus on SDL touch events, as it caused mouse and touch to 'fight' over UI elements on OS X. 2013-01-13 22:32:57 +00:00
Lasse Öörni
d4b8cf4444 Applied Android clock fix from kNet master branch. 2013-01-13 20:26:05 +00:00
Lasse Öörni
bdb392f195 Fixed exception spam in headless NinjaSnowWar server. 2013-01-13 20:17:14 +00:00
Lasse Öörni
f5e2be65c1 Added note about the ElapsedTime built-in shader parameter to documentation. 2013-01-13 20:06:21 +00:00
Lasse Öörni
b51fd39bcc Applied CustomGeometry script API patch from weitjong. 2013-01-13 12:16:41 +00:00
Lasse Öörni
570c48c5cf Allow to use RGB normal maps. Different material techniques are used for xGxR normal maps. 2013-01-09 11:00:43 +00:00
Lasse Öörni
0891aa62dc Applied DebugHud app stats patch from weitjong. 2013-01-08 07:59:55 +00:00
Lasse Öörni
9655a03688 Fixed WorkQueue comments. 2013-01-07 20:04:21 +00:00
Lasse Öörni
945085d975 Allow threaded work items with varying priorities. Default is immediate (maximum) priority as used by Octree & View. Optionally send events when threaded work items complete. 2013-01-07 19:54:30 +00:00
Lasse Öörni
1590c2683b Formatting. 2013-01-07 09:39:16 +00:00
Lasse Öörni
61b568399c Fixed missing CMake include. 2013-01-07 09:34:36 +00:00
Lasse Öörni
55681dc55a Applied patch from weitjong.
Applied XAddDisplay signature detection from official SDL.
2013-01-07 09:20:35 +00:00
Lasse Öörni
1ebe4deabd Load shaders per pass when first needed, not to every pass at once. 2013-01-06 15:57:25 +00:00
Lasse Öörni
ac8b85a3e9 Fixed LightTest. 2013-01-06 11:13:30 +00:00
Lasse Öörni
253ffa5c4e If editor is loaded without SM3 support, do not automatically save the disabled instancing setting into config, but retain the value that was loaded. 2013-01-05 19:50:18 +00:00
Lasse Öörni
57fd5a36a4 Fixed back-to-front sort mode not working in scene passes.
Added skinned, instanced & billboard VS variations to the Basic shader.
2013-01-05 14:22:28 +00:00
Lasse Öörni
c8b2b220a6 Fixed wrong signature in UIElement::RemoveChild() exposed to script API. 2013-01-05 11:53:14 +00:00
Lasse Öörni
1d745f9951 Moved script application reload inside Urho3D.cpp to avoid issues with unwanted application script startup. 2013-01-05 11:26:02 +00:00
Lasse Öörni
53adf6fc5b Expose UnsubscribeFromAllEventsExcept() to script. 2013-01-04 20:06:12 +00:00
Lasse Öörni
2c96dff225 Execute procedural Start() & Stop() functions automatically when a ScriptFile is loaded and unloaded. This allows live-reload of a whole script application.
Do not recreate Console & DebugHud if they already exist.
2013-01-04 19:24:43 +00:00
Lasse Öörni
b065e938a0 Fixed Direct3D shader runtime compiling when path has spaces. 2013-01-04 16:13:45 +00:00
Lasse Öörni
b449032071 Applied ScriptInstance hot reload patch from Magic.Lixin, slightly modified. 2013-01-04 14:46:44 +00:00
Lasse Öörni
926a06d1af Applied Node::GetChildrenWithComponent() patch from weitjong. 2013-01-04 14:06:01 +00:00
Lasse Öörni
9d759300fe Added possibility to disable the litbase pass optimization in RenderPath, if an ambient-only pass is needed. 2013-01-02 23:38:39 +00:00
Lasse Öörni
42598f54ce Fixed missing render target size in the ForwardDepth render path. 2013-01-02 23:04:50 +00:00