Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-06-17 | Fix fence gate redstone simulator. | Howaner | 1 | -2/+1 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -8/+30 | |
2014-06-15 | Fixed bad comparison crash | Tiger Wang | 1 | -2/+2 | |
* Fixes #1095 | |||||
2014-06-15 | Fixed daylight sensor unpowering | Tiger Wang | 1 | -6/+28 | |
* Fixes #1094 | |||||
2014-06-14 | Fixed a repeater issue | Tiger Wang | 2 | -17/+16 | |
* Repeaters now properly continuously update their powering * Minor cosmetic improvements | |||||
2014-06-12 | Fixed two redstone bugs | Tiger Wang | 1 | -0/+6 | |
* Fixed chunk border powering * Fixed quick place-replace powering | |||||
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 1 | -1/+1 | |
Fixes #1039, fixes #851 | |||||
2014-06-07 | Further improvements on redstone speed | Tiger Wang | 2 | -67/+80 | |
Based on suggestions of @worktycho * Repeaters now walk their data structure only when needed * Fixed a bug with cChunkData returning an incorrect value for whether a meta had changed | |||||
2014-06-06 | Further reduced redstone idle CPU consumption | Tiger Wang | 1 | -7/+27 | |
* Repeaters and wires are no longer unnecessarily ticked * Fixed #1063, likely addressed #1062 * Fixed bugs regarding duplicate values | |||||
2014-06-05 | Redstone fixes and improvements [SEE DESC] | Tiger Wang | 1 | -60/+87 | |
Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes | |||||
2014-06-04 | Update IncrementalRedstoneSimulator.cpp | Julian Laubstein | 1 | -8/+8 | |
2014-05-29 | Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug. | Howaner | 1 | -4/+10 | |
2014-05-29 | Fixed piston power checking | Tiger Wang | 1 | -11/+6 | |
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -5/+4 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-19 | Fixed warnings in IncrementalRedstoneSimulator | Julian Laubstein | 1 | -1/+7 | |
2014-05-19 | Rolled some changes back | Julian Laubstein | 1 | -12/+2 | |
2014-05-19 | Fixed some warnings | Julian Laubstein | 1 | -2/+12 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -2/+2 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 2 | -2/+2 | |
2014-05-07 | Fixed wires powering wires diagonally below them | Tiger Wang | 1 | -5/+1 | |
2014-05-05 | Add clicks, exp subtraction, item check, ... | Howaner | 1 | -0/+4 | |
2014-05-05 | Fixed formatting | Tiger Wang | 1 | -4/+5 | |
2014-05-04 | Fixed 027efe09ea3d3222c3cbf169643e57773c1614ae | Tiger Wang | 1 | -3/+49 | |
2014-05-04 | Fixed lever and button powering direction | Tiger Wang | 1 | -16/+8 | |
2014-05-04 | Fixed pressure plate oversights | Tiger Wang | 1 | -2/+8 | |
* Fixed stone pressure plates not checking for the correct distance for players * Fixed pressure plates in general not link powering the blocks beneath them | |||||
2014-05-03 | Fixed vanilla fluid simulator. | madmaxoft | 1 | -4/+1 | |
Fixes #919. | |||||
2014-05-02 | Fixed vanilla fluid simulator. | madmaxoft | 4 | -14/+20 | |
Fixes #919. | |||||
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 2 | -438/+556 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -4/+6 | |
2014-04-25 | Cmake generated projects for IDEs include headers in project files. | archshift | 1 | -0/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2 | -2/+2 | |
2014-04-18 | Removed unsupported C++11 features. | madmaxoft | 1 | -13/+19 | |
2014-04-17 | Compile fix? | Tiger Wang | 1 | -2/+2 | |
2014-04-17 | Implemented weighted pressure plates | Tiger Wang | 2 | -29/+171 | |
2014-04-15 | Rewrote redstone powering to use power levels | Tiger Wang | 2 | -180/+149 | |
2014-04-08 | cRedstoneSimulator.cpp style improvements | Tiger Wang | 1 | -40/+41 | |
2014-04-08 | Uppercased Z | wiseoldman95 | 1 | -3/+3 | |
Minor, no code changed. | |||||
2014-04-08 | Comments: Inverted Z axis. | wiseoldman95 | 1 | -9/+10 | |
-Comments fix, No code has been changed. -Inverted the Z axis in the comments and changed all dependent comments accordingly. -Added NORTH/SOUTH/EAST/WEST in addition to LEFT/RIGHT/UP/DOWN. | |||||
2014-04-08 | Added comments regarding latching and orientation | wiseoldman95 | 1 | -9/+31 | |
No real code was changed. | |||||
2014-04-08 | Fixed the thing properly. | Alexander Harkness | 1 | -8/+8 | |
2014-04-07 | Fixed IsOn | wiseoldman95 | 1 | -3/+2 | |
2014-04-07 | Removed stray IsLocked | wiseoldman95 | 1 | -2/+2 | |
2014-04-07 | Removed unneeded spacings | wiseoldman95 | 1 | -6/+3 | |
2014-04-07 | Slight cleanup | wiseoldman95 | 1 | -13/+17 | |
It is more efficient and readable if we do nothing unless we're not locked. | |||||
2014-04-07 | Fixed some more minor issues with the redstone simulator. | Alexander Harkness | 1 | -34/+39 | |
2014-04-07 | Improved the speed a little more. | Alexander Harkness | 1 | -1/+1 | |
2014-04-07 | Fixed the redstone simulator. | Alexander Harkness | 1 | -49/+40 | |
2014-04-07 | Fixed #859 | Tiger Wang | 1 | -23/+3 | |
2014-04-07 | Fix some of the comments in the PR tycho just did. | Alexander Harkness | 1 | -8/+6 | |
2014-04-06 | Added support for redstone latching | Tycho | 2 | -2/+65 | |
fixes #856 | |||||
2014-03-28 | Some fixes to lilypads | Tiger Wang | 1 | -0/+1 | |
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel | |||||
2014-03-28 | Fixed compilation after last PR merge. | madmaxoft | 1 | -1/+1 | |
2014-03-27 | Change SpreadSource prefix to ss | Howaner | 1 | -1/+1 | |
2014-03-27 | Add SpreadSource | Howaner | 1 | -1/+1 | |
2014-03-27 | Add HOOK_BLOCK_SPREAD | Howaner | 1 | -3/+11 | |
2014-03-16 | Fixed double to float conversions. | madmaxoft | 1 | -1/+1 | |
2014-03-11 | Unified Vector classes | andrew | 2 | -2/+1 | |
2014-03-10 | Fixed compile | Tiger Wang | 1 | -1/+2 | |
2014-03-09 | Removed uneeded meta obtain | Tiger Wang | 1 | -3/+1 | |
2014-03-09 | TNT explodes when consumed by fire | Tiger Wang | 1 | -6/+19 | |
Fixed FS#406 | |||||
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -1/+1 | |
2014-03-08 | Change TNT Fuse to ticks | Howaner | 1 | -1/+1 | |
2014-03-07 | Added some comments | andrew | 2 | -1/+6 | |
2014-03-07 | Fixed water/lava interaction | andrew | 3 | -4/+69 | |
2014-03-05 | Added extra awesomeness to TNT | Tiger Wang | 1 | -1/+1 | |
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug | |||||
2014-03-05 | Implemented vanilla-like fluid simulator | andrew | 4 | -8/+219 | |
2014-03-02 | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs | Howaner | 1 | -5/+3 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 3 | -4/+4 | |
2014-02-28 | Fix Double Slabs, fix Slab Meta and add more things to burnable | Howaner | 1 | -0/+13 | |
2014-02-20 | Removed problematic utf8. | madmaxoft | 1 | -2/+2 | |
2014-02-20 | Bad UTF-8 o.O | Howaner | 1 | -2/+2 | |
2014-02-20 | Remove typeinfo import in IncrementalRedstoneSimulator | Howaner | 1 | -2/+0 | |
2014-02-20 | Add Pressure Plate Sound | Howaner | 1 | -0/+9 | |
2014-02-20 | Add Light weighted pressure plates | Howaner | 2 | -10/+20 | |
2014-02-20 | Add Hay Bale to Burnable | Howaner | 1 | -0/+1 | |
2014-02-16 | Fixed a glaring bug with chunk cross-simulating | Tiger Wang | 1 | -9/+17 | |
* A chunk's redstone blocks list is no longer touched if AddBlock was being called with another chunk's coordinates * Fixed chunk boundary checks | |||||
2014-02-15 | Added a 'default:' for SimChunk()'s switch | Tiger Wang | 1 | -0/+1 | |
2014-02-15 | A fix and an improvement | Tiger Wang | 2 | -23/+43 | |
* Fixed a special case with the wrong ChunkX/Z values being used to calculate a relative position * Simplified data structure adding and removing operations (no more pointers!) - Removed one character of whitespace :D | |||||
2014-02-15 | Sizeable speed improvements to redstone | Tiger Wang | 2 | -81/+115 | |
+ Moved all simulator data into individual chunks * Cleaned up parameters for functions and some code * Fixed repeaters powering off faster than they power on The main issue before was that, although the redstone simulator stored blocks to be simulated in individual cChunks, other data, such as powered lists, and etcetera, were global regardless of which chunk was being simulated. Therefore, with worlds with lots of redstone, each tick saw the ticking of chunks, which themselves iterated through the entire dataset needlessly, creating LOTS of lag. Should be better now :) | |||||
2014-02-15 | Add more Sounds to Redstone Simulator | Howaner | 1 | -1/+23 | |
2014-02-15 | Add Fence Gate to Redstone Simulator | Howaner | 2 | -0/+31 | |
2014-02-12 | Improved pressure plates | Tiger Wang | 2 | -1/+5 | |
+ Two (or more) pressure plates can be triggered at the same time * Fixed issues caused by pressure plates not being in the sources list | |||||
2014-02-07 | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 7 | -1809/+1809 | |
2014-02-07 | Fixed some end of lines | STRWarrior | 2 | -2/+2 | |
2014-02-07 | Implemented an easy way of adding new redstone simulators. | STRWarrior | 4 | -3/+79 | |
Also added a "noop" redstone simulator that does the same as the fluid version. | |||||
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -3/+3 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -2/+3 | |
May Fix #640 | |||||
2014-02-03 | Removed unused lookups | Tycho | 1 | -2/+0 | |
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -1/+7 | |
2014-02-01 | Split cCoord template into one and two data types | Tiger Wang | 1 | -2/+2 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -2/+2 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -2/+4 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-29 | Fixed redstone simulator crash found in #570 | Tiger Wang | 2 | -13/+14 | |
2014-01-18 | Basic command block implementation | andrew | 2 | -1/+30 | |
2014-01-13 | Fixed wire, rail, and pressure plate unpowering | Tiger Wang | 1 | -3/+4 | |
2014-01-11 | Fixed rails powering | Tiger Wang | 1 | -0/+2 | |
2014-01-11 | Did some stuff with the vectors | Tiger Wang | 1 | -32/+17 | |
2014-01-11 | Fixed a door bug and reduced code | Tiger Wang | 1 | -19/+1 | |
Doors wouldn't get powered by repeaters, and some blocks, like glass, were viable middle blocks when they shouldn't have been. | |||||
2014-01-10 | Fixed doors, fixes #453 | Tiger Wang | 1 | -38/+8 | |
2014-01-10 | Major refactoring of redstone | Tiger Wang | 2 | -185/+178 | |
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 | |||||
2013-12-31 | fixed warnings in World.cpp | Tycho Bickerstaff | 1 | -2/+8 | |
2013-12-26 | Moved increment operator to back of variables | Tiger Wang | 1 | -9/+9 | |
2013-12-24 | Implemented stone and wooden pressure plates | Tiger Wang | 2 | -3/+105 | |
2013-12-23 | Provides an enhancement to daylight sensors | Tiger Wang | 1 | -2/+27 | |
2013-12-23 | Daylight sensor sensing enhancement | Tiger Wang | 1 | -9/+11 | |
2013-12-22 | A fix for daylight sensors | Tiger Wang | 1 | -2/+3 | |
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 4 | -5/+12 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 4 | -5/+11 | |
2013-12-22 | Daylight sensors | Tiger Wang | 1 | -2/+1 | |
2013-12-22 | Fixed them again, confound it | Tiger Wang | 1 | -9/+21 | |
2013-12-21 | Piston is now warnings clean | Tycho Bickerstaff | 3 | -4/+4 | |
2013-12-21 | ChunkSender is now warnings clean | Tycho Bickerstaff | 1 | -1/+2 | |
2013-12-20 | Fixed repeaters delay, maybe | Tiger Wang | 2 | -12/+38 | |
Also added basic daylight sensors, though because GetBlockSkylight always is 15, it doesn't work. | |||||
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 3 | -6/+6 | |
2013-12-19 | Fixed repeaters not updating power | Tiger Wang | 1 | -11/+41 | |
2013-12-18 | Fixed wire powering blocks beneath | Tiger Wang | 1 | -1/+1 | |
2013-12-18 | Fixed bad repeater power queuing in corner case | Tiger Wang | 2 | -83/+76 | |
Repeaters remain queued to power even if their original source has since unpowered. Also functionised and cleaned up code. | |||||
2013-12-15 | Implemented xoft's suggestions | Tiger Wang | 1 | -3/+16 | |
2013-12-15 | Fixed wire repeater checking | Tiger Wang | 1 | -1/+1 | |
2013-12-15 | Wires now power repeaters properly | Tiger Wang | 1 | -0/+7 | |
2013-12-15 | Fixed the hopefully final wire self-powering bug | Tiger Wang | 1 | -1/+13 | |
2013-12-14 | Potentially fixed debug asserts | Tiger Wang | 1 | -5/+5 | |
2013-12-14 | Wires no longer power if a block cuts them off | Tiger Wang | 1 | -23/+32 | |
Also reduced more unneeded code. | |||||
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 2 | -4/+50 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-14 | Fixed compilating! | Tiger Wang | 1 | -5/+5 | |
2013-12-14 | Fixes to redstone wire and torches | Tiger Wang | 2 | -20/+36 | |
+ Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc. | |||||
2013-12-14 | Removed loads of unneeded code again | Tiger Wang | 1 | -86/+60 | |
2013-12-14 | Reduced loads of unneeded code | Tiger Wang | 1 | -188/+44 | |
Merged wire powering detection code into a single function. | |||||
2013-12-11 | Fixed pistons being viable middle block | Tiger Wang | 1 | -0/+3 | |
Also an excuse to update submodules | |||||
2013-12-11 | moved simulor to globs | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-10 | more cmake | Tycho Bickerstaff | 1 | -0/+7 | |
2013-12-10 | Provides a possible fix for repeater timings | Tiger Wang | 1 | -1/+1 | |
Not completely reliable, but at least some types of clock work. | |||||
2013-12-10 | Readded initial line | Tiger Wang | 1 | -0/+1 | |
2013-12-10 | Fixed compile (alas, no more goto) | Tiger Wang | 1 | -11/+14 | |
2013-12-10 | Fixed Floody lava to stone fizzle | Tiger Wang | 1 | -2/+16 | |
2013-12-10 | Added repeater delays | Tiger Wang | 2 | -1/+62 | |
They DO sometimes get stuck though :P | |||||
2013-12-10 | Slight redstone wire performance improvement | Tiger Wang | 1 | -1/+6 | |
2013-12-10 | Changed more FastSetBlocks to SetBlocks | Tiger Wang | 1 | -3/+3 | |
Fixes duplication bugs. | |||||
2013-12-09 | Fix Unused Variable Warning at FluidSimulator.cpp line 169 and 176 | worktycho | 1 | -4/+3 | |
2013-12-07 | Changed some FastSetBlocks to SetBlock | Tiger Wang | 1 | -3/+3 | |
Should fix some duplication glitches. | |||||
2013-12-07 | Fixed trapdoors not toggling | Tiger Wang | 2 | -16/+102 | |
The redstone simulator kept on resetting them. | |||||
2013-12-06 | Re-implemented redstone duplicate checking | Tiger Wang | 1 | -0/+29 | |
2013-12-05 | Merged if statements. | Samuel Barney | 1 | -7/+1 | |
2013-12-05 | Finished Merge | Samuel Barney | 1 | -2/+2 | |
2013-12-04 | Lava can spawn fire. | madmaxoft | 1 | -2/+2 | |
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65. | |||||
2013-12-04 | Made suggested changes | Samuel Barney | 2 | -6/+11 | |
2013-12-02 | Fire no longer goes out when on top of nether rack | Samuel Barney | 1 | -1/+6 | |
2013-12-01 | Fixed linux compile errors and formatting in RedstoneSimulator.cpp | madmaxoft | 1 | -14/+26 | |
2013-11-30 | Fixed pistons extending | Tiger Wang | 1 | -0/+10 | |
They didn't when a source was in front, but now they do! Yay! | |||||
2013-11-30 | Removed redstone duplicate power checking | Tiger Wang | 1 | -2/+0 | |
There was no need for it, and it introduced some bugs. | |||||
2013-11-30 | Improved piston direction checking | Tiger Wang | 1 | -62/+8 | |
Now uses AddFaceDirection, as suggested by xoft. | |||||
2013-11-30 | Pistons no longer accept power through front face | Tiger Wang | 2 | -3/+96 | |
This fixes #60. | |||||
2013-11-30 | Improved redstone speed and fixed a wire bug | Tiger Wang | 1 | -73/+83 | |
The redstone simulator no longer goes through the Powered and LinkedPowered blocks lists for EVERY item in the chunk data, instead, only at every tick. Also, wires powering each other that had the same data value is now fixed. | |||||
2013-11-29 | Implemented trapdoors, fixes #43 and #105 | Tiger Wang | 2 | -0/+19 | |
Also updated redstone simulator to support it | |||||
2013-11-27 | Fixed the remaining derps | Alexander Harkness | 1 | -1/+1 | |
2013-11-25 | Further attempts to fix compile | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 19 | -0/+3347 | |