summaryrefslogtreecommitdiffstats
path: root/source/cChunk.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Got rid of some hardcoded numbers, now using hardcoded variables! woofaketruth2012-03-031-87/+87
* Finally got the multiblock packet working! It seems the byte order was wrongfaketruth2012-03-021-5/+3
* MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/faketruth2012-03-021-0/+13
* New redstone simulator. Should work without crashes!faketruth2012-03-011-1/+15
* Server uses ~40% less CPU nowfaketruth2012-02-281-86/+92
* Chunk now has an indicator of load failure; Chunk generator uses cChunkStaymadmaxoft@gmail.com2012-02-281-0/+16
* New cChunkStay class for temporarily keeping chunks loaded even when then have no clients. For now unused, will be used by generator and lighting in the future.madmaxoft@gmail.com2012-02-261-1/+13
* Plain pointer cChunkPtr finishing touches; removed cChunk's critical sectionsmadmaxoft@gmail.com2012-02-231-162/+14
* cChunk: removed unused codemadmaxoft@gmail.com2012-02-231-6/+0
* Added some asserts to trace a bugfaketruth2012-02-221-1/+5
* Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com2012-02-211-5/+6
* Fixed heightmap optimization from rev 302; removed a few more cChunkPtrsmadmaxoft@gmail.com2012-02-211-16/+42
* Optimized hightmap recalc when setting a chunk's blockmadmaxoft@gmail.com2012-02-211-7/+31
* Removed some more cChunkPtr usagemadmaxoft@gmail.com2012-02-201-3/+7
* Using own ASSERT() that logs to filefaketruth2012-02-201-5/+5
* Substantial cWorld::FastSetBlock() speed up by queueing all such calls and processing them later chunk-wise (makes growing trees in the generator fast again)madmaxoft@gmail.com2012-02-181-8/+28
* Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries.madmaxoft@gmail.com2012-02-181-0/+10
* Thread-safe chunk generation, storage and generator are queried for progress while initializing servermadmaxoft@gmail.com2012-02-181-8/+8
* cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively.madmaxoft@gmail.com2012-02-161-5/+6
* Marking chunk dirty after generatingmadmaxoft@gmail.com2012-02-161-0/+2
* Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly againfaketruth2012-02-161-0/+2
* Chunk 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.com2012-02-161-7/+146
* Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window)madmaxoft@gmail.com2012-02-151-0/+13
* Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com2012-02-131-361/+343
* Removed unused codemadmaxoft@gmail.com2012-02-081-44/+113
* MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core)madmaxoft@gmail.com2012-02-081-5/+8
* Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com2012-02-011-2/+2
* AString logging fixmadmaxoft@gmail.com2012-02-011-7/+7
* sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com2012-02-011-3/+3
* Removed a few duplicate includesmadmaxoft@gmail.com2012-02-011-2/+1
* Fixed a problem in cCSLock (sorry); reverted cChunkmadmaxoft@gmail.com2012-01-301-3/+3
* Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth2012-01-301-1/+1
* More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com2012-01-301-176/+199
* VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com2012-01-291-10/+5
* Working on a new plugin design with Lua. While retaining backwards compatibility of course...faketruth2012-01-261-28/+28
* Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147faketruth2012-01-261-2/+2
* Cactus towers can be destroyed by removing the bottom blockfaketruth2012-01-231-0/+1
* Terrain generation is synchronous again, async generation has bugs.faketruth2012-01-191-43/+13
* Fixed the numchunks console command.faketruth2012-01-011-0/+76
* Made a couple of functions in cChunk inline, this should speed up several block operations on chunksfaketruth2011-12-311-105/+8
* This bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112faketruth2011-12-281-6/+44
* Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithmsfaketruth2011-12-271-2/+2
* Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth2011-12-261-72/+72
* - improved Simulator system lapayo94@gmail.com2011-12-261-26/+1
* - Linux compatible fixes including updated makefilemtilden@gmail.com2011-12-261-4/+5
* Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cppfaketruth2011-12-261-236/+3
* Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth2011-12-261-7/+0
* Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :Ofaketruth2011-12-251-21/+31
* Digging leaves with shears now drops leaveslapayo94@gmail.com2011-12-221-4/+31
* Changed chunk generation so any surface sand with air underneath it will turn into sandstone to prevent most sand cave-ins due to odd cave placement.admin@omencraft.com2011-11-151-12/+37
* Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support.admin@omencraft.com2011-11-101-0/+5
* Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations.admin@omencraft.com2011-11-091-4/+4
* Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool.admin@omencraft.com2011-11-081-2/+2
* Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update.admin@omencraft.com2011-11-071-4/+21
* Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.admin@omencraft.com2011-11-061-10/+10
* Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it.admin@omencraft.com2011-11-051-6/+11
* Fixed some "Entity was not found in any chunk!" warningsfaketruth2011-11-021-10/+18
* fixed player spawning in the ground.admin@omencraft.com2011-11-011-1/+1
* Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth2011-10-311-33/+32
* Using SSE instructions for noise (terrain generation)faketruth2011-10-251-9/+9
* Compiles for linuxfaketruth2011-10-211-6/+9
* MCServer c++ source filesfaketruth2011-10-031-0/+1388