summaryrefslogtreecommitdiffstats
path: root/src/StringCompression.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clarify cClientHandle, cPlayer ownership semanticsTiger Wang2021-01-121-2/+0
| | | | | | | | + A cPlayer, once created, has a strong pointer to the cClientHandle. The player ticks the clienthandle. If he finds the handle destroyed, he destroys himself in turn. Nothing else can kill the player. * The client handle has a pointer to the player. Once a player is created, the client handle never outlasts the player, nor does it manage the player's lifetime. The pointer is always safe to use after FinishAuthenticate, which is also the point where cProtocol is put into the Game state that allows player manipulation. + Entities are once again never lost by constructing a chunk when they try to move into one that doesn't exist. * Fixed a forgotten Super invocation in cPlayer::OnRemoveFromWorld. * Fix SaveToDisk usage in destructor by only saving things cPlayer owns, instead of accessing cWorld.
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-12/+70
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* Unified the doxy-comment format.Mattes D2015-07-311-4/+4
|
* Anvil: switched inflate to stream mode.madmaxoft2014-09-031-0/+2
| | | | This removes the fixed-size buffer which could have caused #1307 and #1366.
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-2/+2
|
* Fixed StringCompression's GZIP handling for larger strings.madmaxoft2014-04-021-2/+2
|
* Added user setting compression factorTycho2014-01-171-1/+1
|
* Fixed loads more of them.Alexander Harkness2013-11-261-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+25