Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 2016-01-21 | 1 | -60/+89 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -13/+1 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+3 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 1 | -1/+1 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+8 |
| | |||||
* | Fixed wrong assumtion regarding RemoveClient | tycho | 2015-09-19 | 1 | -3/+1 |
| | | | | Remove client can be called with a client that is not present in the chunk | ||||
* | Removed a significant performance issue. | tycho | 2015-09-18 | 1 | -4/+9 |
| | | | | | | Iterating through the list of clients in chunks was taking up a significant amount of time with larger numbers of clients due to processor stalls. Changing the data structure to a vector fixed the issue. | ||||
* | Reinstate "Chunk queue collapsing" | Tiger Wang | 2015-06-10 | 1 | -1/+0 |
| | | | | | This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | ||||
* | Revert "Chunk queue collapsing" | worktycho | 2015-06-07 | 1 | -0/+1 |
| | |||||
* | Moved Chunk Broadcasts over to the regular queue | tycho | 2015-06-05 | 1 | -1/+0 |
| | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Added support for additional data in the ParticleEffect Packet | tycho | 2015-05-07 | 1 | -3/+3 |
| | | | | Also started refactoring how broadcasts are handled | ||||
* | Fixed signedness warnings in Protocol. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -2/+2 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -24/+24 |
| | |||||
* | Fixed error with non-const function | Julian Laubstein | 2014-10-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1502 from mc-server/furnaces | Tiger Wang | 2014-10-18 | 1 | -1/+1 |
|\ | | | | | Improved furnaces | ||||
| * | Improved furnaces | Tiger Wang | 2014-10-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | ||||
* | | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+1 |
|/ | |||||
* | Add data accessor. | worktycho | 2014-09-27 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | Tycho | 2014-09-26 | 1 | -2/+2 |
|\ | |||||
| * | Fixed issue with casting | tycho | 2014-09-26 | 1 | -2/+2 |
| | | |||||
* | | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+5 |
|/ | |||||
* | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| * | 1.8: Added ParticleEffect packet. | Howaner | 2014-09-11 | 1 | -1/+1 |
| | | |||||
* | | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 2014-09-16 | 1 | -10/+1 |
| | | |||||
* | | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2014-09-11 | 1 | -8/+10 |
|/ | | | | THis wil hopefully allow for unit testing | ||||
* | Removed chunk's unused Y coord. | Mattes D | 2014-09-06 | 1 | -2/+1 |
| | | | | This fixes the second issue of #1313. | ||||
* | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 2014-09-05 | 1 | -7/+37 |
| | | | | This fixes #1370. | ||||
* | Merge remote-tracking branch 'origin/master' into EntitiesInBox | madmaxoft | 2014-09-04 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #1351 from LO1ZB/remove-a_RelY | Mattes D | 2014-09-03 | 1 | -1/+1 |
| |\ | | | | | | | remove y-coord from chunks | ||||
| | * | remove y-coord from chunks | LO1ZB | 2014-08-28 | 1 | -1/+1 |
| | | | |||||
* | | | Added cWorld::ForEachEntityInBox() | madmaxoft | 2014-09-03 | 1 | -0/+4 |
|/ / | |||||
* | | cChunk: Fixed the Coords param. | Mattes D | 2014-08-29 | 1 | -1/+1 |
| | | |||||
* | | Rewritten block entity loading. | Mattes D | 2014-08-29 | 1 | -1/+1 |
|/ | | | | | | Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354. | ||||
* | CheckBasicStyle checks the src folder as well. | madmaxoft | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 2014-08-05 | 1 | -1/+5 |
| | |||||
* | Exported the beacon. | Howaner | 2014-07-30 | 1 | -0/+5 |
| | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -3/+3 |
| | |||||
* | Added a queue for setting chunk data. | madmaxoft | 2014-07-24 | 1 | -10/+4 |
| | | | | Fixes #1196. | ||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -6/+6 |
| | |||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -1/+0 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -1/+1 |
| | |||||
* | Fixed style consistency. | madmaxoft | 2014-07-10 | 1 | -2/+2 |
| | |||||
* | Implemented support for forced chunk ticking. | madmaxoft | 2014-07-10 | 1 | -4/+26 |
| | | | | Fixes #1160. | ||||
* | Added generic entity-collecting. | Mattes D | 2014-06-27 | 1 | -1/+1 |
| | | | | | Now any cEntity can be collected, not only cPickups. This should help PR #1098. | ||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 1 | -1/+2 |
| | |||||
* | Redstone fixes and improvements [SEE DESC] | Tiger Wang | 2014-06-05 | 1 | -1/+8 |
| | | | | | | | | Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes | ||||
* | Merge remote-tracking branch 'origin/pistonfixes' | Tiger Wang | 2014-06-02 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: src/Chunk.cpp | ||||
| * | Hopefully fixed piston duplication issues | Tiger Wang | 2014-05-25 | 1 | -2/+2 |
| | | | | | | | | | | * Fixes #879 * Fixes #714 | ||||
| * | Redstone simulator now directly accesses cChunk | Tiger Wang | 2014-04-27 | 1 | -5/+4 |
| | | | | | | | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes | ||||
* | | Implemented style changes | Tycho | 2014-05-24 | 1 | -2/+2 |
| | | |||||
* | | Changed cChunkData::SetMeta to return a bool indicating whether the value changed | Tycho | 2014-05-21 | 1 | -3/+3 |
| | | |||||
* | | Renamed cChunkBuffer to cChunkData | Tycho | 2014-05-21 | 1 | -6/+6 |
| | | |||||
* | | Fixed stupid error | Tycho | 2014-05-10 | 1 | -1/+1 |
| | | |||||
* | | Fixed bug in setting metas | Tycho | 2014-05-10 | 1 | -1/+7 |
| | | |||||
* | | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-04-27 | 1 | -2/+2 |
|\| | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h | ||||
| * | Merge pull request #863 from mc-server/chunkysparsing | Mattes D | 2014-04-26 | 1 | -7/+7 |
| |\ | | | | | | | Chunky sparsing | ||||
| | * | Implemented comments | Tiger Wang | 2014-04-25 | 1 | -4/+4 |
| | | | |||||
| * | | Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does. | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | | | |||||
| * | | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | Implemented Chunk Sparsing with segments | Tycho | 2014-04-26 | 1 | -16/+16 |
| |/ |/| | |||||
* | | Maybe speed improvements? | Tiger Wang | 2014-04-07 | 1 | -1/+1 |
| | | | | | | | | | | * Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block | ||||
* | | Blocklight and skylight now compressed | Tiger Wang | 2014-04-07 | 1 | -4/+4 |
| | | |||||
* | | Nibbletypes are compressed | Tiger Wang | 2014-04-05 | 1 | -1/+1 |
| | | | | | | | | | | + Added nibble compression * Fixed an off by one | ||||
* | | Speed and memory improvements | Tiger Wang | 2014-04-04 | 1 | -1/+1 |
| | | | | | | | | * Changed array to be continuous, so no more layer splitting | ||||
* | | Sort of implementation of chunk sparsing | Tiger Wang | 2014-03-23 | 1 | -1/+1 |
|/ | | | | | | | Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed' | ||||
* | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 2014-03-07 | 1 | -2/+2 |
| | |||||
* | Add Flower Pots | Howaner | 2014-03-07 | 1 | -1/+6 |
| | |||||
* | Removed an unused member variable from cChunk. | madmaxoft | 2014-02-24 | 1 | -1/+0 |
| | |||||
* | Merge pull request #697 from Howaner/Skull | Mattes D | 2014-02-19 | 1 | -1/+6 |
|\ | | | | | Add Skulls/Heads to MCServer | ||||
| * | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -4/+4 |
| | | |||||
| * | Add Heads completely | Howaner | 2014-02-18 | 1 | -1/+6 |
| | | |||||
* | | Added cWorld:SetAreaBiome() API function. | madmaxoft | 2014-02-18 | 1 | -0/+8 |
|/ | | | | Fixes #675. | ||||
* | Sizeable speed improvements to redstone | Tiger Wang | 2014-02-15 | 1 | -2/+12 |
| | | | | | | | | | | | | | + Moved all simulator data into individual chunks * Cleaned up parameters for functions and some code * Fixed repeaters powering off faster than they power on The main issue before was that, although the redstone simulator stored blocks to be simulated in individual cChunks, other data, such as powered lists, and etcetera, were global regardless of which chunk was being simulated. Therefore, with worlds with lots of redstone, each tick saw the ticking of chunks, which themselves iterated through the entire dataset needlessly, creating LOTS of lag. Should be better now :) | ||||
* | Initial ChunkStay code. | madmaxoft | 2014-02-08 | 1 | -54/+56 |
| | |||||
* | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Basic command block implementation | andrew | 2014-01-18 | 1 | -6/+10 |
| | |||||
* | Fixed compilation in VC2008. | madmaxoft | 2013-12-30 | 1 | -23/+0 |
| | | | | Also removed an unused inline header file (yuck). | ||||
* | Implented BroadcastParticleEffect | STRWarrior | 2013-12-22 | 1 | -0/+1 |
| | |||||
* | This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions. | STRWarrior | 2013-12-15 | 1 | -0/+2 |
| | |||||
* | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -1/+5 |
| | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | Renamed animation function | Tiger Wang | 2013-12-07 | 1 | -1/+1 |
| | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | ||||
* | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 2013-12-06 | 1 | -3/+4 |
| | | | | | | | If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | ||||
* | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+9 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+475 |