Commit Graph

  • 700520f320 Further comments and code cleanup. Lasse Öörni 2011-08-14 09:28:40 +0000
  • de67af8825 CoreData / Data reorganization. Comments cleanup. Removed the fallback-data mechanism from IndexBuffer and VertexBuffer as unnecessary. Lasse Öörni 2011-08-13 15:43:52 +0000
  • 456ecfd184 Added missing class documentation. Added DirectSound version define. Lasse Öörni 2011-08-11 22:08:39 +0000
  • bf2b9ded9a Switched to Open Asset Import Library svn revision 1062. Lasse Öörni 2011-08-11 21:54:28 +0000
  • 5b44c38d32 Code cleanup. Actually use the added Contains() & Find() functions. Lasse Öörni 2011-08-10 17:53:55 +0000
  • 47c9319bf1 Added Contains() & Find() to Vector, PODVector and List. Lasse Öörni 2011-08-10 14:01:25 +0000
  • 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(). Lasse Öörni 2011-08-10 08:20:59 +0000
  • e3baa94267 Added assertions to Vector & String indexed access and to shared pointer dereferencing. Fixed debug build. Lasse Öörni 2011-08-10 00:30:07 +0000
  • 4a5dd11742 Fixed undefined behaviour related to the objects' networked attributes -optimization. Lasse Öörni 2011-08-09 23:54:20 +0000
  • 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. Lasse Öörni 2011-08-09 15:48:32 +0000
  • b7a8357081 Fixed RTT prediction calculation. Added slow backing off in case of high RTT and slight loss. Lasse Öörni 2011-08-08 19:19:38 +0000
  • ba533b449c Restored original sendrate decrease logic. Lasse Öörni 2011-08-07 23:12:41 +0000
  • 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. Lasse Öörni 2011-08-07 18:28:31 +0000
  • 48aff25c73 Tweaked the flow control frame rate. Lasse Öörni 2011-08-06 15:00:36 +0000
  • 33c24f8d20 Use reliable message congestion factor to determine how to modify the sendrate. Lasse Öörni 2011-08-06 14:10:17 +0000
  • d704d0fb79 Decreased ping interval. Factor in RTT into how fast sendrate can be increased. Lasse Öörni 2011-08-02 21:58:58 +0000
  • 6381b88166 Added state for server-side package transfers, instead of sending everything at once. Slightly increased the ideal conditions' sendrate multiplier. Lasse Öörni 2011-08-02 06:20:06 +0000
  • 728946d60d Fixed mixed up seconds & milliseconds in UDPMessageConnection RTT calculation. Take the retransmission timeout into account when calculating if send rate should be increased. Lasse Öörni 2011-08-01 23:43:26 +0000
  • e0800cc376 One more flow control tweak. Lasse Öörni 2011-08-01 16:24:09 +0000
  • 8f836d7233 Further flow control tweaks. Lasse Öörni 2011-08-01 10:56:59 +0000
  • 6b4e2b36c7 Tuned flow control. Automatically wait & retry if reliable message fails to queue. Lasse Öörni 2011-08-01 08:27:37 +0000
  • d807ec230a Decreased bandwidth adjustment aggressiveness. Added connection stats logging to TestScene server. Lasse Öörni 2011-08-01 06:47:15 +0000
  • dca6687166 In absence of packet loss, use dynamic send rate increase/decrease based on utilization. Removed unused UDPMessageConnection code. Lasse Öörni 2011-08-01 00:03:06 +0000
  • 57e8e910af Fixed missing alwaysUpdateOwner script property in NetworkPriority. Lasse Öörni 2011-07-31 17:22:27 +0000
  • b694ad047e Refactored interest management into the NetworkPriority component. Fixed setter functions referring to the Set class in Doxygen comments. Lasse Öörni 2011-07-31 17:19:00 +0000
  • 216d4f046f Fixed VS2010 debug build. Lasse Öörni 2011-07-31 00:00:59 +0000
  • 6d552a8193 Use fixed size 24 bit network object IDs for more deterministic bandwidth use. ReadID() / WriteID() renamed to ReadFileID() / WriteFileID(). Lasse Öörni 2011-07-30 20:57:28 +0000
  • 68beb82607 Eliminated the medium message priority to avoid synchronization problems where update messages would be sent after a node's or component's removal. Lasse Öörni 2011-07-30 14:00:02 +0000
  • b3a8cf7039 Use HashMap/HashSet for rapidly changing data structures in Connection. Lasse Öörni 2011-07-30 11:49:57 +0000
  • 53669f0c20 Added simple freelook camera controls to NinjaSnowWar server when run with rendering enabled. Disabled the status overlay from NinjaSnowWar server. Lasse Öörni 2011-07-30 11:22:00 +0000
  • 20a2a48ed9 Added hashing support to Pair template class. Use HashMap & HashSet more. Tweaked precompiled headers. Lasse Öörni 2011-07-30 11:05:20 +0000
  • bd76a14249 Fixed Unix build. Fixed counting of enemies in multiplayer NinjaSnowWar. Disabled snowball CollisionShape replication due to divergent simulation on the client. Removed previousControls from Connection as it is potentially unreliable if multiple controls packets arrive between updates. Lasse Öörni 2011-07-29 22:57:14 +0000
  • ca31354fb5 Added client's score/hiscore update to multiplayer NinjaSnowWar. Some renames for clarity (GetEventSender() instead of GetSender()) Lasse Öörni 2011-07-29 18:56:15 +0000
  • abe05c6a53 MinGW is no longer officially supported. Documentation update. Lasse Öörni 2011-07-29 15:46:47 +0000
  • 7f88b9977e Documentation update. Lasse Öörni 2011-07-29 12:44:45 +0000
  • 7b254df85d Added simple distance-based interest management for networking. Lasse Öörni 2011-07-29 12:24:22 +0000
  • 6f927f6997 Split Network subsystem update into two parts to queue new messages as early as possible. Lasse Öörni 2011-07-29 00:35:16 +0000
  • 38fe1554ba Initial multiplayer NinjaSnowWar. Various networking and script API bugfixes. Fixed kNet profiling compile errors due to STL -> Container library conversion. Fixed loading of textures failing in headless mode (just return success without doing anything.) The E_CLIENTCONNECTED and E_CLIENTDISCONNECTED events now also come from the Connection in question, to allow using GetSender() for convenience, instead of looking up the connection from event data. Added simple network traffic statistics logging to Connection. Lasse Öörni 2011-07-29 00:04:52 +0000
  • f622066c4a Changed certain profile blocks (extra/transparent passes, debug geometry) to trigger only when there is actually some work to be done. Lasse Öörni 2011-07-28 18:41:15 +0000
  • 444c18673e Code formatting & optimization. Lasse Öörni 2011-07-28 16:14:56 +0000
  • 1c154ef17e Uncommented the package file download test from TestScene.as. Fixed missing default arguments in the script API. Fixed crash if a script file is unloaded while executing a script function. Fixed Urho3D.exe not correcting the script file name to internal format (slashes instead of backslashes.) Use black default background for the Direct3D9 window. Lasse Öörni 2011-07-28 11:41:56 +0000
  • 43671aa66f Fixed up to one second delay in starting UDP datagram sends. Refactored SendMessage API in Connection & Network, allowing the user to specify message priority. Split Network library internal messages into 3 priority categories. Lasse Öörni 2011-07-28 09:01:33 +0000
  • 1d3f797643 Removed unnecessary code from Connection. Lasse Öörni 2011-07-27 23:06:12 +0000
  • f70cc35815 Added package file download support to the network protocol. Added commented out package download test code to TestScene.as. Increased kNet's UDP send rate upper limit and aggressiveness in increasing the send rate. Fixed being unable to do sparse seeks in files when writing. Container library bugfixes. Lasse Öörni 2011-07-27 22:41:12 +0000
  • db453e642d Network code cleanup. Enabled kNet flow control. Fixed kNet uninitialized variables. Lasse Öörni 2011-07-27 17:07:42 +0000
  • bad8e776de Added networking documentation. Lasse Öörni 2011-07-27 08:41:16 +0000
  • 07281ba969 Documentation update. Lasse Öörni 2011-07-26 16:04:26 +0000
  • 4d0e922e3f Added common script code for parsing network-related command line arguments. Lasse Öörni 2011-07-26 15:29:33 +0000
  • 67eec15057 Converted kNet to use Container library instead of STL. Fixed Container library bugs. Fixed uninitialized variable in PhysicsWorld. Lasse Öörni 2011-07-26 09:42:36 +0000
  • 40d04b377b Added Compare function to String, which is optionally case-insensitive. Added registration of allowed remote events. Lasse Öörni 2011-07-25 23:15:04 +0000
  • fbf5bd4076 Added log prints for loading & saving the scene. Lasse Öörni 2011-07-25 18:26:02 +0000
  • 48aa81e8e4 Added Node functions to get the world unsmoothed (target) transform. Added proper support for parented rigidbodies. Lasse Öörni 2011-07-25 15:30:18 +0000
  • d88b66deab Network code cleanup. Eliminated copying of initial node or component state. Lasse Öörni 2011-07-25 10:57:45 +0000
  • 40ad2d09b6 Queue remote events instead of sending immediately to avoid synchronization problems with scene updates. Changed inSerialization flag to loading flag. Lasse Öörni 2011-07-25 10:35:27 +0000
  • 19874cfb31 Changed RigidBody Vector3 set/get functions to use const references. Lasse Öörni 2011-07-24 23:03:49 +0000
  • 163aa247d9 Cleaned up animation network serialization code. Do not send autofadetime if not used. Do not reassign animation tracks if the start bone did not actually change. Lasse Öörni 2011-07-24 22:37:00 +0000
  • a6cc202b3c Added network replication of instant set weight / set time position commands for AnimationController. Increased precision of speed and fade time in Animationcontroller network replication. Lasse Öörni 2011-07-24 21:34:50 +0000
  • 23b410d9f4 Added AnimationController network replication. Changed the animation state layer to 8-bit. Lasse Öörni 2011-07-24 11:22:29 +0000
  • 21cb202f63 Disable motion smoothing from the scene when the server connection is destroyed. Lasse Öörni 2011-07-23 23:47:39 +0000
  • ffad4ba005 Fixed UI related crashes in headless mode. Fixed loading of materials in headless mode (just return success while doing nothing.) Fixed EventType parameter of SendRemoteEvent() / BroadcastRemoteEvent() in the script API, should be a string. Added smoothed motion for nodes in network client scene. Added enum CreateMode to CreateChild() & CreateComponent() which replaces the "local" bool parameter. Added possibility for client to spawn physics boxes in networked TestScene. Lasse Öörni 2011-07-23 23:33:57 +0000
  • 13d449d9cc Added Abs() to Vector2, Vector3 and Vector4. Compressed rotation and angular velocity to half size in network replication. Lasse Öörni 2011-07-23 18:00:38 +0000
  • cc2a487361 Further optimization of the parent node network replication attribute. Lasse Öörni 2011-07-23 15:05:38 +0000
  • 84d70dcbe7 Optimized away constant dynamic Variant allocation in comparing attributes when sending a server update. Lasse Öörni 2011-07-23 14:54:20 +0000
  • 0421200d2b Fixed missing base class network replication attributes. Lasse Öörni 2011-07-23 13:21:45 +0000
  • 50682de1c6 Store network replication attributes separately to optimize sending and receiving updates. Lasse Öörni 2011-07-23 12:36:03 +0000
  • 9000621bd2 Fixed CreateNode message. Added primitive client/server scene replication test to TestScene. Optimized reading delta & latestdata updates by exiting if all data has already been read. Lasse Öörni 2011-07-23 10:00:02 +0000
  • 67c77087bc Disabled network replication from SoundSource's position and autoremove attributes. Lasse Öörni 2011-07-22 23:17:00 +0000
  • 9b1a81d84a Changed _WIN32 #ifdef to WIN32. Early-exit Thread::Stop() if already stopped. Lasse Öörni 2011-07-22 22:58:54 +0000
  • 2e4d006674 Updated to newest kNet. Lasse Öörni 2011-07-22 21:00:38 +0000
  • 17dea98f14 Reading of scene update messages. Added network deltaupdate utility functions to Serializable. More network code refactoring. Lasse Öörni 2011-07-22 16:32:05 +0000
  • 644f08c12d Network code refactoring. Lasse Öörni 2011-07-22 14:27:11 +0000
  • bddedd7fd2 Added a function for components to list the nodes they depend on. Lasse Öörni 2011-07-22 09:53:28 +0000
  • ee9b6cc0f8 Renamed the script PostLoad() to FinishUpdate(). Optimized the finalization of CollisionShape & Joint attributes: the ODE object is not needlessly recreated. Lasse Öörni 2011-07-21 23:16:28 +0000
  • 7b15b34c83 Removed most OnGetAttribute() / OnSetAttribute() functions in favor of accessor attributes. Added compare to attribute default values when sending initial node or component attributes. Network updates for parent nodes are now sent before their child nodes. Renamed PostLoad() to OnFinishUpdate(). Fixed kNet null pointer assert in debug mode. Re-enabled memory leak checking in debug mode. Lasse Öörni 2011-07-21 21:23:49 +0000
  • 489053b85f Added content ID computation for latestdata messages. Lasse Öörni 2011-07-17 22:18:33 +0000
  • 1c6cd6a744 Fixed attribute indexing with latestdata updates. Lasse Öörni 2011-07-17 22:09:48 +0000
  • bd35b5a0e0 Added sending of scene replication messages. Lasse Öörni 2011-07-17 21:13:32 +0000
  • 4c3dd57980 Added more networking functionality, including remote events and client's controls update. Added Append functions to String. Removed networking mode from Scene, as it seems to be unnecessary. Lasse Öörni 2011-07-15 14:52:43 +0000
  • f28728b3e2 Send identity VariantMap on connecting to server. Fixed possible bug in WriteString/ReadString if the string contains zeroes in the middle. Lasse Öörni 2011-07-14 13:11:39 +0000
  • 91a0b5b41c Fixed Network library to use kNet forward defines. Added support for handling internal network messages. Lasse Öörni 2011-07-14 09:39:59 +0000
  • b89e9a547f Added log print when starting the connect attempt. Lasse Öörni 2011-07-13 23:43:52 +0000
  • 4e2c3376b7 Switched logging & event order for consistency. Lasse Öörni 2011-07-13 23:38:37 +0000
  • 2910f128f3 Added Connection class missing from previous commit. Lasse Öörni 2011-07-13 23:36:00 +0000
  • 71603ae52e Initial kNet-based networking implementation. Renamed SharedPtr::Ptr() to RawPtr() to avoid conflicts with kNet's Ptr macro. Added chat test program. Lasse Öörni 2011-07-13 23:32:57 +0000
  • 07fda9f32e Preparation to using kNet: renamed SharedPtr.h to Ptr.h to avoid conflicts. Lasse Öörni 2011-07-13 13:09:39 +0000
  • af2b4311dc Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript. Lasse Öörni 2011-07-12 09:08:17 +0000
  • 282107676f Fixed immediate geometry performance on Direct3D9. Lasse Öörni 2011-07-11 21:59:59 +0000
  • 4d5b7fa05a Fixed newline character being returned from GetConsoleInput() on Unix. Comments & documentation fixes. Lasse Öörni 2011-07-10 22:18:50 +0000
  • de10f28d79 Fixed shader program error message check to use glGetProgramInfoLog(). Lasse Öörni 2011-07-10 16:45:38 +0000
  • d4f640c7e1 Fixed search/replace damage. Lasse Öörni 2011-07-08 22:30:08 +0000
  • 93377bf50d Fixed OpenGL build. Lasse Öörni 2011-07-06 22:37:37 +0000
  • f6fa2e6c7e Fixed illegal D3DLOCK_NOOVERWRITE with non-dynamic vertex and index buffers. Lasse Öörni 2011-07-06 22:00:46 +0000
  • 5a6c8f6d27 Removed global properties related to the script object's ScriptInstance. The ScriptInstance is available as the global property "self" instead. Documentation update. Lasse Öörni 2011-07-05 08:46:45 +0000
  • 180da947fa Added generated scripting API reference. Modified Script::DumpAPI() to output in Doxygen format. Lasse Öörni 2011-07-05 08:25:04 +0000
  • 40caea422e Migrated to AngelScript 2.21.0. Removed manual invocation of AngelScript garbage collection. Lasse Öörni 2011-07-04 21:33:42 +0000
  • aa2491a7ac Moved SharedPtr & SharedArrayPtr to the Container library. Lasse Öörni 2011-07-04 20:58:27 +0000
  • a7a94a7af2 Unified the texture get/set data API between Direct3D9 & OpenGL. Refactored OpenGL texture data restore on context recreation: now data is explicitly stored then restored, instead of relying on resource reload. Lasse Öörni 2011-07-04 18:55:46 +0000
  • ecec223f4d Whitespace edits. Lasse Öörni 2011-06-30 21:33:20 +0000
  • 67832c0bd6 Fixed character encoding in source. Lasse Öörni 2011-06-30 21:28:05 +0000
  • 69a78da8df Switched to GLFW 3.0. Lasse Öörni 2011-06-30 21:03:59 +0000