summaryrefslogtreecommitdiffstats
path: root/src/Tracer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-2/+2
2015-05-19Make -Werror disabling file onlytycho1-1/+1
Ad fix a load of warnings
2015-05-09Fixed some Visual Studio warningsTiger Wang1-3/+3
2015-05-08Tracer::signum function now returns intWoazboat1-23/+26
convert c style casts to c++ static casts Changed fabs() to std::abs()
2015-05-08Check for zero length vector in TraceWoazboat1-4/+10
Added hasNonZeroLength member function to Vector3
2015-05-08Changed Tracer::m_NormalTable to static arrayWoazboat1-7/+20
Was previously instantiated for every trace
2015-05-05Revert "Small code cleanup"worktycho1-49/+33
2015-04-29Changed fabs() to std::abs()Woazboat1-4/+4
2015-04-29braces in Tracer::mNormalTable initializer in separate linesWoazboat1-2/+4
2015-04-29Added extra braces to initialization of Tracer::m_NormalTableWoazboat1-2/+2
2015-04-29And another cs fix I overlookedWoazboat1-1/+1
2015-04-29Fixed comments according to csWoazboat1-11/+11
2015-04-29Fix HasNonZeroLength nameWoazboat1-2/+2
now 100% more cs compliant
2015-04-29Changed Tracer::m_NormalTable to static arrayWoazboat1-6/+11
Was previously instantiated for every trace
2015-04-28Tracer signum function now returns intWoazboat1-6/+8
2015-04-28Check for zero length vector in TraceWoazboat1-4/+10
Added hasNonZeroLength member function to Vector3
2015-04-28convert c style casts to c++ static castsWoazboat1-14/+15
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-3/+12
2014-12-05Fixed reported parentheses around comparisons.Mattes D1-49/+56
2014-09-23A few compiler warning fixesChris Darnell1-1/+1
2014-09-22Made it compile with clangChris Darnell1-1/+1
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-32/+32
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-20/+20
2014-07-19Fixed style: spaces after commas.madmaxoft1-3/+3
2014-07-17Normalized comments.madmaxoft1-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.
2014-07-17Fixed spaces around single-line comments.madmaxoft1-12/+12
There should be at least two spaces in front and one space after //-style comments.
2014-04-23Some change to Entity.cppTiger Wang1-1/+5
* Added comments to BroadcastMovementUpdate() and the collision tracer
2014-03-11Unified Vector classesandrew1-4/+0
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-05Added missing check for a_LineOfSightSamuel Barney1-1/+1
2013-11-05cTracer can now handle mob sight.Samuel Barney1-3/+4
2013-11-05Added more documentation. Changed cTracer::Trace to return a bool instead of an int because it was only returning 1 or 0 anyways.Samuel Barney1-4/+4
2013-11-05Reworked collision to use g_BlockIsSolidSamuel Barney1-15/+6
2013-11-05Flowers, mushrooms and air are no longer collidable.Samuel Barney1-6/+15
2013-08-24Fixed logging in cTracer.madmaxoft1-1/+1
2013-08-24cTracer doesn't attempt a trace above the world.madmaxoft1-2/+2
This fixes some crashes with out-of-world entities.
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-4/+1
2013-04-06Tracer: removed the "start and end in the same block" warning, it is a normal condition.madmaxoft@gmail.com1-29/+59
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1360 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30cTracer: Fixed asserts for invalid coordsmadmaxoft@gmail.com1-6/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1327 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-350/+350
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-88/+56
git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-22Fixes:lapayo94@gmail.com1-2/+5
- Pickups fall through water now (Server-side they stayed in the water surface) - Suppressed some warnings (int to short etc.) - Water is now passable for cTracer git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+377
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6