summaryrefslogtreecommitdiffstats
path: root/src/Broadcaster.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-12Unify multiprotocol entity animationsTiger Wang1-27/+1
2021-04-12Streamline player abilities handlingTiger Wang1-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
2021-04-12Fix sending incorrect date values on world changeTiger Wang1-1/+1
Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge.
2021-03-20Change TimeOfDay to WorldDate (#5160)Tiger Wang1-1/+1
* Change TimeOfDay to WorldDate * Do not wrap at 20 minutes, continue incrementing * Fixes #4737 * Fixes #5159
2021-03-19Don't send ping updates one packet at a timeTiger Wang1-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).
2021-03-11Fixed some death messages showing up even when they are disabled. (#5153)NiLSPACE1-0/+5
2021-03-05Adding Boss bar (#5025)12xx121-6/+19
+ Add boss bar Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2021-02-06Adds playerlist header and footer broadcasting (1.8-1.13)dImrich1-0/+13
2020-08-28Broadcaster: don't loop over all entities to broadcast one's positionTiger Wang1-1/+1
* Use ForClientsWithEntity
2020-05-04Improve entity position updates (#4701)Tiger Wang1-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
2019-08-11Fix building with clang 8.0 (#4346)Bond-0091-1/+1
2018-08-26Store and pass entity effect duration as an int not a short. (#4293)Alexander Harkness1-1/+1
Fixes #4292.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+1
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-24Broadcast refactor (#4264)peterbell101-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
2016-11-18Removed ClientHandle.h dependencies from common headers.Mattes D1-1/+14
2015-05-09Fixed some Visual Studio warningsTiger Wang1-1/+1
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-0/+47
Also started refactoring how broadcasts are handled