… | |
… | |
2103 | rc_t2f_v3f (arr, tex.s, tex.t, px + tex.w, py + tex.h, 0); |
2103 | rc_t2f_v3f (arr, tex.s, tex.t, px + tex.w, py + tex.h, 0); |
2104 | rc_t2f_v3f (arr, tex.s, 0 , px + tex.w, py , 0); |
2104 | rc_t2f_v3f (arr, tex.s, 0 , px + tex.w, py , 0); |
2105 | |
2105 | |
2106 | if (expect_false (cell->flags) && expect_false (z == 2)) |
2106 | if (expect_false (cell->flags) && expect_false (z == 2)) |
2107 | { |
2107 | { |
|
|
2108 | /* this is a workaround to make speech bubbles drawn |
|
|
2109 | * for example above walls, work. */ |
|
|
2110 | rc_draw (rc); |
|
|
2111 | rc_clear (rc); |
|
|
2112 | key.texname = -1; |
|
|
2113 | |
2108 | // overlays such as the speech bubble, probably more to come |
2114 | // overlays such as the speech bubble, probably more to come |
2109 | if (cell->flags & 1) |
2115 | if (cell->flags & 1) |
2110 | { |
2116 | { |
2111 | maptex tex = self->tex [1]; |
2117 | maptex tex = self->tex [1]; |
2112 | int px = x * T + T * 2 / 32; |
2118 | int px = x * T + T * 2 / 32; |