summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com2012-08-191-0/+7
* Another handful of packets rewritten.madmaxoft@gmail.com2012-08-191-0/+2
* Chat packet handled in the new way; fixed missing packet sending for inventory slot.madmaxoft@gmail.com2012-08-181-1/+3
* A bit of cleanup and documentation around the UI window handlingmadmaxoft@gmail.com2012-08-061-1/+1
* Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com2012-08-031-11/+11
* A new Block handling system :olapayo94@gmail.com2012-07-151-3/+18
* World threads are stopped before the plugin mgr for clean exit (FS #228)madmaxoft@gmail.com2012-07-151-1/+4
* cBlockArea object added (with only minimal testing so far)madmaxoft@gmail.com2012-07-021-0/+3
* Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.madmaxoft@gmail.com2012-07-021-3/+3
* Removed the deprecated GetBlockEntity(), added several enumerators to replace it.madmaxoft@gmail.com2012-06-171-5/+23
* Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually workmadmaxoft@gmail.com2012-06-161-3/+10
* Attempt to bring sanity to newlines across systems.cedeel@gmail.com2012-06-141-408/+408
* Revamped the weather system.cedeel@gmail.com2012-06-131-0/+2
* Sugarcane and cactus max height can be set in world.ini.madmaxoft@gmail.com2012-06-091-0/+3
* Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.madmaxoft@gmail.com2012-06-091-2/+14
* Bonemeal is consumed in survival mode when used on growable blocksmadmaxoft@gmail.com2012-06-091-2/+2
* 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/+6
* Repeaters' delays can be set by rclkmadmaxoft@gmail.com2012-06-071-0/+1
* 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-2/+9
* Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)madmaxoft@gmail.com2012-06-021-3/+2
* cWorld::UnloadUnusedChunks() exported to Luamadmaxoft@gmail.com2012-05-311-1/+3
* Added support for SetNextBlockTick() function callable from Luamadmaxoft@gmail.com2012-05-301-0/+3
* Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )madmaxoft@gmail.com2012-05-301-0/+5
* 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-6/+2
* Merged the composable_generator branch into the trunkmadmaxoft@gmail.com2012-05-251-23/+52
* Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth2012-04-111-1/+1
* 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/+4
* Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com2012-03-241-22/+1
* Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com2012-03-231-1/+22
* Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists.madmaxoft@gmail.com2012-03-221-2/+2
* Exposed a function to Lua to get a block's sky light valuefaketruth2012-03-161-1/+2
* Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com2012-03-141-19/+41
* Added a flat terrain generator with settable terrain heightmadmaxoft@gmail.com2012-03-121-0/+2
* Fixed a few obsoleted functionsmadmaxoft@gmail.com2012-03-101-1/+1
* cClientHandles have a unique ID now to distinguish themfaketruth2012-03-091-1/+1
* Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth2012-03-071-27/+28
* Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkListsmadmaxoft@gmail.com2012-03-061-0/+6
* 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-3/+9
* Got rid of some hardcoded numbers, now using hardcoded variables! woofaketruth2012-03-031-12/+15
* New redstone simulator. Should work without crashes!faketruth2012-03-011-5/+11
* Chunk now has an indicator of load failure; Chunk generator uses cChunkStaymadmaxoft@gmail.com2012-02-281-0/+3
* Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;)madmaxoft@gmail.com2012-02-281-2/+8
* Const-correctness for packet broadcasting (fixes GCC compilation)madmaxoft@gmail.com2012-02-281-1/+1
* 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/+3
* Made the viewdistance settable by users and default in settings.ini. The default is 9.madmaxoft@gmail.com2012-02-231-6/+0
* Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com2012-02-211-4/+10
* Fixed heightmap optimization from rev 302; removed a few more cChunkPtrsmadmaxoft@gmail.com2012-02-211-0/+9
* Removed some more cChunkPtr usagemadmaxoft@gmail.com2012-02-201-1/+15
* 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-16/+1
* Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries.madmaxoft@gmail.com2012-02-181-0/+1
* Thread-safe chunk generation, storage and generator are queried for progress while initializing servermadmaxoft@gmail.com2012-02-181-5/+7
* git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6faketruth2012-02-161-1/+1
* New server command "unload" to manually unload unused chunksmadmaxoft@gmail.com2012-02-161-2/+2
* cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively.madmaxoft@gmail.com2012-02-161-7/+8
* Got rid of dangerous GetEntity(), not using DoWithEntity()faketruth2012-02-161-5/+3
* 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-3/+11
* 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/+5
* Slight cleanup - removed old code, some additional comments on dangerous functionsmadmaxoft@gmail.com2012-02-141-1/+2
* Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Luafaketruth2012-02-141-6/+3
* 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-62/+99
* 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/+19
* VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com2012-01-291-4/+4
* Terrain generation is synchronous again, async generation has bugs.faketruth2012-01-191-6/+7
* Fixed the numchunks console command.faketruth2012-01-011-1/+2
* - implemented the fire simulation in native c++ (cFireSimulator)lapayo94@gmail.com2011-12-281-0/+2
* 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/+4
* - improved Simulator system lapayo94@gmail.com2011-12-261-2/+11
* - Linux compatible fixes including updated makefilemtilden@gmail.com2011-12-261-0/+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/+1
* Max. players and MOTD are now changeable in the settings.inilapayo94@gmail.com2011-12-241-4/+12
* Digging leaves with shears now drops leaveslapayo94@gmail.com2011-12-221-0/+4
* Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings.admin@omencraft.com2011-11-101-1/+6
* 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-0/+6
* Fixed world timefaketruth2011-11-081-0/+3
* 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-0/+3
* Fixed some "Entity was not found in any chunk!" warningsfaketruth2011-11-021-1/+1
* 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-5/+6
* Made several recomended changes. Gamemode is now world based. Need to add it to player.admin@omencraft.com2011-10-261-0/+4
* MCServer c++ source filesfaketruth2011-10-031-0/+158