Perttu Ahola
|
75fef62758
Fix Connection not sending delta update if only user variables have been modified
|
11 years ago |
Lasse Öörni
|
5e8b50c9d3
Further package download logic fixes to ensure a package is not potentially entered into the resource cache several times, and that packages in the cache are scanned for only when necessary.
|
11 years ago |
Lasse Öörni
|
8cc2386650
Clean up duplicated code related to package download requests.
|
11 years ago |
Lasse Öörni
|
18e85ab18a
Changed Connection::SendPackageToClient() to not broadcast to all clients. Instead Network::SendPackageToClients() will send to all clients in a specific scene. Updated Network Lua bindings.
|
11 years ago |
Lasse Öörni
|
cde92a8358
Minor editing of comments.
|
11 years ago |
cin
|
949de81bd4
All sync method replaced by void Connection::SendPackageToClients(PackageFile* package) may be called after Scene::AddRequiredPackageFile on server
|
11 years ago |
cin
|
264cd304ff
Check changes in required packages before sync.
|
11 years ago |
cin
|
005dee766c
Added SyncPackages method. Can be called server and client connection.
|
11 years ago |
Lasse Öörni
|
3032244467
Use StartNewMessage / EndAndQueueMessage to prevent assert with zero size messages. Closes #478.
|
11 years ago |
Lasse Öörni
|
e9f0baa398
Remote event registration is checked only when receiving.
|
11 years ago |
Lasse Öörni
|
0472b4d410
Allow sending client observer rotation in addition to position. Note that rotation is not used by the NetworkPriority component, but can be used for custom logic. Do not send the observer pos/rot until actually set by the client. Closes #428.
|
11 years ago |
Lasse Öörni
|
a06c328305
Store Connection's address & port on construction, so that we do not log a zero address later if the socket has already been destroyed.
|
11 years ago |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
46285baf97
Refactor build scripts to group Urho3D specific build option.
|
11 years ago |
Lasse Öörni
|
47836474e2
Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 years ago |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 years ago |
Lasse Öörni
|
3b32acf27f
Added possibility to clear scene of only replicated or local content. Do not clear local content from a client scene when joining a server. This makes the startup of the SceneReplication sample faster, as the static scene is not replicated.
|
12 years ago |
Lasse Öörni
|
dfb318b4f9
Added scene network replication sample.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |