The SILC Project

source navigation ]
identifier search ]
freetext search ]
file search ]

silc/silcmap/data.h

  1 /*
  2 
  3   data.h
  4 
  5   Author: Pekka Riikonen <priikone@silcnet.org>
  6 
  7   Copyright (C) 2003 Pekka Riikonen
  8 
  9   This program is free software; you can redistribute it and/or modify
 10   it under the terms of the GNU General Public License as published by
 11   the Free Software Foundation; version 2 of the License.
 12 
 13   This program is distributed in the hope that it will be useful,
 14   but WITHOUT ANY WARRANTY; without even the implied warranty of
 15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16   GNU General Public License for more details.
 17 
 18 */
 19 
 20 #ifndef DATA_H
 21 #define DATA_H
 22 
 23 /* Bitmap context */
 24 typedef struct {
 25   char width;
 26   char height;
 27   unsigned char data[32 * 32];
 28 } MapBitmap;
 29 
 30 /* Circle */
 31 const MapBitmap silc_map_circle =
 32 {
 33   6, 7,
 34   {  0,  1,  1,  1,  1,  0,
 35      1,  0,  0,  0,  0,  1,
 36      1,  0,  0,  0,  0,  1,
 37      1,  0,  0,  0,  0,  1,
 38      1,  0,  0,  0,  0,  1,
 39      1,  0,  0,  0,  0,  1,
 40      0,  1,  1,  1,  1,  0
 41   }
 42 };
 43 
 44 /* Rectangle */
 45 const MapBitmap silc_map_rectangle =
 46 {
 47   6, 7,
 48   {  1,  1,  1,  1,  1,  1,
 49      1,  0,  0,  0,  0,  1,
 50      1,  0,  0,  0,  0,  1,
 51      1,  0,  0,  0,  0,  1,
 52      1,  0,  0,  0,  0,  1,
 53      1,  0,  0,  0,  0,  1,
 54      1,  1,  1,  1,  1,  1
 55   }
 56 };
 57 
 58 #endif /* DATA_H */
 59 

This page was automatically generated by the LXR engine.
Free-text search provided by Glimpse