Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix sending incorrect date values on world change | Tiger Wang | 2021-04-12 | 1 | -11/+16 |
| | | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge. | ||||
* | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 2021-01-18 | 1 | -2/+2 |
| | |||||
* | Implement Dropspenser Hook (#4903) | KrystilizeNevaDies | 2020-09-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement Dropspenser Hook Implemented a hook for dropspensing. HOOK_DROPSPENSE When plugin callback returns true then dropspense is cancelled * Update src/Bindings/PluginManager.h Co-authored-by: peterbell10 <peterbell10@live.co.uk> * Create OnDropSpense.lua * Fix indent * Forgot include Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager * Update plugins.lua with dropspense * fix typos * haha notepad++ go brr Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Add more statistic tracking (#4837) | 12xx12 | 2020-09-05 | 1 | -0/+2 |
| | | | | | | | | + Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Lock hopper when powered by redstone (#4347) | Bond-009 | 2020-03-27 | 1 | -4/+17 |
| | | | | | | | | | * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -3/+3 |
| | |||||
* | Fixed crash in hopper while pulling items from blockentity above itself (#4412) | NiLSPACE | 2019-10-04 | 1 | -2/+2 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -96/+85 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -6/+6 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -1/+1 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -4/+3 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -12/+9 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -9/+12 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -12/+9 |
| | |||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 1 | -7/+20 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -1/+1 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+2 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -12/+4 |
| | |||||
* | Fixes #2245 | Tiger Wang | 2015-06-17 | 1 | -1/+1 |
| | | | | Whoops :/ | ||||
* | Improved hoppers | Tiger Wang | 2015-05-11 | 1 | -26/+15 |
| | | | | * Fixes #1994 | ||||
* | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -1/+1 |
|\ | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -0/+1 |
|/ | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -12/+12 |
| | |||||
* | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -35/+31 |
| | |||||
* | Removed WSSCompact | Tiger Wang | 2014-09-30 | 1 | -11/+0 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -3/+0 |
| | |||||
* | Fixed potential null dereference | Tycho | 2014-08-10 | 1 | -5/+5 |
| | | | | Fixes CID 70466 | ||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | | 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 Issue with Comparing agast the wrong chest, potentially causing crashes. | worktycho | 2014-07-13 | 1 | -7/+7 |
| | |||||
* | cHopperEntity: Simplified chest conditions. | madmaxoft | 2014-07-12 | 1 | -10/+4 |
| | |||||
* | Suggestions and bug fix | Tiger Wang | 2014-07-12 | 1 | -4/+13 |
| | | | | | | * 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 | ||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -8/+18 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Fixed crashes in HopperEntity. | Mattes D | 2014-06-24 | 1 | -19/+58 |
| | | | | | Some of the coords were off and some functions were assuming too much. Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497 | ||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -4/+7 |
| | |||||
* | Fixed double to float conversions. | madmaxoft | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Fixed compilation in MSVC (forward class definitions). | madmaxoft | 2014-02-24 | 1 | -0/+1 |
| | |||||
* | BlockEntities is warnings free | Tycho | 2014-02-24 | 1 | -0/+2 |
| | |||||
* | Removed debug messages again | Tiger Wang | 2014-02-15 | 1 | -6/+0 |
| | |||||
* | Added proper debug messages | Tiger Wang | 2014-02-13 | 1 | -3/+8 |
| | |||||
* | Fancy stuff with constant references | Tiger Wang | 2014-02-13 | 1 | -2/+2 |
| | |||||
* | Changed inheritance a bit | Tiger Wang | 2014-02-12 | 1 | -18/+35 |
| | | | | * cBlockEntityWithItems now inherits from cBlockEntityWindowOwner | ||||
* | Fixed #190 | Tiger Wang | 2014-02-11 | 1 | -2/+67 |
| | | | | + Hoppers now collect pickups above them | ||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -2/+2 |
| | |||||
* | Fixed a few MSVC warnings. | madmaxoft | 2014-01-06 | 1 | -1/+0 |
| | |||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | |||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Ref.: #407 | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+566 |