31 Commits

Author SHA1 Message Date
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
636dd6e6d6 Add debuggins method. Whitespace fixes.
svn-id: r18729
2005-09-02 08:51:58 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Andrew Kurushin
4a9a0cef3b fix warning
svn-id: r18285
2005-05-28 12:53:11 +00:00
Andrew Kurushin
cd72ae9e65 commit adds setWidth & setHeight to extend bounds of rect
svn-id: r18283
2005-05-28 12:28:23 +00:00
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
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-11 13:25:02 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
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