XCopyArea(display,buffer,window,gc,
fx,fy, SXSIZE,SYSIZE,
SX,SY);
-
-
-
- printf("Full screen redraw (%d) (%ld)\n",
- ScreenMovPos,
- Counter());
-
-
-
}
redraw_mask &= ~REDRAW_MAIN;
}
graphic += PlayerFrame;
- if (PlayerMovPos)
+ if (PlayerGfxPos)
{
if (PlayerMovDir == MV_LEFT || PlayerMovDir == MV_RIGHT)
- sxx = PlayerMovPos;
+ sxx = PlayerGfxPos;
else
- syy = PlayerMovPos;
+ syy = PlayerGfxPos;
}
- if (PlayerPushing && PlayerMovPos)
+ if (PlayerPushing && PlayerGfxPos)
{
int nextJX = JX + (JX - lastJX);
int nextJY = JY + (JY - lastJY);
if (element == EL_FELSBROCKEN && sxx)
{
- int phase = PlayerMovPos / (TILEX/4);
+ int phase = PlayerGfxPos / (TILEX/4);
if (PlayerMovDir == MV_LEFT)
graphic += phase;