| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* We no longer need to track the powering block with the removal of SolidBlockHandler. PowerLevel is now just an unsigned char
|
| |
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
+ 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
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* Fixes #3198
* Fixes #57 (again lol)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
|
|
| |
* Fixes #3168.
|
| |
|
|
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan!
* Uses classes and inheritance now
* Speed should be improved
|