Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

include/ui.h

Go to the documentation of this file.
00001 // ui.h
00004 
00005 #ifndef UI_H
00006 #define UI_H
00007 
00008 enum
00009 {
00010     LIGHTING_UNEXPLORED = 0,
00011     LIGHTING_DARK,
00012     LIGHTING_LIT,
00013     LIGHTING_UNINITIALIZED
00014 };
00015 
00016 typedef struct
00017 {
00018     uchar tile;
00019     uchar lighting;
00020 #ifdef SUPPORT_COLOR
00021     colorinfo color;
00022 #endif
00023 } UI_TF_TileInfo;
00024 
00025 typedef struct
00026 {
00027     // Base properties: How big the TF would be on a large map
00028     coord full_pos, full_window;
00029     const uchar *graphics;
00030     uchar tileheight, tilewidth;
00031     
00032     // How big the map is
00033     coord size;
00034     
00035     // How big the TF is on *this* map
00036     coord pos, window;
00037     
00038     // Data (changes with use)
00039     coord viewoffset;
00040     
00041 } UI_Tilefield;
00042 
00043 #endif //UI_H
00044 

Generated on Thu May 20 13:12:09 2004 for CalcRogue by doxygen 1.3.6