Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-28 | Minor style fixes | Tiger Wang | 2 | -0/+12 | |
2020-08-28 | ChunkMap: do not wantonly make empty chunks | Tiger Wang | 1 | -7/+0 | |
- Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324 | |||||
2020-08-25 | Fix doors and trapdoors closing on server restart | Peter Bell | 2 | -2/+6 | |
2020-08-21 | Replace PowerData struct with PowerLevel | Tiger Wang | 25 | -189/+171 | |
* We no longer need to track the powering block with the removal of SolidBlockHandler. PowerLevel is now just an unsigned char | |||||
2020-08-21 | Remove std::make_unique from redstone handler creation | Tiger Wang | 28 | -545/+494 | |
2020-08-08 | Remove the redstone solid block handler | Tiger Wang | 31 | -534/+725 | |
- Remove cSolidBlockHandler * Functionality now integrated into simulator dispatcher * Fix door double open/close issues, arisen due to the top/bottom halves getting different power + Small migration to block states for redstone wire | |||||
2020-08-05 | WakeUpSimulators correct Y computation | Tiger Wang | 1 | -1/+5 | |
+ Add Y validity check to SimulatorManager | |||||
2020-08-04 | Corrected wakeup sequences | Tiger Wang | 2 | -2/+2 | |
* Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick | |||||
2020-08-04 | Do not GetBlock individually in simulators | Tiger Wang | 7 | -75/+93 | |
* Have the simulator manager get the block and pass it on + Add new overload for WakeUp, called when the manager wakes face positions | |||||
2020-08-02 | Always use relative coordinates in AddBlock | Tiger Wang | 15 | -147/+83 | |
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | |||||
2020-08-02 | Add WakeUp/AddBlock distinction | Tiger Wang | 17 | -117/+138 | |
* WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator | |||||
2020-08-02 | Ensure updating relatives calls the correct base case | Tiger Wang | 9 | -14/+15 | |
* Fixed recursive base unintentionally scheduling the origin position for an update because it called the wrong function | |||||
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -22/+22 | |
2020-07-26 | Remove redundant ErasePowerData call | Tiger Wang | 1 | -7/+5 | |
* Also fix a return that should've been continue | |||||
2020-07-26 | Clang Tidy fix | Tiger Wang | 1 | -11/+11 | |
2020-07-26 | Comparators: use <= in comparison mode | Tiger Wang | 1 | -1/+1 | |
2020-07-26 | Use SimulateChunk in redstone simulator | Tiger Wang | 26 | -816/+759 | |
+ Improved performance, reduces bottleneck in chunkmap lookup * Stop allocating and throwing away lots of small vectors in Update/GetValidSourcePositions return values - Remove unused GetPowerLevel virtual | |||||
2020-07-25 | Reduce unnecessary wakeups | Tiger Wang | 1 | -12/+0 | |
- cSimulator no longer wakes up positions already woken by cChunk::SetBlock | |||||
2020-07-24 | Redstone: check validity of GetBlock | Tiger Wang | 1 | -1/+5 | |
2020-07-19 | Precompile unordered_map/set | Tiger Wang | 1 | -1/+0 | |
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | |||||
2020-05-31 | Fire sim: Handle fuel block being destroyed (#4751) | peterbell10 | 1 | -9/+25 | |
2020-05-16 | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2 | -17/+4 | |
* Make our CMake slightly less insane | |||||
2020-05-10 | Cleanup some workarounds and warnings (#4735) | peterbell10 | 1 | -12/+3 | |
* Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy? | |||||
2020-05-09 | Enable C++17 in build | Peter Bell | 1 | -1/+1 | |
2020-05-09 | Update submodules (#4727) | peterbell10 | 1 | -1/+1 | |
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version. | |||||
2020-05-08 | Add some comments about terracing | Tiger Wang | 1 | -17/+43 | |
2020-05-08 | Update RedstoneWireHandler style | Tiger Wang | 1 | -11/+9 | |
2020-05-08 | Fix SetBlockMeta call in observer handler (#4728) | peterbell10 | 1 | -2/+2 | |
2020-05-03 | Buttons can now be triggered by arrows. (#4670) | DrButcher | 1 | -3/+3 | |
* Buttons can now be triggered by arrows. | |||||
2020-05-03 | Update src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h | mBornand | 1 | -8/+1 | |
Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-05-03 | Update src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h | mBornand | 1 | -8/+1 | |
Co-authored-by: peterbell10 <peterbell10@live.co.uk> | |||||
2020-05-03 | Made some style update and add comments | Marc_Bornand | 1 | -4/+9 | |
2020-05-03 | Fix the connexion to the side of the repeater | Marc_Bornand | 1 | -3/+25 | |
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -1/+13 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-18 | Re-implement repeater locking | Tiger Wang | 1 | -5/+85 | |
2020-04-17 | Fixing washing away of redstone mechanisms (#4665) | DrButcher | 1 | -0/+1 | |
2020-04-16 | ಠ_ಠ (#4660) | Tiger Wang | 4 | -0/+112 | |
+ Provisional handling for observers | |||||
2020-04-16 | Using Super. | Mattes D | 32 | -68/+123 | |
2020-04-14 | Pressure plate sounds and delay (#4643) | DrButcher | 1 | -7/+141 | |
+ Added sounds on depress and release + Added correct delay times | |||||
2020-04-09 | Falling blocks can now be spawned at any position. (#4620) | Mattes D | 1 | -6/+1 | |
* Falling blocks can now be spawned at any position. * Added a /cake command to Debuggers that throws a cake in a nice slow arc. * Fixed regular falling blocks. | |||||
2020-04-05 | Filter blocks to add to redstone sim's wake queue (#4621) | peterbell10 | 2 | -6/+62 | |
2020-04-05 | Add potatoes to washed away list also | Alexander Harkness | 1 | -1/+2 | |
2020-04-05 | FluidSimulator: Carrots should be also washable (#4619) | metiu07 | 1 | -0/+1 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 6 | -1/+7 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2020-03-27 | Lock hopper when powered by redstone (#4347) | Bond-009 | 3 | -0/+65 | |
* Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | |||||
2020-03-22 | TNT position fixes (#4519) | Mat | 2 | -3/+2 | |
* TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format | |||||
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 4 | -97/+80 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 4 | -34/+23 | |
2019-08-11 | Fix building with clang 8.0 (#4346) | Bond-009 | 2 | -2/+2 | |
2018-09-24 | Add a formatting function for Vector3 (#4282) | peterbell10 | 3 | -41/+36 | |
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 17 | -22/+16 | |
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | |||||
2018-07-27 | Add new flow direction calculating algorithm (#4160) | bionext03 | 2 | -75/+36 | |
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2 | -2/+2 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 3 | -2/+1 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-25 | At long last... Piston animations! | Tiger Wang | 2 | -27/+12 | |
* Fixes #3198 * Fixes #57 (again lol) | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 2 | -8/+6 | |
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 4 | -26/+29 | |
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | |||||
2018-01-03 | Concrete mixing (#4096) | Zach DeCook | 1 | -0/+5 | |
Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1) | |||||
2017-12-26 | improve rain simulation (#4017) | Alexander Harkness | 2 | -23/+45 | |
* Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator. | |||||
2017-09-25 | cPressurePlateHandler: Fix uninitialised variables. (#4047) | peterbell10 | 1 | -2/+2 | |
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 3 | -10/+8 | |
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 7 | -116/+36 | |
2017-09-07 | Changed some int parameters to vector parameters (#3937) | Bond-009 | 21 | -93/+93 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 7 | -36/+116 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 7 | -116/+36 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 17 | -64/+59 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -4/+4 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 3 | -4/+0 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 6 | -6/+0 | |
2017-08-03 | Removed unused forward declarations (#3888) | Lukas Pioch | 3 | -15/+0 | |
2017-07-21 | Increment fire block iterator | Tiger Wang | 1 | -0/+1 | |
* Resolves potential deadlock | |||||
2017-07-17 | Allocate redstone component handlers upfront | peterbell10 | 22 | -299/+264 | |
2017-07-16 | Simulators: Added area-based wakeup. | Mattes D | 4 | -3/+87 | |
2017-06-30 | Added 1.12 blocks (#3760) | Bond-009 | 1 | -3/+7 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 1 | -3/+3 | |
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 2 | -2/+2 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-08 | Added missing checks for Initialize function and updated APIDoc | Lukas Pioch | 1 | -1/+6 | |
2017-04-29 | Fix fence gates (#3683) | Bond-009 | 1 | -0/+5 | |
This commit fixes an issue where a pressureplate would only open oak fence gates | |||||
2017-03-21 | Added blocks that can be washed away by water (#3637) | Bond-009 | 1 | -0/+10 | |
2017-02-15 | Updated sounds and effect IDs (#3422) | mathiascode | 4 | -5/+5 | |
2017-02-14 | Added some blocks and items (#3503) | mathiascode | 2 | -0/+10 | |
2016-12-06 | Fix comparator segfaults | Marvin Kopf | 1 | -1/+8 | |
The handler would get called for any BlockEntity, but not every BlockEntity is a BlockEntityWithItems. Downcasting with static_cast is UB on fail. | |||||
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 2 | -13/+10 | |
2016-07-31 | Redstone fixes (#3285) | Tiger Wang | 2 | -52/+86 | |
* Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | |||||
2016-07-29 | Revert "Redstone fixes" | Mattes D | 2 | -86/+52 | |
2016-07-29 | Consolidated comparator code | Tiger Wang | 1 | -46/+37 | |
* As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | |||||
2016-07-29 | Comparators and pistons no longer update instantly | Tiger Wang | 2 | -12/+55 | |
* Fixes #3168. | |||||
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 2 | -3/+0 | |
2016-07-01 | Revert "Made redstone handlers static" | Lukas Pioch | 2 | -93/+31 | |
2016-06-15 | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2 | -5/+28 | |
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | |||||
2016-05-28 | Don't let redstone blocks power adjacent blocks. (#3214) | QUSpilPrgm | 2 | -3/+2 | |
* Don't let redstone blocks power adjacent blocks. This fixes issue #2966 | |||||
2016-05-28 | Made redstone handlers static | Tiger Wang | 2 | -31/+93 | |
* Improvements to performance? Maybe. Can't hurt (he says). | |||||
2016-02-09 | Update RedstoneSimulator to delete unused cached PowerData | Marvin Kopf | 2 | -1/+10 | |
When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air). | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 18 | -83/+83 | |
2016-01-31 | Updated old forum links | Mathias | 2 | -2/+2 | |
2016-01-11 | Fixed issue #2218 | Austin Martin | 1 | -3/+5 | |
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2 | -2/+2 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-28 | Removed excessive logging in redstone simulator. | Mattes D | 1 | -7/+0 | |
2015-12-24 | Silenced the Redstone Simulator console spam | Safwat Halaby | 17 | -20/+20 | |
2015-12-24 | PF - "Special blocks" handling | Safwat Halaby | 4 | -4/+4 | |
2015-12-19 | Fixes for clang-3.7 | Lukas Pioch | 4 | -6/+6 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 29 | -2729/+2213 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-12-17 | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 1 | -1/+1 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 2 | -5/+6 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-08 | add sound to stone pressure plates | Gargaj | 1 | -0/+9 | |
add sound to stone pressure plates | |||||
2015-11-07 | Refactored code to use vectors in the cPistonHandler class | bibo38 | 1 | -2/+2 | |
2015-11-07 | fix pressure plate power levels | Gargaj | 1 | -4/+4 | |
2015-11-07 | fix pressure plate power levels | Gargaj | 1 | -4/+4 | |
2015-10-29 | Revert "Pressure plate fix" | Mattes D | 1 | -45/+14 | |
2015-10-28 | fixed pressure plate bugs | Schwertspize | 1 | -14/+45 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 6 | -40/+46 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 4 | -22/+22 | |
2015-07-17 | Fixed redstone issue | scribblemaniac | 1 | -2/+4 | |
Fixed issue where glowstone blocks would block power transmission in some situations. | |||||
2015-07-15 | Now Water sources will also be created on top of existing water sources. | bibo38 | 1 | -3/+6 | |
See also on http://minecraft.gamepedia.com/Water#Source_blocks Fixes #2097 | |||||
2015-07-14 | Improved maps | Tiger Wang | 3 | -10/+10 | |
2015-06-07 | Added moar comments | Tiger Wang | 2 | -13/+13 | |
2015-06-07 | Vector hasher is now a separate class | Tiger Wang | 1 | -5/+7 | |
2015-06-06 | Use emplace to construct structures | Tiger Wang | 2 | -54/+61 | |
2015-06-06 | Improved link unpowering speed | Tiger Wang | 1 | -48/+41 | |
Also fixed compile errors | |||||
2015-06-06 | Changed appropriate containers to unordered_map | Tiger Wang | 2 | -158/+85 | |
Thanks to @worktycho for guidance! * Potential speed improvements | |||||
2015-06-06 | Improved link power behaviour | Tiger Wang | 2 | -163/+119 | |
2015-06-06 | Improved wires and repeaters | Tiger Wang | 2 | -73/+152 | |
* Fixed repeater cross-chunk power detection + Re-implemented horizontal wire cut-off checking | |||||
2015-06-06 | Fixed wire consuming much resources | Tiger Wang | 1 | -7/+17 | |
2015-06-06 | Redstone wire and trapdoor fixes | Tiger Wang | 2 | -310/+309 | |
* Fixes #1887 * Fixes #1763 * Fixes #1083 | |||||
2015-06-06 | Provides improvements to redstone wire | Tiger Wang | 2 | -94/+70 | |
Intermediary commit that fixes #1763. | |||||
2015-06-06 | Comparators | Tiger Wang | 2 | -78/+180 | |
2015-05-28 | Fix comments | tycho | 4 | -9/+16 | |
2015-05-24 | Made -Weverything an error. | tycho | 5 | -10/+29 | |
2015-05-19 | Make -Werror disabling file only | tycho | 2 | -1/+8 | |
Ad fix a load of warnings | |||||
2015-05-09 | More style checking. | Mattes D | 2 | -6/+6 | |
Spaces around some operators are checked. | |||||
2015-03-20 | Correct world height validations. | Tommy Santerre | 2 | -3/+3 | |
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 | |||||
2015-03-19 | Removed wrong else clause, which caused that the following if-Statement got only executed in rare cases. This has blocked the creation of new Fluid-Sources. Bugfix #1783 | bibo38 | 1 | -1/+2 | |
2015-01-18 | Fixed type conversion warnings. | Mattes D | 1 | -1/+1 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 12 | -13/+13 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-25 | Fixed basic style. | Mattes D | 2 | -21/+69 | |
2014-12-18 | Fix repeater unpowering | Tiger Wang | 1 | -2/+4 | |
2014-12-17 | Removed unneeded newlines | Ivan Đorđević | 1 | -6/+0 | |
2014-12-17 | NULL -> nullptr | Tiger Wang | 2 | -14/+18 | |
2014-12-16 | Fixed water from spreading on bottom of world | gushromp | 1 | -7/+11 | |
2014-12-16 | Fixed water from spreading on bottom of world | gushromp | 1 | -5/+8 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -0/+2 | |
2014-12-05 | Fixed reported parentheses around comparisons. | Mattes D | 1 | -1/+3 | |
2014-10-29 | Improved redstone simulator | Tiger Wang | 2 | -818/+808 | |
* Fixed style inconsistencies * Used more C++11 features * Improved speed perhaps | |||||
2014-10-25 | Cleaned up simulators | Tiger Wang | 13 | -2671/+2634 | |
2014-10-23 | Merged IniFile into main MCS sources. | Mattes D | 1 | -1/+1 | |
2014-10-23 | Fixed a crash in redstone simulator. | Mattes D | 1 | -1/+0 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 8 | -11/+11 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 8 | -11/+11 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -2/+2 | |
2014-09-30 | Fixed iron trapdoors | Howaner | 1 | -0/+1 | |
2014-09-28 | Use factory method to construct redstone simulator data | Tycho | 3 | -0/+12 | |
2014-09-27 | Fixed another redstone crash. | madmaxoft | 1 | -1/+6 | |
2014-09-27 | Wrapped clang-specific pragma into an #ifdef block. | madmaxoft | 1 | -1/+6 | |
MSVC was complaining about an unknown pragma. | |||||
2014-09-27 | Update IncrementalRedstoneSimulator.inc | worktycho | 1 | -1/+1 | |
2014-09-27 | Update IncrementalRedstoneSimulator.inc | worktycho | 1 | -1/+1 | |
2014-09-27 | Correct method name. | worktycho | 1 | -1/+1 | |
2014-09-27 | Set chunk data | worktycho | 1 | -0/+5 | |
2014-09-26 | Re-added 1.8 blocks to the redstone simulator | Masy98 | 1 | -9/+46 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -0/+1 | |
2014-09-26 | Fixed issue with casting | tycho | 1 | -1/+3 | |
2014-09-25 | Redstone: Fixed a crash with repeaters on a chunk border. | madmaxoft | 1 | -13/+22 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 6 | -30/+40 | |
2014-09-16 | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 4 | -364/+382 | |
2014-09-11 | Don't include IncrementalRedsonteSimulator.inc when in SELF_TEST mode | Tycho | 1 | -5/+0 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 15 | -2318/+2324 | |
THis wil hopefully allow for unit testing | |||||
2014-09-11 | Added blocks to the fire simulator | Masy98 | 1 | -0/+11 | |
2014-09-10 | Added iron trapdoor, fence gates and doors to the redstone simulator | Masy98 | 1 | -0/+11 | |
2014-08-29 | VanillaFluidSimulator: Fixed an invalid Y-coord query. | Mattes D | 1 | -1/+1 | |
This was causing a spam of console messages, along with possible server crash, when liquids passed below the world: http://forum.mc-server.org/showthread.php?tid=1508&pid=15632#pid15632 | |||||
2014-08-05 | Removed dependecy of redstone simulator on NoteBlock | Tycho | 1 | -11/+6 | |
2014-08-05 | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 1 | -5/+4 | |
2014-08-04 | CheckBasicStyle: multi-level indent change. | madmaxoft | 1 | -3/+3 | |
2014-08-01 | Added missing HOOK_BLOCK_SPREAD call. | Howaner | 1 | -6/+14 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -1/+1 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2 | -4/+4 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 2 | -4/+4 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 2 | -6/+6 | |
2014-07-19 | Subdirs: Only add_library if not using MSVC | archshift | 1 | -1/+3 | |
2014-07-19 | Simulator/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -5/+28 | |
2014-07-18 | Fixed spaces before commas. | madmaxoft | 1 | -2/+2 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 4 | -4/+4 | |
2014-07-17 | More trailing whitespace fixes. | madmaxoft | 1 | -4/+4 | |
2014-07-17 | Basic style fixes. | madmaxoft | 10 | -21/+21 | |
2014-07-17 | Normalized comments. | madmaxoft | 6 | -84/+84 | |
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. | |||||
2014-07-16 | Fixed another redstone simulator crash | Tiger Wang | 1 | -0/+7 | |
2014-07-15 | Fixed redstone simulator crash | Tiger Wang | 2 | -8/+31 | |
* Fixes #1176 * Fixed #1186 | |||||
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 3 | -10/+10 | |
2014-07-12 | Suggestions and bug fix | Tiger Wang | 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 | |||||
2014-07-11 | Suggestions | Tiger Wang | 1 | -0/+3 | |
2014-07-11 | Suggestions | Tiger Wang | 1 | -1/+4 | |
2014-07-11 | Improved LinkedPowering speed | Tiger Wang | 1 | -15/+15 | |
* Additionally fixed wires powering other wires through blocks | |||||
2014-07-07 | Fixed compilation and pressure plates | Tiger Wang | 1 | -8/+4 | |
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 2 | -83/+150 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-07-04 | Fixed c1deda5d8f01811efa5094e9375166acb69d50ed | Tiger Wang | 1 | -2/+2 | |
I keep on breaking stuff :P | |||||
2014-06-28 | Implemented tripwire(s) (hooks) | Tiger Wang | 2 | -15/+156 | |
* Fixes #944 | |||||
2014-06-28 | Fixed bad water/redstone simulator communication | Tiger Wang | 1 | -32/+22 | |
* Fixes #713 | |||||
2014-06-22 | Changed 0xFFFFFFFB to ~0x04 | Howaner | 1 | -1/+1 | |
2014-06-22 | Fixed another daylight sensor bug | Tiger Wang | 1 | -20/+23 | |
Additionally fixed unpowering across chunks. | |||||
2014-06-22 | Fixed missing break | worktycho | 1 | -0/+1 | |
Fixes CID 68409 | |||||
2014-06-22 | Fixed invalid iterator | worktycho | 1 | -2/+3 | |
Fixes CID 60408 | |||||
2014-06-19 | Nullify deleted pointers. | archshift | 1 | -1/+3 | |
2014-06-17 | Fix fence gate sound (Redstone simulator). | Howaner | 1 | -4/+10 | |
2014-06-17 | Fix fence gate redstone simulator. | Howaner | 1 | -2/+1 | |
2014-06-16 | FIxed second weird enum | Tycho | 1 | -20/+1 | |
2014-06-16 | Refactored reversing logic into seperate function | Tycho | 1 | -14/+3 | |
2014-06-16 | Fixed tigers weird enums | Tycho | 1 | -14/+6 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -8/+30 | |
2014-06-16 | Moved repeater handling to seperate pass | Tycho | 2 | -97/+64 | |
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 | |