aboutsummaryrefslogtreecommitdiff
path: root/common/rect.h
AgeCommit message (Collapse)Author
2006-11-03added translation method to Common::RectGregory Montoir
svn-id: r24591
2006-10-18Added Point::sqrDist method to (safely) compute the square of the distance ↵Max Horn
between two points svn-id: r24370
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-02Add debuggins method. Whitespace fixes.Eugene Sandulenko
svn-id: r18729
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-28fix warningAndrew Kurushin
svn-id: r18285
2005-05-28commit adds setWidth & setHeight to extend bounds of rectAndrew Kurushin
svn-id: r18283
2005-01-11On Fingolfin's suggestion I put back the inclusion of util.h into Rect, forTorbjörn Andersson
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-04-25Comment about how our Rect class works. Note: the SAGA engine currently does ↵Max Horn
use the alternate approach to rects! Hence we can't currently use all those nice and nifty helper methods from Common::Rect in SAGA. svn-id: r13626
2004-04-06Fixed Rect(width, height) constructorMax Horn
svn-id: r13482
2004-03-04added Rect::moveTo methodsMax Horn
svn-id: r13190
2004-01-18improved rect clipping & verificationMax Horn
svn-id: r12507
2004-01-08useful convenience methodMax Horn
svn-id: r12233
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11219
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-08-21patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local ↵Jonathan Gray
bits in my tree svn-id: r9807
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-06-01renamed&fixed contains(Rect) -> intersects(Rect); added extend() methodMax Horn
svn-id: r8246
2003-05-29fixed doc commentMax Horn
svn-id: r8107
2003-05-23oops, fixed ScummVM::Rect constructor (this fixes various string redraw bugs)Max Horn
svn-id: r7868
2003-05-15oopsMax Horn
svn-id: r7545
2003-05-15add method to grow a rectMax Horn
svn-id: r7544
2003-05-15renamed isInside() to contains() (this is more intuitive, because ↵Max Horn
r.isInside(p) actually meant 'p is inside r', which was confusing; now it's r.contains(p) which means 'r contains p') svn-id: r7541
2003-05-15make SWAP a template function, so that it works for swapping non-int stuff, ↵Max Horn
too; 'int16' should be sufficient for points/rects svn-id: r7540
2003-05-15let it compileMax Horn
svn-id: r7539
2003-05-15cleanup (rect.h is not used anywhere but I plan to change that...)Max Horn
svn-id: r7537
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2002-08-31fixed compilation on Mac OS X; some cleanup; moved header file ↵Max Horn
scumm/smusH/rect.h to common/rect.h svn-id: r4877