summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com2012-03-141-24/+41
* cClientHandles have a unique ID now to distinguish themfaketruth2012-03-091-2/+3
* 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.com2012-03-051-24/+27
* Linux compilation fix (y u no support const_iterator, gcc?)madmaxoft@gmail.com2012-02-281-1/+1
* Chunk now has an indicator of load failure; Chunk generator uses cChunkStaymadmaxoft@gmail.com2012-02-281-0/+20
* Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;)madmaxoft@gmail.com2012-02-281-38/+111
* Const-correctness for packet broadcasting (fixes GCC compilation)madmaxoft@gmail.com2012-02-281-2/+2
* Fix for the perpetual load issuemadmaxoft@gmail.com2012-02-271-1/+7
* Implemented chunk loading without generating on load-failuremadmaxoft@gmail.com2012-02-261-3/+13
* 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-0/+91
* Plain pointer cChunkPtr finishing touches; removed cChunk's critical sectionsmadmaxoft@gmail.com2012-02-231-0/+15
* Made cChunkPtr a plain old pointer again, since it's safe nowmadmaxoft@gmail.com2012-02-231-4/+6
* Fixed a potential deadlock in cChunkMap::m_CSLayers vs cWorld::m_CSAllEntitiesmadmaxoft@gmail.com2012-02-221-6/+8
* Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com2012-02-211-3/+140
* Fixed heightmap optimization from rev 302; removed a few more cChunkPtrsmadmaxoft@gmail.com2012-02-211-0/+45
* Fixed block-getting so that simulators work againmadmaxoft@gmail.com2012-02-211-0/+37
* Removed some more cChunkPtr usagemadmaxoft@gmail.com2012-02-201-6/+138
* Using own ASSERT() that logs to filefaketruth2012-02-201-1/+1
* 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-0/+51
* Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries.madmaxoft@gmail.com2012-02-181-0/+16
* Thread-safe chunk generation, storage and generator are queried for progress while initializing servermadmaxoft@gmail.com2012-02-181-1/+58
* Chunk coords mostly "upgraded" to include the Y coord for future compatibilitymadmaxoft@gmail.com2012-02-171-6/+24
* cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively.madmaxoft@gmail.com2012-02-161-1/+11
* 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-6/+105
* Chunks are properly saved before being unloaded nowfaketruth2012-02-161-0/+3
* 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/+38
* 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-456/+112
* Removed unused codemadmaxoft@gmail.com2012-02-081-15/+8
* 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-2/+2
* AString logging fix 2madmaxoft@gmail.com2012-02-011-7/+7
* sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com2012-02-011-6/+5
* Removed a few duplicate includesmadmaxoft@gmail.com2012-02-011-2/+0
* Linux fixes, but while it compiles, when a user joins it crashes the server with "*** glibc detected *** ./MCServer: double free or corruption (out): 0x00007fb5f5158db0 ***"mtilden@gmail.com2012-01-311-0/+1
* 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-4/+0
* Initial cFile implementation (using stdio FILE) and test in cChunkMapmadmaxoft@gmail.com2012-01-301-84/+86
* Old code begone! ChunkMap cleanupmadmaxoft@gmail.com2012-01-291-348/+250
* VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com2012-01-291-6/+9
* ChunkGenerator: rewritten thread-locking using the new RAII CSLock classmadmaxoft@gmail.com2012-01-291-3/+4
* MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Expressmadmaxoft@gmail.com2012-01-271-1/+1
* Terrain generation is synchronous again, async generation has bugs.faketruth2012-01-191-1/+1
* Fixed the numchunks console command.faketruth2012-01-011-1/+11
* Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin.faketruth2011-12-271-1/+1
* 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-0/+2
* You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth2011-11-011-12/+8
* Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that)admin@omencraft.com2011-11-011-0/+1
* denotch map converter works! :Dadmin@omencraft.com2011-10-311-8/+9
* Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth2011-10-311-3/+4
* Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser.admin@omencraft.com2011-10-301-5/+0
* Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch"admin@omencraft.com2011-10-291-5/+10
* Compiles for linuxfaketruth2011-10-211-0/+3
* MCServer c++ source filesfaketruth2011-10-031-0/+714