Commit Graph

22 Commits

Author SHA1 Message Date
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
795a735a31 Comment about how our Rect class works. Note: the SAGA engine currently does 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-25 16:16:21 +00:00
Max Horn
c7d22d5a6f Fixed Rect(width, height) constructor
svn-id: r13482
2004-04-06 11:11:10 +00:00
Max Horn
af2f29f55c added Rect::moveTo methods
svn-id: r13190
2004-03-04 22:26:31 +00:00
Max Horn
cd045460cc improved rect clipping & verification
svn-id: r12507
2004-01-18 21:41:38 +00:00
Max Horn
ab2192761d useful convenience method
svn-id: r12233
2004-01-08 03:24:01 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Jonathan Gray
ce42f4d3dd patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
svn-id: r9807
2003-08-21 13:39:21 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, 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-08-01 12:21:04 +00:00
Max Horn
f91de2ae1e renamed&fixed contains(Rect) -> intersects(Rect); added extend() method
svn-id: r8246
2003-06-01 17:06:07 +00:00
Max Horn
c991d40c58 fixed doc comment
svn-id: r8107
2003-05-29 16:37:49 +00:00
Max Horn
ad4eb36093 oops, fixed ScummVM::Rect constructor (this fixes various string redraw bugs)
svn-id: r7868
2003-05-23 17:01:35 +00:00
Max Horn
050358bc7f oops
svn-id: r7545
2003-05-15 22:27:09 +00:00
Max Horn
b34318ca55 add method to grow a rect
svn-id: r7544
2003-05-15 22:15:24 +00:00
Max Horn
f695aa3885 renamed isInside() to contains() (this is more intuitive, because 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-15 21:52:10 +00:00
Max Horn
128f793be0 make SWAP a template function, so that it works for swapping non-int stuff, too; 'int16' should be sufficient for points/rects
svn-id: r7540
2003-05-15 21:40:36 +00:00
Max Horn
c0e8eb0cb7 let it compile
svn-id: r7539
2003-05-15 21:33:39 +00:00
Max Horn
6cbfc1e342 cleanup (rect.h is not used anywhere but I plan to change that...)
svn-id: r7537
2003-05-15 21:25:35 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Max Horn
a39711e256 fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h
svn-id: r4877
2002-08-31 13:29:10 +00:00