… | |
… | |
528 | if (!svp || !SvTRUE (*svp)) |
528 | if (!svp || !SvTRUE (*svp)) |
529 | return 0; |
529 | return 0; |
530 | |
530 | |
531 | return 1; |
531 | return 1; |
532 | } |
532 | } |
|
|
533 | |
|
|
534 | /******************************************************************************/ |
533 | |
535 | |
534 | /* process keyboard modifiers */ |
536 | /* process keyboard modifiers */ |
535 | static int |
537 | static int |
536 | mod_munge (int mod) |
538 | mod_munge (int mod) |
537 | { |
539 | { |
… | |
… | |
2249 | { |
2251 | { |
2250 | mapcell *cell = row->col + (x + mx - row->c0); |
2252 | mapcell *cell = row->col + (x + mx - row->c0); |
2251 | |
2253 | |
2252 | int px = x * T; |
2254 | int px = x * T; |
2253 | 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 | } |
2254 | |
2262 | |
2255 | if (cell->stat_hp) |
2263 | if (cell->stat_hp) |
2256 | { |
2264 | { |
2257 | int width = cell->stat_width * T; |
2265 | int width = cell->stat_width * T; |
2258 | int thick = (sh * T / 32 + 27) / 28 + 1 + cell->stat_width; |
2266 | int thick = (sh * T / 32 + 27) / 28 + 1 + cell->stat_width; |
… | |
… | |
2999 | void glRotate (float angle, float x, float y, float z) |
3007 | void glRotate (float angle, float x, float y, float z) |
3000 | CODE: |
3008 | CODE: |
3001 | glRotatef (angle, x, y, z); |
3009 | glRotatef (angle, x, y, z); |
3002 | |
3010 | |
3003 | 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: @ |
3004 | ALIAS: |
3013 | ALIAS: |
3005 | glColor_premultiply = 1 |
3014 | glColor_premultiply = 1 |
3006 | CODE: |
3015 | CODE: |
3007 | if (ix) |
3016 | if (ix) |
3008 | { |
3017 | { |