Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
84fb81684b Documentation update. 2011-08-19 10:53:36 +00:00
Lasse Öörni
942bf00ca4 Fixed animations not continuing after scene load.
Removed redundant @'s from editor script code.
Added scene update pause/unpause to editor.
2011-08-19 06:32:21 +00:00
Lasse Öörni
b7e5971bc1 Revert to AABB testing if AnimatedModel's bones have been destroyed. 2011-08-18 22:04:17 +00:00
Lasse Öörni
5e2682d3e5 Cut/copy/paste in editor.
Exposed Serializable::FinishUpdate() to script.
2011-08-18 21:52:59 +00:00
Lasse Öörni
16911eab63 Added delete support to the editor.
Fixed erroneous script API bindings.
2011-08-18 18:46:12 +00:00
Lasse Öörni
d94b865fce Reverted the change to not support fallback data mode in index & vertex buffers, as it broke AssetImporter.
Add resource hashes from ResourceRef or ResourceRefList attributes to ResourceCache in Serializable::LoadXML(), so that resources created during runtime will load properly.
Do not automatically assign the scene root node name when saving a scene in the editor.
Add the DebugRenderer component to the saved scene in AssetImporter, as it is needed in editing.
2011-08-18 17:58:29 +00:00
Lasse Öörni
9bebc4898e Switched to AngelScript 2.21.1 WIP.
Fixed node reparenting removing extra items from the scene hierarchy window in the editor.
Guard against cyclic parent-child assignments in Node & UIElement.
2011-08-18 15:25:51 +00:00
Lasse Öörni
f8761918a8 Initial node reparenting (drag and drop) in the editor.
Let user code handle ListView item visibility toggling on doubleclick; do not handle it automatically.
2011-08-18 06:40:17 +00:00
Lasse Öörni
5296a4e569 Fixed ItemSelected event.
Script API fixes.
Sorting of the available component types.
Working component selection, and new node/new component creation in the editor.
2011-08-17 21:11:26 +00:00
Lasse Öörni
fc2567980e Added the same speed-optimization to ListView::ToggleChildItemsVisible(). 2011-08-17 08:47:05 +00:00
Lasse Öörni
97eff87a74 Fixed scene hierarchy window update.
Speed-optimized ListView::SetChildItemsVisible() & ListView::RemoveAllItems() by disabling layout update during processing.
2011-08-17 08:40:23 +00:00
Lasse Öörni
d6f774fc54 Fixed scene window update partially. 2011-08-17 07:05:21 +00:00
Lasse Öörni
b7797e95f2 Fixed odd crash in editor script after scene load.
Fixed nearclip & farclip related rendering issues.
2011-08-16 22:03:07 +00:00
Lasse Öörni
2863a640a8 Fixed inconsistent lineedit scrolling behaviour.
Lineedit cursor is created as the text element's child for more straightforward code.
2011-08-16 08:32:39 +00:00
Lasse Öörni
f1bb8bd2ba Updated to latest kNet.
Editor script fixes.
Fixed loading resources from script.
Fixed crashes when handling events from objects that subsequently get destroyed.
Fixed not being able to load elements of type UIElement from xml layouts.
2011-08-15 20:56:53 +00:00
Lasse Öörni
30660c705c Initial non-working editor code ported from Urho3D 1.0.
Script API fixes.
2011-08-15 15:16:08 +00:00
Lasse Öörni
387ac00631 Use the variable name uintColor throughout. 2011-08-14 17:44:05 +00:00
Lasse Öörni
424f7a957f Enabled warnings in ShaderCompiler.
Optimized physics debug geometry drawing.
Branch only in expensive pixel shaders (shadowing or specular lighting.)
Added more default colors to Color class.
2011-08-14 17:38:03 +00:00
Lasse Öörni
409e463bd2 Fixed Linux build. 2011-08-14 14:41:18 +00:00
Lasse Öörni
110c908ef5 Fixed OSX build. 2011-08-14 12:52:44 +00:00
Lasse Öörni
c3b1d57a17 Fixed VS2008 build. 2011-08-14 12:06:21 +00:00
Lasse Öörni
700520f320 Further comments and code cleanup. 2011-08-14 09:28:40 +00:00
Lasse Öörni
de67af8825 CoreData / Data reorganization.
Comments cleanup.
Removed the fallback-data mechanism from IndexBuffer and VertexBuffer as unnecessary.
2011-08-13 15:43:52 +00:00
Lasse Öörni
456ecfd184 Added missing class documentation.
Added DirectSound version define.
2011-08-11 22:08:39 +00:00
Lasse Öörni
bf2b9ded9a Switched to Open Asset Import Library svn revision 1062. 2011-08-11 21:54:28 +00:00
Lasse Öörni
5b44c38d32 Code cleanup. Actually use the added Contains() & Find() functions. 2011-08-10 17:53:55 +00:00
Lasse Öörni
47c9319bf1 Added Contains() & Find() to Vector, PODVector and List. 2011-08-10 14:01:25 +00:00
Lasse Öörni
7eed016fd8 Added more assertions.
Fixed out-of-bounds array access in GLShaderProcessor.
Fixed PortAudio output mode.
SharedPtr::RawPtr() renamed to Get() and WeakPtr::ToShared() to Lock().
2011-08-10 08:20:59 +00:00
Lasse Öörni
e3baa94267 Added assertions to Vector & String indexed access and to shared pointer dereferencing.
Fixed debug build.
2011-08-10 00:30:07 +00:00
Lasse Öörni
4a5dd11742 Fixed undefined behaviour related to the objects' networked attributes -optimization. 2011-08-09 23:54:20 +00:00
Lasse Öörni
e22483e482 Added viewmask parameter to octree queries to avoid manual viewmask checking in View and to allow partial scene queries for logic.
Reordered ray query parameters; added default query parameters to script.
Renamed BeginRender & EndRender events to BeginRendering & EndRendering.
2011-08-09 15:48:32 +00:00
Lasse Öörni
b7a8357081 Fixed RTT prediction calculation.
Added slow backing off in case of high RTT and slight loss.
2011-08-08 19:19:38 +00:00
Lasse Öörni
ba533b449c Restored original sendrate decrease logic. 2011-08-07 23:12:41 +00:00
Lasse Öörni
deb5455a0e Use own DirectSound code in Windows/Direct3D9 mode as PortAudio has tendency for stutter.
Added a slow mode for flow control which is triggered on packet loss, and lasts for a fixed time.
Removed congestion-based flow control as unreliable.
2011-08-07 18:28:31 +00:00
Lasse Öörni
48aff25c73 Tweaked the flow control frame rate. 2011-08-06 15:00:36 +00:00
Lasse Öörni
33c24f8d20 Use reliable message congestion factor to determine how to modify the sendrate. 2011-08-06 14:10:17 +00:00
Lasse Öörni
d704d0fb79 Decreased ping interval.
Factor in RTT into how fast sendrate can be increased.
2011-08-02 21:58:58 +00:00
Lasse Öörni
6381b88166 Added state for server-side package transfers, instead of sending everything at once.
Slightly increased the ideal conditions' sendrate multiplier.
2011-08-02 06:20:06 +00:00
Lasse Öörni
728946d60d Fixed mixed up seconds & milliseconds in UDPMessageConnection RTT calculation.
Take the retransmission timeout into account when calculating if send rate should be increased.
2011-08-01 23:43:26 +00:00
Lasse Öörni
e0800cc376 One more flow control tweak. 2011-08-01 16:24:09 +00:00
Lasse Öörni
8f836d7233 Further flow control tweaks. 2011-08-01 10:56:59 +00:00
Lasse Öörni
6b4e2b36c7 Tuned flow control.
Automatically wait & retry if reliable message fails to queue.
2011-08-01 08:27:37 +00:00
Lasse Öörni
d807ec230a Decreased bandwidth adjustment aggressiveness.
Added connection stats logging to TestScene server.
2011-08-01 06:47:15 +00:00
Lasse Öörni
dca6687166 In absence of packet loss, use dynamic send rate increase/decrease based on utilization.
Removed unused UDPMessageConnection code.
2011-08-01 00:03:06 +00:00
Lasse Öörni
57e8e910af Fixed missing alwaysUpdateOwner script property in NetworkPriority. 2011-07-31 17:22:27 +00:00
Lasse Öörni
b694ad047e Refactored interest management into the NetworkPriority component.
Fixed setter functions referring to the Set class in Doxygen comments.
2011-07-31 17:19:00 +00:00
Lasse Öörni
216d4f046f Fixed VS2010 debug build. 2011-07-31 00:00:59 +00:00
Lasse Öörni
6d552a8193 Use fixed size 24 bit network object IDs for more deterministic bandwidth use.
ReadID() / WriteID() renamed to ReadFileID() / WriteFileID().
2011-07-30 20:57:28 +00:00
Lasse Öörni
68beb82607 Eliminated the medium message priority to avoid synchronization problems where update messages would be sent after a node's or component's removal. 2011-07-30 14:00:02 +00:00
Lasse Öörni
b3a8cf7039 Use HashMap/HashSet for rapidly changing data structures in Connection. 2011-07-30 11:49:57 +00:00