summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/pistonfixes'Tiger Wang2014-06-021-14/+16
|\ | | | | | | | | Conflicts: src/Chunk.cpp
| * Suggestions twoTiger Wang2014-06-011-7/+9
| |
| * More comments!Tiger Wang2014-05-291-5/+4
| |
| * Hopefully fixed piston duplication issuesTiger Wang2014-05-251-5/+6
| | | | | | | | | | * Fixes #879 * Fixes #714
* | Added comments, reformatted code.madmaxoft2014-05-291-3/+3
| |
* | Implemented style changesTycho2014-05-241-2/+2
| |
* | Fixed stylistic issuesTycho2014-05-211-2/+2
| |
* | Renamed cChunkBuffer to cChunkDataTycho2014-05-211-19/+19
| |
* | Fixed minor style issuesTycho2014-05-211-4/+4
| |
* | Fixed bug in setting metasTycho2014-05-101-18/+0
| |
* | Merge branch 'master' into chunksparsing/structsTycho2014-05-101-1/+19
|\| | | | | | | | | Conflicts: src/Chunk.h
| * Merge branch 'master' into redstoneimprovementsTiger Wang2014-05-041-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| | * Fixed a buffer overflow in cChunk:SetLight().madmaxoft2014-05-021-2/+2
| | | | | | | | | | | | There are only half as many bytes for light than there are blocktypes.
| * | Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-1/+19
| |/ | | | | | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes
* | Fixed bad mergeTycho2014-04-271-13/+9
| |
* | Merge branch 'master' into chunksparsing/structsTycho2014-04-271-14/+19
|\| | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h
| * Merge pull request #863 from mc-server/chunkysparsingMattes D2014-04-261-33/+97
| |\ | | | | | | Chunky sparsing
| | * Implemented commentsTiger Wang2014-04-251-6/+6
| | |
| | * Fixed indentTiger Wang2014-04-241-1/+1
| | |
| | * Another small speed improvement?Tiger Wang2014-04-241-12/+2
| | |
| | * Implemented suggestionsTiger Wang2014-04-241-22/+6
| | |
| * | Merge pull request #909 from jfhumann/fixesMattes D2014-04-221-2/+2
| |\ \ | | | | | | | | | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp
| | * | Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-2/+2
| | | |
| * | | Implemented the skeleton code for the beacon.STRWarrior2014-04-121-0/+2
| |/ / | | | | | | | | | There is no handling for the GUI. It can now check how big the pyramid is under the beacon.
| * | Fixed missing - that caused all neighbour lookups to go to the chunkmapTycho2014-04-081-1/+1
| | |
* | | Implemented Chunk Sparsing with segmentsTycho2014-04-261-153/+33
| |/ |/|
* | Replaced all the .data() calls so the code compiles in VS2008Tycho2014-04-101-5/+5
| |
* | Maybe speed improvements?Tiger Wang2014-04-071-47/+28
| | | | | | | | | | * Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block
* | Attempt to fix errorsTiger Wang2014-04-071-2/+2
| |
* | Blocklight and skylight now compressedTiger Wang2014-04-071-24/+82
| |
* | Nibbletypes are compressedTiger Wang2014-04-051-15/+34
| | | | | | | | | | + Added nibble compression * Fixed an off by one
* | Speed and memory improvementsTiger Wang2014-04-041-61/+14
| | | | | | | | * Changed array to be continuous, so no more layer splitting
* | Merge remote-tracking branch 'origin/master' into chunkysparsingTiger Wang2014-04-031-1/+12
|\|
| * Merge pull request #838 from mc-server/lilypadsworktycho2014-03-301-1/+1
| |\ | | | | | | Lilypads
| | * Fixed a potential crashTiger Wang2014-03-281-1/+1
| | |
| * | Fixed chunk neighbor-getting for long distances.madmaxoft2014-03-271-0/+11
| |/ | | | | | | This fixes a server hang when teleporting to coords too far away.
* | Fixed some bugsTiger Wang2014-04-031-3/+5
| | | | | | | | | | * Fixed undefined behaviour * Fixed compression failure
* | Performance improvements and chunk flipping fixedTiger Wang2014-04-021-30/+32
| |
* | Sort of implementation of chunk sparsingTiger Wang2014-03-231-17/+92
|/ | | | | | | Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed'
* Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-071-1/+1
|
* Add Flower PotsHowaner2014-03-071-0/+35
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-5/+5
|
* Removed an unused member variable from cChunk.madmaxoft2014-02-241-7/+0
|
* Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+35
|\ | | | | Add Skulls/Heads to MCServer
| * Rename SkullEntity to MobHeadEntityHowaner2014-02-191-3/+3
| |
| * Add Heads completelyHowaner2014-02-181-0/+33
| |
| * Add Skulls/HeadsHowaner2014-02-171-0/+2
| |
* | Added cWorld:SetAreaBiome() API function.madmaxoft2014-02-181-0/+32
|/ | | | Fixes #675.
* Initial ChunkStay code.madmaxoft2014-02-081-1/+0
|
* Changed Signiture of OnUpdateTycho2014-02-021-4/+10
|
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-2/+4
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Basic command block implementationandrew2014-01-181-0/+34
|
* Disabled excessive entity-related logging in Debug mode.madmaxoft2014-01-161-2/+15
|
* fixed bad mergeTycho Bickerstaff2013-12-221-4/+0
|
* merged in changesTycho Bickerstaff2013-12-221-0/+9
|\
| * Merge branch 'master' of github.com:mc-server/MCServerTycho Bickerstaff2013-12-221-0/+16
| |\
| * | Chunk is now warnings cleanTycho Bickerstaff2013-12-211-3/+2
| | |
* | | merged in warnings changesTycho Bickerstaff2013-12-221-11/+4
| |/ |/|
* | Implented BroadcastParticleEffectSTRWarrior2013-12-221-0/+16
|/
* Fixed the rest of constructor reorders.madmaxoft2013-12-201-20/+21
|
* Attempt at fixing cChunkDef::Height signedness.madmaxoft2013-12-201-6/+1
|
* This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior2013-12-151-0/+32
|
* Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+32
| | | | Game of Thrones music in Minecraft, here I come!
* Improved redstone loading performanceTiger Wang2013-12-131-2/+10
|
* Fixed QueueSetBlock not sending to client changesTiger Wang2013-12-131-2/+1
|
* Redstone data is now loaded on chunk loadTiger Wang2013-12-131-0/+6
|
* Fixed warning unchecked enum value at Chunk.cpp line 841worktycho2013-12-091-2/+4
|
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-1/+1
|\ | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
| * Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
| | | | | | | | Ref.: #407
* | Added basic ender chestsTiger Wang2013-12-071-0/+2
| | | | | | | | Note that they just mirror chests now, so no per player inventory.
* | Renamed animation functionTiger Wang2013-12-071-2/+2
| | | | | | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
* | Fixed duplication glitch with QueueSetBlockTiger Wang2013-12-061-5/+26
|/ | | | | | | 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.
* Fixed an error in cChunk's block ticking.madmaxoft2013-12-041-2/+2
| | | | Absolute coords were passed to a handler expecting relative coords.
* Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-1/+18
|
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
|
* Fixed some of tiger's derpyness.Alexander Harkness2013-11-271-1/+1
|
* Fixed loads more of them.Alexander Harkness2013-11-261-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-2/+2
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-7/+51
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+2732