summaryrefslogtreecommitdiff
path: root/src/game-server/collisiondetection.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-04-07Fixed undefined #defines in mingw and c++0xErik Schilling1-0/+3
It looks like mingw does not define all the stuff in c++0x it does without.
2012-06-22Collisiondetection: Removing commented code.Stefan Beller1-118/+0
Reviewed-by: Ablu
2011-03-11Avoid sqrt and double in circle-to-circle collision detectionThorbjørn Lindeijer1-4/+6
We can just stick with integers by trading a sqrt for a multiplication. Reviewed-by: Bertram
2011-01-09Removed the superfluous point struct.Yohann Ferreira1-1/+1
It was too close from the Position class and it leads to making the server handle one or another type through the code. Still bugged me many times while making changes. Reviewed-by: Jaxad.
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-1/+1
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-13/+13
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-12-06Moved rectangle intersection to the Rectangle classThorbjørn Lindeijer1-22/+6
Also a bit of pointless cleanup in the math utils.
2009-05-24Fixed a few code style issuesBjørn Lindeijer1-7/+7
Also renamed Guild::totalMembers to Guild::memberCount
2008-11-20Added rectangular attack zones which are faster and simpler than cone-shaped ↵Philipp Sehmisch1-5/+20
ones and sufficient for most situations.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-10-29replace collision detection function (by Chuck Miller)Roderic Morris1-6/+94
2008-05-22(no commit message)Philipp Sehmisch1-0/+9
2007-03-03Enable the Id keyword.Bjørn Lindeijer1-1/+1
2007-03-03Set native eol-style on recently added files.Bjørn Lindeijer1-195/+195
2007-03-03Use M_PI_2 instead of acos(0.0f) and FLT_MAX instead of 1.0E40f (which exceededBjørn Lindeijer1-54/+46
the maximum float value). Some cosmetics (whitespace and declaring variables where they are used).
2007-03-03Implemented an alternate collision-detection function, added namespace ↵Rogier Polak1-6/+132
utils::math.
2007-02-25Some speed optimizations at the collision detection suggested by Avaniel.Philipp Sehmisch1-6/+8
2007-02-25Improved hit detection by adding a function to compute collisions between ↵Philipp Sehmisch1-0/+75
circles and circle sectors.