forked from len0rd/rockbox
puzzles: fix flag drawing in Mines
Yet another workaround to accomodate our polygon drawing "algorithm" (if you can call it that).
This commit is contained in:
parent
68c5f93ea6
commit
403d011bd8
1 changed files with 6 additions and 6 deletions
|
|
@ -2867,12 +2867,12 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
|
||||||
coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \
|
coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \
|
||||||
coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \
|
coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
SETCOORD(0, 0.6F, 0.35F);
|
SETCOORD(0, 0.6F, 0.7F);
|
||||||
SETCOORD(1, 0.6F, 0.7F);
|
SETCOORD(1, 0.8F, 0.8F);
|
||||||
SETCOORD(2, 0.8F, 0.8F);
|
SETCOORD(2, 0.25F, 0.8F);
|
||||||
SETCOORD(3, 0.25F, 0.8F);
|
SETCOORD(3, 0.55F, 0.7F);
|
||||||
SETCOORD(4, 0.55F, 0.7F);
|
SETCOORD(4, 0.55F, 0.35F);
|
||||||
SETCOORD(5, 0.55F, 0.35F);
|
SETCOORD(5, 0.6F, 0.35F);
|
||||||
draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE);
|
draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE);
|
||||||
|
|
||||||
SETCOORD(0, 0.6F, 0.2F);
|
SETCOORD(0, 0.6F, 0.2F);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue