Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add sound to stone pressure plates | Gargaj | 2015-11-08 | 1 | -0/+9 |
| | | | | add sound to stone pressure plates | ||||
* | Merge pull request #2609 from bibo38/slimeblock | worktycho | 2015-11-07 | 1 | -2/+2 |
|\ | | | | | Slimeblock implementation | ||||
| * | Refactored code to use vectors in the cPistonHandler class | bibo38 | 2015-11-07 | 1 | -2/+2 |
| | | |||||
* | | fix pressure plate power levels | Gargaj | 2015-11-07 | 1 | -4/+4 |
|/ | |||||
* | Revert "Pressure plate fix" | Mattes D | 2015-10-29 | 1 | -45/+14 |
| | |||||
* | fixed pressure plate bugs | Schwertspize | 2015-10-28 | 1 | -14/+45 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -14/+14 |
| | |||||
* | Fixed redstone issue | scribblemaniac | 2015-07-17 | 1 | -2/+4 |
| | | | | | Fixed issue where glowstone blocks would block power transmission in some situations. | ||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -3/+3 |
| | |||||
* | Added moar comments | Tiger Wang | 2015-06-07 | 1 | -8/+12 |
| | |||||
* | Use emplace to construct structures | Tiger Wang | 2015-06-06 | 1 | -48/+39 |
| | |||||
* | Improved link unpowering speed | Tiger Wang | 2015-06-06 | 1 | -48/+41 |
| | | | | Also fixed compile errors | ||||
* | Changed appropriate containers to unordered_map | Tiger Wang | 2015-06-06 | 1 | -134/+78 |
| | | | | | | Thanks to @worktycho for guidance! * Potential speed improvements | ||||
* | Improved link power behaviour | Tiger Wang | 2015-06-06 | 1 | -132/+116 |
| | |||||
* | Improved wires and repeaters | Tiger Wang | 2015-06-06 | 1 | -73/+150 |
| | | | | | * Fixed repeater cross-chunk power detection + Re-implemented horizontal wire cut-off checking | ||||
* | Fixed wire consuming much resources | Tiger Wang | 2015-06-06 | 1 | -7/+17 |
| | |||||
* | Redstone wire and trapdoor fixes | Tiger Wang | 2015-06-06 | 1 | -283/+267 |
| | | | | | | * Fixes #1887 * Fixes #1763 * Fixes #1083 | ||||
* | Provides improvements to redstone wire | Tiger Wang | 2015-06-06 | 1 | -85/+60 |
| | | | | Intermediary commit that fixes #1763. | ||||
* | Comparators | Tiger Wang | 2015-06-06 | 1 | -67/+133 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -5/+5 |
| | | | | Spaces around some operators are checked. | ||||
* | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -2/+2 |
| | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | Fixed basic style. | Mattes D | 2014-12-25 | 1 | -20/+68 |
| | |||||
* | Fix repeater unpowering | Tiger Wang | 2014-12-18 | 1 | -2/+4 |
| | |||||
* | NULL -> nullptr | Tiger Wang | 2014-12-17 | 1 | -12/+12 |
| | |||||
* | Improved redstone simulator | Tiger Wang | 2014-10-29 | 1 | -713/+670 |
| | | | | | | * Fixed style inconsistencies * Used more C++11 features * Improved speed perhaps | ||||
* | Cleaned up simulators | Tiger Wang | 2014-10-25 | 1 | -4/+2232 |
| | |||||
* | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -1/+3 |
| | |||||
* | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 2014-09-16 | 1 | -6/+5 |
| | |||||
* | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2014-09-11 | 1 | -2212/+19 |
| | | | | THis wil hopefully allow for unit testing | ||||
* | Removed dependecy of redstone simulator on NoteBlock | Tycho | 2014-08-05 | 1 | -11/+6 |
| | |||||
* | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 2014-08-05 | 1 | -5/+4 |
| | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 1 | -3/+3 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -5/+5 |
| | |||||
* | Fixed spaces before commas. | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| | |||||
* | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -7/+7 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -59/+59 |
| | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
* | Fixed another redstone simulator crash | Tiger Wang | 2014-07-16 | 1 | -0/+7 |
| | |||||
* | Fixed redstone simulator crash | Tiger Wang | 2014-07-15 | 1 | -6/+29 |
| | | | | | * Fixes #1176 * Fixed #1186 | ||||
* | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -7/+7 |
| | |||||
* | Suggestions and bug fix | Tiger Wang | 2014-07-12 | 1 | -1/+1 |
| | | | | | | * Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft | ||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -0/+3 |
| | |||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -1/+4 |
| | |||||
* | Improved LinkedPowering speed | Tiger Wang | 2014-07-11 | 1 | -15/+15 |
| | | | | * Additionally fixed wires powering other wires through blocks | ||||
* | Fixed compilation and pressure plates | Tiger Wang | 2014-07-07 | 1 | -8/+4 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -79/+126 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Fixed c1deda5d8f01811efa5094e9375166acb69d50ed | Tiger Wang | 2014-07-04 | 1 | -2/+2 |
| | | | | I keep on breaking stuff :P | ||||
* | Implemented tripwire(s) (hooks) | Tiger Wang | 2014-06-28 | 1 | -15/+148 |
| | | | | * Fixes #944 | ||||
* | Merge pull request #1105 from Howaner/Blocks | Mattes D | 2014-06-22 | 1 | -4/+10 |
|\ | | | | | Added door and fence gate sounds. | ||||
| * | Changed 0xFFFFFFFB to ~0x04 | Howaner | 2014-06-22 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into Blocks | Howaner | 2014-06-17 | 1 | -2/+1 |
| |\ | |||||
| * | | Fix fence gate sound (Redstone simulator). | Howaner | 2014-06-17 | 1 | -4/+10 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-06-22 | 1 | -2/+4 |
|\ \ \ | |||||
| * | | | Fixed missing break | worktycho | 2014-06-22 | 1 | -0/+1 |
| | | | | | | | | | | | | Fixes CID 68409 | ||||
| * | | | Fixed invalid iterator | worktycho | 2014-06-22 | 1 | -2/+3 |
| | | | | | | | | | | | | Fixes CID 60408 | ||||
* | | | | Fixed another daylight sensor bug | Tiger Wang | 2014-06-22 | 1 | -20/+23 |
|/ / / | | | | | | | | | | Additionally fixed unpowering across chunks. | ||||
* | | | Merge pull request #1096 from mc-server/redstonerefactor | Alexander Harkness | 2014-06-18 | 1 | -137/+63 |
|\ \ \ | |_|/ |/| | | Moved delayed repeaters to be handled in a seperate pass | ||||
| * | | FIxed second weird enum | Tycho | 2014-06-16 | 1 | -20/+1 |
| | | | |||||
| * | | Refactored reversing logic into seperate function | Tycho | 2014-06-16 | 1 | -14/+3 |
| | | | |||||
| * | | Fixed tigers weird enums | Tycho | 2014-06-16 | 1 | -14/+6 |
| | | | |||||
| * | | Merge branch 'master' into redstonerefactor | Tycho | 2014-06-16 | 1 | -8/+29 |
| |\| | | | | | | | | | | | | | Conflicts: src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | | Moved repeater handling to seperate pass | Tycho | 2014-06-16 | 1 | -96/+61 |
| | | | |||||
* | | | Fix fence gate redstone simulator. | Howaner | 2014-06-17 | 1 | -2/+1 |
| |/ |/| | |||||
* | | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 1 | -8/+30 |
|/ | |||||
* | Fixed a repeater issue | Tiger Wang | 2014-06-14 | 1 | -16/+15 |
| | | | | | * Repeaters now properly continuously update their powering * Minor cosmetic improvements | ||||
* | Fixed two redstone bugs | Tiger Wang | 2014-06-12 | 1 | -0/+6 |
| | | | | | * Fixed chunk border powering * Fixed quick place-replace powering | ||||
* | Merge remote-tracking branch 'howaner/Redstone' | madmaxoft | 2014-06-09 | 1 | -4/+10 |
|\ | |||||
| * | Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug. | Howaner | 2014-05-29 | 1 | -4/+10 |
| | | |||||
* | | Further improvements on redstone speed | Tiger Wang | 2014-06-07 | 1 | -64/+77 |
| | | | | | | | | | | | | | | 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 | ||||
* | | Further reduced redstone idle CPU consumption | Tiger Wang | 2014-06-06 | 1 | -7/+27 |
| | | | | | | | | | | | | * Repeaters and wires are no longer unnecessarily ticked * Fixed #1063, likely addressed #1062 * Fixed bugs regarding duplicate values | ||||
* | | Redstone fixes and improvements [SEE DESC] | Tiger Wang | 2014-06-05 | 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 | ||||
* | | Merge pull request #1011 from SphinxC0re/SomeWarningFixes | Mattes D | 2014-06-04 | 1 | -2/+8 |
|\ \ | | | | | | | Fixed some warnings | ||||
| * | | Update IncrementalRedstoneSimulator.cpp | Julian Laubstein | 2014-06-04 | 1 | -8/+8 |
| | | | |||||
| * | | Fixed warnings in IncrementalRedstoneSimulator | Julian Laubstein | 2014-05-19 | 1 | -1/+7 |
| |/ | |||||
* | | Fixed piston power checking | Tiger Wang | 2014-05-29 | 1 | -11/+6 |
| | | |||||
* | | Hopefully fixed piston duplication issues | Tiger Wang | 2014-05-25 | 1 | -5/+4 |
|/ | | | | | * Fixes #879 * Fixes #714 | ||||
* | Fixed wires powering wires diagonally below them | Tiger Wang | 2014-05-07 | 1 | -5/+1 |
| | |||||
* | Fixed formatting | Tiger Wang | 2014-05-05 | 1 | -4/+5 |
| | |||||
* | Fixed 027efe09ea3d3222c3cbf169643e57773c1614ae | Tiger Wang | 2014-05-04 | 1 | -3/+49 |
| | |||||
* | Merge branch 'master' into redstoneimprovements | Tiger Wang | 2014-05-04 | 1 | -2/+8 |
|\ | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | Fixed pressure plate oversights | Tiger Wang | 2014-05-04 | 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 | ||||
* | | Fixed lever and button powering direction | Tiger Wang | 2014-05-04 | 1 | -16/+8 |
| | | |||||
* | | Redstone simulator now directly accesses cChunk | Tiger Wang | 2014-04-27 | 1 | -404/+522 |
|/ | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes | ||||
* | Removed unsupported C++11 features. | madmaxoft | 2014-04-18 | 1 | -13/+19 |
| | |||||
* | Implemented weighted pressure plates | Tiger Wang | 2014-04-17 | 1 | -25/+165 |
| | |||||
* | Rewrote redstone powering to use power levels | Tiger Wang | 2014-04-15 | 1 | -165/+133 |
| | |||||
* | cRedstoneSimulator.cpp style improvements | Tiger Wang | 2014-04-08 | 1 | -40/+41 |
| | |||||
* | Uppercased Z | wiseoldman95 | 2014-04-08 | 1 | -3/+3 |
| | | | Minor, no code changed. | ||||
* | Comments: Inverted Z axis. | wiseoldman95 | 2014-04-08 | 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. | ||||
* | Added comments regarding latching and orientation | wiseoldman95 | 2014-04-08 | 1 | -9/+31 |
| | | | No real code was changed. | ||||
* | Fixed the thing properly. | Alexander Harkness | 2014-04-08 | 1 | -8/+8 |
| | |||||
* | Merge pull request #862 from mc-server/redstonefix | Alexander Harkness | 2014-04-08 | 1 | -23/+3 |
|\ | | | | | Fixed #859 | ||||
| * | Fixed #859 | Tiger Wang | 2014-04-07 | 1 | -23/+3 |
| | | |||||
* | | Fixed IsOn | wiseoldman95 | 2014-04-07 | 1 | -3/+2 |
| | | |||||
* | | Removed stray IsLocked | wiseoldman95 | 2014-04-07 | 1 | -2/+2 |
| | | |||||
* | | Removed unneeded spacings | wiseoldman95 | 2014-04-07 | 1 | -6/+3 |
| | | |||||
* | | Slight cleanup | wiseoldman95 | 2014-04-07 | 1 | -13/+17 |
| | | | | | | It is more efficient and readable if we do nothing unless we're not locked. | ||||
* | | Fixed some more minor issues with the redstone simulator. | Alexander Harkness | 2014-04-07 | 1 | -34/+39 |
| | | |||||
* | | Improved the speed a little more. | Alexander Harkness | 2014-04-07 | 1 | -1/+1 |
| | | |||||
* | | Fixed the redstone simulator. | Alexander Harkness | 2014-04-07 | 1 | -49/+40 |
| | | |||||
* | | Fix some of the comments in the PR tycho just did. | Alexander Harkness | 2014-04-07 | 1 | -8/+6 |
| | | |||||
* | | Added support for redstone latching | Tycho | 2014-04-06 | 1 | -2/+63 |
|/ | | | | fixes #856 | ||||
* | Merge branch 'master' into awesometnt | Tiger Wang | 2014-03-18 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/ChunkMap.cpp | ||||
| * | Fixed double to float conversions. | madmaxoft | 2014-03-16 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into awesometnt | Tiger Wang | 2014-03-10 | 1 | -1/+1 |
|\| | | | | | | | | | | | Conflicts: src/Items/ItemLighter.h src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | Change TNT Fuse to ticks | Howaner | 2014-03-08 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into awesometnt | Tiger Wang | 2014-03-10 | 1 | -5/+3 |
|\| | |||||
| * | Merge pull request #746 from Howaner/Slabs | Mattes D | 2014-03-03 | 1 | -5/+3 |
| |\ | | | | | | | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs | ||||
| | * | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs | Howaner | 2014-03-02 | 1 | -5/+3 |
| | | | |||||
* | | | Added extra awesomeness to TNT | Tiger Wang | 2014-03-05 | 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 | ||||
* / | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -2/+2 |
|/ | |||||
* | Removed problematic utf8. | madmaxoft | 2014-02-20 | 1 | -2/+2 |
| | |||||
* | Bad UTF-8 o.O | Howaner | 2014-02-20 | 1 | -2/+2 |
| | |||||
* | Remove typeinfo import in IncrementalRedstoneSimulator | Howaner | 2014-02-20 | 1 | -2/+0 |
| | |||||
* | Add Pressure Plate Sound | Howaner | 2014-02-20 | 1 | -0/+9 |
| | |||||
* | Add Light weighted pressure plates | Howaner | 2014-02-20 | 1 | -10/+18 |
| | |||||
* | Fixed a glaring bug with chunk cross-simulating | Tiger Wang | 2014-02-16 | 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 | ||||
* | Added a 'default:' for SimChunk()'s switch | Tiger Wang | 2014-02-15 | 1 | -0/+1 |
| | |||||
* | A fix and an improvement | Tiger Wang | 2014-02-15 | 1 | -22/+41 |
| | | | | | | | | * 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 | ||||
* | Sizeable speed improvements to redstone | Tiger Wang | 2014-02-15 | 1 | -69/+92 |
| | | | | | | | | | | | | | + 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 :) | ||||
* | Add more Sounds to Redstone Simulator | Howaner | 2014-02-15 | 1 | -1/+23 |
| | |||||
* | Add Fence Gate to Redstone Simulator | Howaner | 2014-02-15 | 1 | -0/+29 |
| | |||||
* | Improved pressure plates | Tiger Wang | 2014-02-12 | 1 | -1/+1 |
| | | | | | + Two (or more) pressure plates can be triggered at the same time * Fixed issues caused by pressure plates not being in the sources list | ||||
* | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 2014-02-07 | 1 | -0/+1534 |