1 /* NetHack may be freely redistributed. See license for details. */ 2 3 #ifndef _vulture_types_h_ 4 #define _vulture_types_h_ 5 6 #include <SDL.h> 7 /* 8 * This file is meant to be a place to put structure declarations 9 * and enums that have global importance. 10 * 11 * In the interest of modularization THIS FILE SHOULD NOT EXPORT FUNCTIONS 12 */ 13 typedef struct { 14 /* image data (width & height encoded in first 4 bytes) */ 15 SDL_Surface *graphic; 16 /* hotspot offsets; 17 * difference between left/top most non-transparent pixel 18 * and hotspot defined in the image 19 */ 20 int xmod,ymod; 21 } vulture_tile; 22 23 24 typedef struct { 25 int x; 26 int y; 27 } point; 28 29 #endif 30 31