summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ChunkMap: do not wantonly make empty chunksTiger Wang2020-08-281-6/+3
| | | | | | - Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324
* Use Vector3 for cLineBlockTracer and cBlockTracer (#4715)mBornand2020-05-081-85/+56
| | | * cLineBlockTracer uses Vector
* Using Super.Mattes D2020-04-161-1/+1
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-3/+3
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-3/+3
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-3/+3
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* LineBlockTracer: Fixed a math rounding error failure.Mattes D2017-05-281-1/+5
|
* Tracer replacement (#3704)Mattes D2017-05-111-1/+93
| | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
* Bulk clearing of whitespaceLogicParrot2016-02-051-5/+5
|
* Fixed overshoot in cLineBlockTracer.Mattes D2015-06-051-6/+13
| | | | Fixes #2161.
* Fix commentstycho2015-05-281-5/+5
|
* Made -Weverything an error.tycho2015-05-241-6/+6
|
* Fixed defect #43662 in Coverity list.Kirill Kirilenko2015-01-231-1/+17
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Made it compile with clangChris Darnell2014-09-221-3/+3
|
* Fix crash in cLineBlockTracerTiger Wang2014-09-211-8/+7
| | | * Fixes #1418
* Line tracer invalid chunk fixTiger Wang2014-07-201-20/+20
| | | | | * Fixes #1230 * Additionally improved speed in some scenarios
* Fixed a bug with bucketsTiger Wang2014-07-161-8/+9
| | | | | * Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line
* Removed unused assignments.archshift2014-04-261-1/+0
|
* Unified Vector classesandrew2014-03-111-1/+1
|
* More MSVC warning fixes.madmaxoft2014-01-071-1/+1
|
* fixed warnings in LineBlockTracer.cppTycho Bickerstaff2013-12-311-1/+0
|
* Moved source to srcAlexander Harkness2013-11-241-0/+262