Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-03-28 | Unify DoWithBlockEntity (#5168) | Tiger Wang | 1 | -1/+1 | |
+ DoWith calls now broadcast the block entity and mark the chunk dirty + Add block entity change queue to synchronise BE updates with block updates * Fixed a few incorrect assertions about BE type - Remove manual overloads | |||||
2021-03-05 | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 1 | -2/+2 | |
* Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> | |||||
2021-01-12 | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 1 | -6/+4 | |
+ 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. | |||||
2020-09-12 | Reverse order of ChunkSender priorities (#4858) | Tiger Wang | 1 | -18/+15 | |
* Reduces confusion when using overloaded operator< and priority_queue Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-08-21 | ChunkDataSerializer: don't repeatedly mallocate | Tiger Wang | 1 | -0/+4 | |
+ Store an instance of the class, the way it seems it is meant to be used. | |||||
2020-07-19 | Precompile unordered_map/set | Tiger Wang | 1 | -3/+0 | |
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | |||||
2020-06-24 | Send entities in cChunkSender (#4532) | Mat | 1 | -1/+1 | |
Confer issue #3696 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -1/+3 | |
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 1 | -1/+1 | |
* 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 | |||||
2018-07-22 | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 1 | -2/+0 | |
This allows threads to be restarted after stopping. Fixes #4257 | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-08-21 | Implement protocol level chunk sparsing (#3864) | peterbell10 | 1 | -1/+1 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -1/+0 | |
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 1 | -1/+1 | |
- Added override keyword - Removed inherited member variables | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -11/+11 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -4/+4 | |
2015-06-22 | Fixed minor errors in Tycho's code | Tiger Wang | 1 | -7/+16 | |
Everything should work now :) | |||||
2015-06-10 | Reinstate "Chunk queue collapsing" | Tiger Wang | 1 | -51/+30 | |
This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | |||||
2015-06-07 | Revert "Chunk queue collapsing" | worktycho | 1 | -30/+51 | |
2015-06-05 | Rewrote ChunkSending queue for significantly improved performance | tycho | 1 | -45/+26 | |
2015-06-05 | Moved Chunk Broadcasts over to the regular queue | tycho | 1 | -8/+6 | |
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -22/+0 | |
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -1/+1 | |
2014-10-23 | Use 3 priorities. | Howaner | 1 | -1/+3 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-21 | Use two lists and 2 chunk send prioritys. | Howaner | 1 | -11/+4 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-06 | Stream 4 chunks per tick. Added priority. | Howaner | 1 | -2/+16 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -5/+2 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -5/+5 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-05-18 | Fixed issue with types not being defined for an unused parameter | Tycho | 1 | -1/+1 | |
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -0/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 1 | -1/+1 | |
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -3/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -153/+153 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -1/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-27 | Fixed a possible crash in ChunkSender - a client would be reported as removed but still would be in the internal queue. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@438 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -8/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-12 | Fixed MapChunk packets to include (fake) biome data, makes clients happy | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@403 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-11 | Stopping the ChunkSender upon server stop | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@401 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-11 | Not sending chunks to the client twice | madmaxoft@gmail.com | 1 | -0/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@399 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | ChunkSender: Fixed a potential crash: removing a client means that no Send() is called on that client anymore | madmaxoft@gmail.com | 1 | -4/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@384 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Added a little documentation on ChunkSender. | madmaxoft@gmail.com | 1 | -1/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@378 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkLists | madmaxoft@gmail.com | 1 | -0/+29 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@371 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :) | madmaxoft@gmail.com | 1 | -0/+63 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 |