… | |
… | |
2251 | { |
2251 | { |
2252 | mapcell *cell = row->col + (x + mx - row->c0); |
2252 | mapcell *cell = row->col + (x + mx - row->c0); |
2253 | |
2253 | |
2254 | int px = x * T; |
2254 | int px = x * T; |
2255 | int py = y * T; |
2255 | int py = y * T; |
|
|
2256 | |
|
|
2257 | if (expect_false (cell->player == player)) |
|
|
2258 | { |
|
|
2259 | px += sdx; |
|
|
2260 | py += sdy; |
|
|
2261 | } |
2256 | |
2262 | |
2257 | if (cell->stat_hp) |
2263 | if (cell->stat_hp) |
2258 | { |
2264 | { |
2259 | int width = cell->stat_width * T; |
2265 | int width = cell->stat_width * T; |
2260 | int thick = (sh * T / 32 + 27) / 28 + 1 + cell->stat_width; |
2266 | int thick = (sh * T / 32 + 27) / 28 + 1 + cell->stat_width; |
… | |
… | |
3001 | void glRotate (float angle, float x, float y, float z) |
3007 | void glRotate (float angle, float x, float y, float z) |
3002 | CODE: |
3008 | CODE: |
3003 | glRotatef (angle, x, y, z); |
3009 | glRotatef (angle, x, y, z); |
3004 | |
3010 | |
3005 | void glColor (float r, float g, float b, float a = 1.0) |
3011 | void glColor (float r, float g, float b, float a = 1.0) |
|
|
3012 | PROTOTYPE: @ |
3006 | ALIAS: |
3013 | ALIAS: |
3007 | glColor_premultiply = 1 |
3014 | glColor_premultiply = 1 |
3008 | CODE: |
3015 | CODE: |
3009 | if (ix) |
3016 | if (ix) |
3010 | { |
3017 | { |