summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BroadcastInterface.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify multiprotocol entity animationsTiger Wang2021-04-121-3/+1
|
* Don't send ping updates one packet at a timeTiger Wang2021-03-191-1/+1
| | | | | * 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).
* Adding Boss bar (#5025)12xx122021-03-051-1/+2
| | | | | + 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/+1
|
* Improve entity position updates (#4701)Tiger Wang2020-05-041-4/+2
| | | | | | | | | * 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
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-2/+2
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Store and pass entity effect duration as an int not a short. (#4293)Alexander Harkness2018-08-261-1/+1
| | | Fixes #4292.
* Broadcast refactor (#4264)peterbell102018-07-241-6/+56
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-1/+1
| | | | | | | | | | | | | | | | | | * Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
* removed cast from BlockTrapdoor.h (#3256)gaurav sehgal2016-07-071-0/+7
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-1/+1
|
* Fixed non-virtual destructors warnings.madmaxoft2014-03-281-1/+2
|
* Beds now work properly fixes #707Tiger Wang2014-03-091-2/+3
| | | | | | | | Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
* Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-0/+10