summaryrefslogtreecommitdiffstats
path: root/src/Broadcaster.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Streamline player abilities handlingTiger Wang2021-04-121-0/+13
| | | | | | | * Update player list gamemode on world change * Fix invisibility for spectators, use entity metadata * Populate m_World for cPlayers on load - Remove SendPlayerMaxSpeed, a duplicate of SendEntityProperties
* Fix sending incorrect date values on world changeTiger Wang2021-04-121-1/+1
| | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge.
* Change TimeOfDay to WorldDate (#5160)Tiger Wang2021-03-201-1/+1
| | | | | | | * Change TimeOfDay to WorldDate * Do not wrap at 20 minutes, continue incrementing * Fixes #4737 * Fixes #5159
* Don't send ping updates one packet at a timeTiger Wang2021-03-191-3/+3
| | | | | * Use the batch update feature of the packet. * Lengthen interval between time and ping update packets (ref. http://github.com/cuberite/cuberite/issues/4082#issuecomment-348675321).
* Fixed some death messages showing up even when they are disabled. (#5153)NiLSPACE2021-03-111-0/+5
|
* Adding Boss bar (#5025)12xx122021-03-051-6/+19
| | | | | + Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Adds playerlist header and footer broadcasting (1.8-1.13)dImrich2021-02-061-0/+13
|
* Broadcaster: don't loop over all entities to broadcast one's positionTiger Wang2020-08-281-1/+1
| | | | * Use ForClientsWithEntity
* Improve entity position updates (#4701)Tiger Wang2020-05-041-32/+6
| | | | | | | | | * Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity
* Fix building with clang 8.0 (#4346)Bond-0092019-08-111-1/+1
|
* Store and pass entity effect duration as an int not a short. (#4293)Alexander Harkness2018-08-261-1/+1
| | | Fixes #4292.
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Broadcast refactor (#4264)peterbell102018-07-241-25/+601
| | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions
* Removed ClientHandle.h dependencies from common headers.Mattes D2016-11-181-1/+14
|
* Fixed some Visual Studio warningsTiger Wang2015-05-091-1/+1
|
* Added support for additional data in the ParticleEffect Packettycho2015-05-071-0/+47
Also started refactoring how broadcasts are handled