boolean bPlaying;
-int LeadOutCounter, EnterRepeatCounter;
+int LeadOutCounter;
int ExitToMenuFlag;
boolean AutoScrollFlag;
void subCalculateScreenScrollPos()
{
- int ax, Ay;
+ int ax, ay;
#if 1
int jump_pos = TILEX / 2;
// printf("::: ExplosionShake [%d]\n", FrameCounter);
}
- {
- ax = SXSIZE / 2;
- Ay = SYSIZE / 2;
- }
+#if 1
+ ax = (SCR_FIELDX / 2) * TILESIZE;
+ ay = (SCR_FIELDY / 2) * TILESIZE;
- ScreenScrollXPos = Stretch * (MurphyScreenXPos + TILEX / 2) - ax;
- ScreenScrollYPos = Stretch * (MurphyScreenYPos + TILEY / 2) - Ay;
+ ScreenScrollXPos = MurphyScreenXPos - ax;
+ ScreenScrollYPos = MurphyScreenYPos - ay;
+#else
+ ax = SXSIZE / 2;
+ ay = SYSIZE / 2;
+
+ ScreenScrollXPos = (MurphyScreenXPos + TILEX / 2) - ax;
+ ScreenScrollYPos = (MurphyScreenYPos + TILEY / 2) - ay;
+#endif
}