Ignore:
Timestamp:
Dec 21, 1999, 2:28:20 AM (26 years ago)
Author:
hugh
Message:

Added ODIn lic header with ID to all files where missing

Cleaned up Surface handling by movefing colorfill and
colorconversion into own files and use functionpointers
setup during creation.

updated makefile to add files

removed inhertiance from IBASE in DDrectangle class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/rectangle.cpp

    r405 r2174  
     1/* $Id: rectangle.cpp,v 1.3 1999-12-21 01:28:17 hugh Exp $ */
     2
     3/*
     4 * Rectangle class Implementaion
     5 *
     6 * Copyright 1999 Markus Montkowski
     7 *
     8 * Project Odin Software License can be found in LICENSE.TXT
     9 *
     10 */
     11
     12typedef long BOOL;
     13
    114#include "rectangle.h"
    215
     
    1326}
    1427
    15 IBase::Boolean DDRectangle::operator == ( const DDRectangle &aRect ) const
     28BOOL DDRectangle::operator == ( const DDRectangle &aRect ) const
    1629  {
    1730  return ( lTop == aRect.lTop && lLeft == aRect.lLeft
     
    1932           lBottom == aRect.lBottom && lRight == aRect.lRight);
    2033  }
    21 IBase::Boolean DDRectangle::operator != ( const DDRectangle& aRect ) const
     34BOOL DDRectangle::operator != ( const DDRectangle& aRect ) const
    2235  {
    2336  return !( *this == aRect );
    2437  }
    25 IBase::Boolean DDRectangle::intersects ( const DDRectangle &aRect ) const
     38BOOL DDRectangle::intersects ( const DDRectangle &aRect ) const
    2639{
    2740  return ( lTop < aRect.lBottom && lLeft<aRect.lRight
Note: See TracChangeset for help on using the changeset viewer.