zoomsquirrels/Horizon — pull request #6 by MorgenBlue (2013-05-07 14:37:34+00:00)
Title: Some bug fixes and lots of network optimizations.

Can now die in a vehicle.
Fixed entities not having properties applied when spawned in space
Optimized some code. My local servers cpu usage dropped considerably in my tests.
Changed gm think to tick
Synced states of entities to new players. Will use similar system to sync all devices updates in the future to save on network usage.
Moved most server side networking to a separate file.
Fixed HUD not updating in some cases.

Added shared function GM:AddClassName(name)
Added shared function GM:IsHznClass(name)
These classes allow to check if something is a Horizon entity based on class name without having to conform to naming scheme. Used in code that syncs device status to new players.

Network optimizations will have little visible benefit until applied to all the resource updates to. Might replace with DTVars in the future.