Subversion Repositories Games.Rick Dangerous

Rev

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

  1. /*
  2.  * src/img.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 _IMG_H
  15. #define _IMG_H
  16.  
  17. #include "system.h"
  18.  
  19. typedef struct
  20. {
  21.    U8 r, g, b, nothing;
  22. } img_color_t;
  23.  
  24. typedef struct
  25. {
  26.    U16 w, h;
  27.    U16 ncolors;
  28.    img_color_t *colors;
  29.    U8 *pixels;
  30. } img_t;
  31.  
  32. img_t *IMG_SPLASH;
  33.  
  34. #endif
  35.