Subversion Repositories Games.Rick Dangerous

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * src/rects.h
  3.  *
  4.  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  5.  *
  6.  * The use and distribution terms for this software are contained in the file
  7.  * named README, which can be found in the root of this distribution. By
  8.  * using this software in any fashion, you are agreeing to be bound by the
  9.  * terms of this license.
  10.  *
  11.  * You must not remove this notice, or any other, from this software.
  12.  */
  13.  
  14. #ifndef _RECTS_H
  15. #define _RECTS_H
  16.  
  17. #include "system.h"
  18.  
  19. typedef struct rect_s
  20. {
  21.    U16 x, y;
  22.    U16 width, height;
  23.    struct rect_s *next;
  24. } rect_t;
  25.  
  26. extern void rects_free (rect_t *);
  27. extern rect_t *rects_new (U16, U16, U16, U16, rect_t *);
  28.  
  29. #endif
  30.