Diff for /np2/common/rect.c between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:57:10 version 1.2, 2005/02/07 14:46:08
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   
   
 BOOL rect_in(const RECT_T *rect, int x, int y) {  BRESULT rect_in(const RECT_T *rect, int x, int y) {
   
         if ((rect) &&          if ((rect) &&
                 (rect->left <= x) && (rect->right > x) &&                  (rect->left <= x) && (rect->right > x) &&
Line 26  int rect_num(const RECT_T *rect, int cnt Line 26  int rect_num(const RECT_T *rect, int cnt
         return(-1);          return(-1);
 }  }
   
 BOOL rect_isoverlap(const RECT_T *r1, const RECT_T *r2) {  BRESULT rect_isoverlap(const RECT_T *r1, const RECT_T *r2) {
   
         if ((r1->left >= r2->right) ||          if ((r1->left >= r2->right) ||
                 (r1->right <= r2->left) ||                  (r1->right <= r2->left) ||

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>