(svn r760) Replace some bit-juggling with bit fields

This commit is contained in:
tron
2004-11-22 11:01:30 +00:00
parent a744e8e375
commit 8a3d7cce1c
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
#define M(s1,s2,sx,sy,w,h,dz,p) {s1,s2,(sx<<4)|sy,((w-1)<<4)|(h-1),dz,p}
#define M(s1, s2, sx, sy, w, h, dz, p) {s1, s2, sx, sy, w - 1, h - 1, dz, p}
static const DrawTownTileStruct _town_draw_tile_data[] = {
M( 0xf54, 0x58d, 0, 0, 14, 14, 8, 0),