summaryrefslogtreecommitdiffstats
path: root/src/Tracer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed the obsolete cTracer class. (#4594)Mattes D2020-04-031-452/+0
|
* 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-0/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Use clang-tidy to check more code conventions (#4214)Bond-0092018-05-061-74/+74
| | | | | | | * Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164
* Bulk clearing of whitespaceLogicParrot2016-02-051-5/+5
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-2/+2
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* Fixed some Visual Studio warningsTiger Wang2015-05-091-3/+3
|
* Tracer::signum function now returns intWoazboat2015-05-081-23/+26
| | | | | | convert c style casts to c++ static casts Changed fabs() to std::abs()
* Check for zero length vector in TraceWoazboat2015-05-081-4/+10
| | | | Added hasNonZeroLength member function to Vector3
* Changed Tracer::m_NormalTable to static arrayWoazboat2015-05-081-7/+20
| | | | Was previously instantiated for every trace
* BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-3/+12
|
* Fixed reported parentheses around comparisons.Mattes D2014-12-051-49/+56
|
* A few compiler warning fixesChris Darnell2014-09-231-1/+1
|
* Made it compile with clangChris Darnell2014-09-221-1/+1
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-32/+32
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-20/+20
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-3/+3
|
* Normalized comments.madmaxoft2014-07-171-9/+23
| | | | | 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 spaces around single-line comments.madmaxoft2014-07-171-12/+12
| | | | There should be at least two spaces in front and one space after //-style comments.
* Some change to Entity.cppTiger Wang2014-04-231-1/+5
| | | | * Added comments to BroadcastMovementUpdate() and the collision tracer
* Unified Vector classesandrew2014-03-111-4/+0
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+398