equal
deleted
inserted
replaced
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 */ |