Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-07-02 | cBlockArea object added (with only minimal testing so far) | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 1 | -1/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -281/+281 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Cacti grow by themselves and by bonemeal | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | 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.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Added support for SetNextBlockTick() function callable from Lua | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | 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.com | 1 | -2/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -14/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-10 | 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.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-22 | Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists. | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-16 | Exposed a function to Lua to get a block's sky light value | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@416 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -46/+48 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -1/+1 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | 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.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-03 | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;) | madmaxoft@gmail.com | 1 | -6/+22 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@336 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Const-correctness for packet broadcasting (fixes GCC compilation) | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@333 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | 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.com | 1 | -0/+30 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Plain pointer cChunkPtr finishing touches; removed cChunk's critical sections | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@325 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -4/+18 | |
Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed block-getting so that simulators work again | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@301 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -1/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | 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.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 1 | -9/+12 | |
Note that this commit breaks foliage generation - there are no trees in the chunks generated! git-svn-id: http://mc-server.googlecode.com/svn/trunk@292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -9/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. | madmaxoft@gmail.com | 1 | -7/+8 | |
cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | 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 properly | madmaxoft@gmail.com | 1 | -2/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunks are properly saved before being unloaded now | faketruth | 1 | -1/+8 | |
numchunks server command works again git-svn-id: http://mc-server.googlecode.com/svn/trunk@272 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 1 | -1/+34 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-14 | Slight cleanup - removed old code, some additional comments on dangerous functions | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@261 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-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.com | 1 | -48/+41 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | Removed unused code | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | 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.com | 1 | -1/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Initial cFile implementation (using stdio FILE) and test in cChunkMap | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@192 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | Old code begone! ChunkMap cleanup | madmaxoft@gmail.com | 1 | -22/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -0/+2 | |
Added some form of reference counting to cChunk to make sure it's not referenced when deleting it. Right now it's only needed due to the generation of chunks in a separate thread and adding it to the spread light list in cWorld git-svn-id: http://mc-server.googlecode.com/svn/trunk@161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | 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 :O | faketruth | 1 | -0/+2 | |
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues. Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage() Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading. git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-29 | 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.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@20 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+91 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |