Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-10 | Major refactoring of redstone | Tiger Wang | 1 | -0/+2 | |
This commit is a refactoring of the redstone code, mainly the functions handling the removal of invalid blocks from power supplier data structures. Its aim is to improve performance and potentially reduce the memory footprint of the data structures. It works to reduce the amount of GetBlock()s triggered every tick. Before, a GetBlock() was requested for every single item in the data lists, as well as for every single redstone block in a chunk. Following these changes, the AddBlock() event is utilised more effectively to only update the lists when needed (a block is changed), as well as to insert the block type (and update it when needed) alongside the coordinates into the main redstone simulator chunkdata list. In short, a single GetBlock() is now cached, with this cache being updated when the simulator is awoken due to a block change. At least, I *hope* that this is what it does :P | |||||
2014-01-10 | Include Biome enum in ChunkDef | Bill Derouin | 1 | -2/+1 | |
Can't forward declare an enum | |||||
2014-01-09 | Move biome definition to separate files | Bill Derouin | 1 | -91/+2 | |
2013-12-31 | clean up code for patching | Tycho Bickerstaff | 1 | -0/+1 | |
2013-12-31 | refactored chunk Queue to seperate class | Tycho Bickerstaff | 1 | -1/+0 | |
2013-12-30 | Fixed compilation in VC2008. | madmaxoft | 1 | -1/+1 | |
Also removed an unused inline header file (yuck). | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -0/+1 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -1/+2 | |
2013-12-21 | ChunkSender is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-20 | Attempt at fixing cChunkDef::Height signedness. | madmaxoft | 1 | -12/+12 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-10-21 | Added ASSERTs to all ChunkDef operations. | madmaxoft | 1 | -15/+40 | |
This should avoid errors such as #276. | |||||
2013-10-12 | Added 1.7 biome constants. | madmaxoft | 1 | -2/+47 | |
2013-08-16 | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. | madmaxoft | 1 | -1/+2 | |
Also slightly improved the spawning algorithm. | |||||
2013-08-03 | Removed the unused BlockY parameter from cChunkDef::BlockToChunk() | madmaxoft | 1 | -3/+2 | |
2013-05-05 | ChunkDesc: Added heightmap verification (DEBUG-only), not used yet | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1443 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Changed DelayedFluidSimulatorData to be a vector rather than a list, performance doubled :) | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-02 | Fixed gcc compilation | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1234 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-01 | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 1 | -0/+28 | |
http://forum.mc-server.org/showthread.php?tid=617&pid=6626#pid6626 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1233 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-08 | Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities. | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 1 | -0/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-18 | Reverted previous commit, chose a different solution, much cleaner. | madmaxoft@gmail.com | 1 | -14/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@975 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-18 | Made constants in cChunkDef enums, compilation fixes for gcc. | madmaxoft@gmail.com | 1 | -11/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@974 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-03 | Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type. | madmaxoft@gmail.com | 1 | -15/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypes | madmaxoft@gmail.com | 1 | -4/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@642 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | cBlockArea object added (with only minimal testing so far) | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | ChunkDef: Fixed getters taking a const ptr | madmaxoft@gmail.com | 1 | -5/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@638 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -492/+492 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-02 | Added the Biomal height generator, made it the default height generator. | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@536 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-27 | Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property setting | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@513 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -30/+150 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-23 | Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers) | madmaxoft@gmail.com | 1 | -1/+48 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 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 | -0/+320 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 |