src/sprite.h
branchgamebalance
changeset 9908 0fa543611bbe
parent 9895 7bd07f43b0e3
child 6743 cabfaa4a0295
equal deleted inserted replaced
9907:3b068c3a1c74 9908:0fa543611bbe
     1 /* $Id$ */
     1 /* $Id$ */
       
     2 
       
     3 /** @file sprite.h */
     2 
     4 
     3 #ifndef SPRITE_H
     5 #ifndef SPRITE_H
     4 #define SPRITE_H
     6 #define SPRITE_H
     5 
     7 
     6 
     8 
    38 	byte height:4;
    40 	byte height:4;
    39 	byte dz;
    41 	byte dz;
    40 	byte draw_proc;  /* this allows to specify a special drawing procedure.*/
    42 	byte draw_proc;  /* this allows to specify a special drawing procedure.*/
    41 };
    43 };
    42 
    44 
    43 // Iterate through all DrawTileSeqStructs in DrawTileSprites.
    45 /** Iterate through all DrawTileSeqStructs in DrawTileSprites. */
    44 #define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
    46 #define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
    45 
    47 
    46 
    48 
    47 #endif /* SPRITE_H */
    49 #endif /* SPRITE_H */