summaryrefslogtreecommitdiffstats
path: root/src/StringCompression.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-12Clarify cClientHandle, cPlayer ownership semanticsTiger Wang1-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.
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-12/+70
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2015-07-31Unified the doxy-comment format.Mattes D1-4/+4
2014-09-03Anvil: switched inflate to stream mode.madmaxoft1-0/+2
This removes the fixed-size buffer which could have caused #1307 and #1366.
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-04-02Fixed StringCompression's GZIP handling for larger strings.madmaxoft1-2/+2
2014-01-17Added user setting compression factorTycho1-1/+1
2013-11-26Fixed loads more of them.Alexander Harkness1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com1-2/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-17/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-16Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properlymadmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6