summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-28ChunkMap: do not wantonly make empty chunksTiger Wang1-6/+3
- Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324
2020-05-08Use Vector3 for cLineBlockTracer and cBlockTracer (#4715)mBornand1-85/+56
* cLineBlockTracer uses Vector
2020-04-16Using Super.Mattes D1-1/+1
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-0/+1
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
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-3/+3
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-3/+3
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-3/+3
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-05-28LineBlockTracer: Fixed a math rounding error failure.Mattes D1-1/+5
2017-05-11Tracer replacement (#3704)Mattes D1-1/+93
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
2016-02-05Bulk clearing of whitespaceLogicParrot1-5/+5
2015-06-05Fixed overshoot in cLineBlockTracer.Mattes D1-6/+13
Fixes #2161.
2015-05-28Fix commentstycho1-5/+5
2015-05-24Made -Weverything an error.tycho1-6/+6
2015-01-23Fixed defect #43662 in Coverity list.Kirill Kirilenko1-1/+17
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-09-22Made it compile with clangChris Darnell1-3/+3
2014-09-21Fix crash in cLineBlockTracerTiger Wang1-8/+7
* Fixes #1418
2014-07-20Line tracer invalid chunk fixTiger Wang1-20/+20
* Fixes #1230 * Additionally improved speed in some scenarios
2014-07-16Fixed a bug with bucketsTiger Wang1-8/+9
* Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line
2014-04-26Removed unused assignments.archshift1-1/+0
2014-03-11Unified Vector classesandrew1-1/+1
2014-01-07More MSVC warning fixes.madmaxoft1-1/+1
2013-12-31fixed warnings in LineBlockTracer.cppTycho Bickerstaff1-1/+0
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-16LineBlockTracer: Using the coord-based block faces.madmaxoft1-3/+3
2013-08-27Implemented basic physics for projectiles.madmaxoft1-5/+6
2013-08-04LineBlockTracer: Fixed initial errorsmadmaxoft1-4/+7
2013-08-04First attempt at implementing a cLineBlockTracer classmadmaxoft1-0/+258
Not yet tested, will probably have lots of bugs, if it is at all usable.