Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 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 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -2/+2 | |
2020-03-27 | Lock hopper when powered by redstone (#4347) | Bond-009 | 1 | -4/+17 | |
* Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is> | |||||
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 1 | -3/+3 | |
2019-10-04 | Fixed crash in hopper while pulling items from blockentity above itself (#4412) | NiLSPACE | 1 | -2/+2 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -96/+85 | |
2018-09-24 | Add a formatting function for Vector3 (#4282) | peterbell10 | 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 | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 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. | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -4/+3 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -12/+9 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -9/+12 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -12/+9 | |
2017-06-16 | BlockEntities: Support cloning self. | Mattes D | 1 | -7/+20 | |
2017-06-05 | Fixes problems with windows: | Lukas Pioch | 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 | |||||
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -1/+1 | |
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 1 | -1/+2 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -12/+4 | |
2015-06-17 | Fixes #2245 | Tiger Wang | 1 | -1/+1 | |
Whoops :/ | |||||
2015-05-11 | Improved hoppers | Tiger Wang | 1 | -26/+15 | |
* Fixes #1994 | |||||
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -1/+1 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-13 | Own classes for all windows. | Howaner | 1 | -0/+1 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -12/+12 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -12/+12 | |
2014-10-12 | convert old style casts to fix warnings | Steven Riehl | 1 | -35/+31 | |
2014-09-30 | Removed WSSCompact | Tiger Wang | 1 | -11/+0 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -3/+0 | |
2014-08-10 | Fixed potential null dereference | Tycho | 1 | -5/+5 | |
Fixes CID 70466 | |||||
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-13 | Fixed Issue with Comparing agast the wrong chest, potentially causing crashes. | worktycho | 1 | -7/+7 | |
2014-07-12 | cHopperEntity: Simplified chest conditions. | madmaxoft | 1 | -10/+4 | |
2014-07-12 | Suggestions and bug fix | Tiger Wang | 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 | |||||
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 1 | -8/+18 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
2014-06-24 | Fixed crashes in HopperEntity. | Mattes D | 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 | |||||
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -4/+7 | |
2014-03-16 | Fixed double to float conversions. | madmaxoft | 1 | -1/+1 | |
2014-02-24 | Fixed compilation in MSVC (forward class definitions). | madmaxoft | 1 | -0/+1 | |
2014-02-24 | BlockEntities is warnings free | Tycho | 1 | -0/+2 | |
2014-02-15 | Removed debug messages again | Tiger Wang | 1 | -6/+0 | |
2014-02-13 | Added proper debug messages | Tiger Wang | 1 | -3/+8 | |
2014-02-13 | Fancy stuff with constant references | Tiger Wang | 1 | -2/+2 | |
2014-02-12 | Changed inheritance a bit | Tiger Wang | 1 | -18/+35 | |
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner | |||||
2014-02-11 | Fixed #190 | Tiger Wang | 1 | -2/+67 | |
+ Hoppers now collect pickups above them | |||||
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -2/+2 | |
2014-01-06 | Fixed a few MSVC warnings. | madmaxoft | 1 | -1/+0 | |
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -2/+2 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-15 | Removed BlockEntities' constructors from the API. | madmaxoft | 1 | -11/+0 | |
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating). | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-11 | Added the OnHopperPullingItem and OnHopperPushingItem hooks. | madmaxoft | 1 | -50/+104 | |
Requested in FS 412, slightly modified the params. | |||||
2013-08-03 | Removed the unused BlockY parameter from cChunkDef::BlockToChunk() | madmaxoft | 1 | -1/+1 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -523/+523 | |
2013-06-20 | Furnaces light up visually when they're cooking | madmaxoft@gmail.com | 1 | -8/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-20 | Implemented hopper output | madmaxoft@gmail.com | 1 | -4/+211 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1611 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-16 | Rewritten furnaces | madmaxoft@gmail.com | 1 | -1/+23 | |
Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-15 | Fixed Linux compilation | madmaxoft@gmail.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1589 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-13 | Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it. | madmaxoft@gmail.com | 1 | -0/+291 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6 |