ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.276 by root, Sat Aug 30 08:04:01 2008 UTC vs.
Revision 1.279 by root, Thu Oct 2 15:59:40 2008 UTC

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 */
535static int 537static int
536mod_munge (int mod) 538mod_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;
2999void glRotate (float angle, float x, float y, float z) 3007void 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
3003void glColor (float r, float g, float b, float a = 1.0) 3011void 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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines