summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Source files cleanup: Generating-related files in a separate subfoldermadmaxoft@gmail.com2012-09-231-1/+1
* Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com2012-09-111-0/+19
* Progress on the 1.3.2 protocol.madmaxoft@gmail.com2012-08-311-2/+2
* Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com2012-08-291-4/+4
* Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com2012-08-271-38/+0
* git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6madmaxoft@gmail.com2012-08-261-0/+16
* cWorld doesn't use cPackets.madmaxoft@gmail.com2012-08-251-0/+18
* cPickup doesn't use cPackets.madmaxoft@gmail.com2012-08-241-0/+16
* Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com2012-08-241-0/+50
* Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com2012-08-191-0/+33
* Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com2012-08-191-0/+108
* Another handful of packets rewritten.madmaxoft@gmail.com2012-08-191-0/+32
* A bit of cleanup and documentation around the UI window handlingmadmaxoft@gmail.com2012-08-061-3/+3
* Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com2012-08-031-1/+1
* Temporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore.madmaxoft@gmail.com2012-07-021-0/+8
* cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com2012-07-021-0/+29
* Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com2012-06-171-0/+84
* Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually workmadmaxoft@gmail.com2012-06-161-0/+15
* Attempt to bring sanity to newlines across systems.cedeel@gmail.com2012-06-141-1485/+1485
* Cacti grow by themselves and by bonemealmadmaxoft@gmail.com2012-06-091-0/+17
* Sugarcane grows and can be grown using bonemeal.madmaxoft@gmail.com2012-06-081-0/+17
* Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.madmaxoft@gmail.com2012-06-071-0/+17
* Repeaters' delays can be set by rclkmadmaxoft@gmail.com2012-06-071-0/+17
* Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com2012-06-061-17/+1
* Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com2012-05-301-0/+17
* Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later.madmaxoft@gmail.com2012-05-291-15/+59
* Merged the composable_generator branch into the trunkmadmaxoft@gmail.com2012-05-251-28/+190
* Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks!madmaxoft@gmail.com2012-04-101-1/+16
* Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists.madmaxoft@gmail.com2012-03-221-4/+19
* That didn't work.. I forgot some cChunk functions were changed. Now it should compile againfaketruth2012-03-161-1/+1
* Exposed a function to Lua to get a block's sky light valuefaketruth2012-03-161-1/+19
* Unified the chunk data to use the BLOCKDATA datatype.madmaxoft@gmail.com2012-03-141-4/+4
* 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