Lasse Öörni
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.
2011-07-24 21:34:50 +00:00
Lasse Öörni
23b410d9f4
Added AnimationController network replication.
...
Changed the animation state layer to 8-bit.
2011-07-24 11:22:29 +00:00
Lasse Öörni
21cb202f63
Disable motion smoothing from the scene when the server connection is destroyed.
2011-07-23 23:47:39 +00:00
Lasse Öörni
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.
2011-07-23 23:33:57 +00:00
Lasse Öörni
13d449d9cc
Added Abs() to Vector2, Vector3 and Vector4.
...
Compressed rotation and angular velocity to half size in network replication.
2011-07-23 18:00:38 +00:00
Lasse Öörni
cc2a487361
Further optimization of the parent node network replication attribute.
2011-07-23 15:05:38 +00:00
Lasse Öörni
84d70dcbe7
Optimized away constant dynamic Variant allocation in comparing attributes when sending a server update.
2011-07-23 14:54:20 +00:00
Lasse Öörni
0421200d2b
Fixed missing base class network replication attributes.
2011-07-23 13:21:45 +00:00
Lasse Öörni
50682de1c6
Store network replication attributes separately to optimize sending and receiving updates.
2011-07-23 12:36:03 +00:00
Lasse Öörni
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.
2011-07-23 10:00:02 +00:00
Lasse Öörni
67c77087bc
Disabled network replication from SoundSource's position and autoremove attributes.
2011-07-22 23:17:00 +00:00
Lasse Öörni
9b1a81d84a
Changed _WIN32 #ifdef to WIN32.
...
Early-exit Thread::Stop() if already stopped.
2011-07-22 22:58:54 +00:00
Lasse Öörni
2e4d006674
Updated to newest kNet.
2011-07-22 21:00:38 +00:00
Lasse Öörni
17dea98f14
Reading of scene update messages.
...
Added network deltaupdate utility functions to Serializable.
More network code refactoring.
2011-07-22 16:32:05 +00:00
Lasse Öörni
644f08c12d
Network code refactoring.
2011-07-22 14:27:11 +00:00
Lasse Öörni
bddedd7fd2
Added a function for components to list the nodes they depend on.
2011-07-22 09:53:28 +00:00
Lasse Öörni
ee9b6cc0f8
Renamed the script PostLoad() to FinishUpdate().
...
Optimized the finalization of CollisionShape & Joint attributes: the ODE object is not needlessly recreated.
2011-07-21 23:16:28 +00:00
Lasse Öörni
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.
2011-07-21 21:23:49 +00:00
Lasse Öörni
489053b85f
Added content ID computation for latestdata messages.
2011-07-17 22:18:33 +00:00
Lasse Öörni
1c6cd6a744
Fixed attribute indexing with latestdata updates.
2011-07-17 22:09:48 +00:00
Lasse Öörni
bd35b5a0e0
Added sending of scene replication messages.
2011-07-17 21:13:32 +00:00
Lasse Öörni
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.
2011-07-15 14:52:43 +00:00
Lasse Öörni
f28728b3e2
Send identity VariantMap on connecting to server.
...
Fixed possible bug in WriteString/ReadString if the string contains zeroes in the middle.
2011-07-14 13:11:39 +00:00
Lasse Öörni
91a0b5b41c
Fixed Network library to use kNet forward defines.
...
Added support for handling internal network messages.
2011-07-14 09:39:59 +00:00
Lasse Öörni
b89e9a547f
Added log print when starting the connect attempt.
2011-07-13 23:43:52 +00:00
Lasse Öörni
4e2c3376b7
Switched logging & event order for consistency.
2011-07-13 23:38:37 +00:00
Lasse Öörni
2910f128f3
Added Connection class missing from previous commit.
2011-07-13 23:36:00 +00:00
Lasse Öörni
71603ae52e
Initial kNet-based networking implementation.
...
Renamed SharedPtr::Ptr() to RawPtr() to avoid conflicts with kNet's Ptr macro.
Added chat test program.
2011-07-13 23:32:57 +00:00
Lasse Öörni
07fda9f32e
Preparation to using kNet: renamed SharedPtr.h to Ptr.h to avoid conflicts.
2011-07-13 13:09:39 +00:00
Lasse Öörni
af2b4311dc
Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript.
2011-07-12 09:08:17 +00:00
Lasse Öörni
282107676f
Fixed immediate geometry performance on Direct3D9.
2011-07-11 21:59:59 +00:00
Lasse Öörni
4d5b7fa05a
Fixed newline character being returned from GetConsoleInput() on Unix.
...
Comments & documentation fixes.
2011-07-10 22:18:50 +00:00
Lasse Öörni
de10f28d79
Fixed shader program error message check to use glGetProgramInfoLog().
2011-07-10 16:45:38 +00:00
Lasse Öörni
d4f640c7e1
Fixed search/replace damage.
2011-07-08 22:30:08 +00:00
Lasse Öörni
93377bf50d
Fixed OpenGL build.
2011-07-06 22:37:37 +00:00
Lasse Öörni
f6fa2e6c7e
Fixed illegal D3DLOCK_NOOVERWRITE with non-dynamic vertex and index buffers.
2011-07-06 22:00:46 +00:00
Lasse Öörni
5a6c8f6d27
Removed global properties related to the script object's ScriptInstance. The ScriptInstance is available as the global property "self" instead.
...
Documentation update.
2011-07-05 08:46:45 +00:00
Lasse Öörni
180da947fa
Added generated scripting API reference.
...
Modified Script::DumpAPI() to output in Doxygen format.
2011-07-05 08:25:04 +00:00
Lasse Öörni
40caea422e
Migrated to AngelScript 2.21.0.
...
Removed manual invocation of AngelScript garbage collection.
2011-07-04 21:33:42 +00:00
Lasse Öörni
aa2491a7ac
Moved SharedPtr & SharedArrayPtr to the Container library.
2011-07-04 20:58:27 +00:00
Lasse Öörni
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.
2011-07-04 18:55:46 +00:00
Lasse Öörni
ecec223f4d
Whitespace edits.
2011-06-30 21:33:20 +00:00
Lasse Öörni
67832c0bd6
Fixed character encoding in source.
2011-06-30 21:28:05 +00:00
Lasse Öörni
69a78da8df
Switched to GLFW 3.0.
2011-06-30 21:03:59 +00:00
Lasse Öörni
79d084f9cf
Removed GLFW 2.7 in preparation of adding 3.0.
2011-06-30 20:56:53 +00:00
Lasse Öörni
bd3fff14b7
Added void pointer hash functions.
2011-06-29 21:58:04 +00:00
Lasse Öörni
fc7b593078
Fixed having to press Enter twice to retrigger the fullscreen toggle.
2011-06-26 22:15:59 +00:00
Lasse Öörni
0d06cafd51
Added fadein/fadeout on entering or leaving fullscreen mode on OSX. Removed deprecated Carbon code.
2011-06-26 21:59:48 +00:00
Lasse Öörni
0ea42a9762
Removed counterproductive frustum side masking from culling tests.
2011-06-26 19:45:44 +00:00
Lasse Öörni
a13c05068a
Added necessary #ifdef.
2011-06-26 17:53:01 +00:00