+ game_sp.time_played = TimerVar / FRAMES_PER_SECOND;
+ game_sp.infotrons_still_needed = InfotronsNeeded;
+ game_sp.red_disk_count = RedDiskCount;
+ game_sp.score = 0; // (currently no score in Supaplex engine)
+}
+
+void GameActions_SP(byte action[MAX_PLAYERS])
+{
+ byte single_player_action = action[0];
+ int x, y;
+
+ UpdateEngineValues(mScrollX / TILEX, mScrollY / TILEY,
+ MurphyScreenXPos / TILEX, MurphyScreenYPos / TILEY);
+
+ subMainGameLoop_Main(single_player_action);
+
+ RedrawPlayfield_SP(FALSE);
+
+ UpdateGameDoorValues_SP();
+
+ CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] == fiMurphy,
+ HighByte(PlayField16[MurphyPosIndex]) == 0x2A);
+
+ for (x = DisplayMinX; x <= DisplayMaxX; x++)
+ for (y = DisplayMinY; y <= DisplayMaxY; y++)
+ GfxFrameSP[x][y]++;
+}
+
+int getRedDiskReleaseFlag_SP(void)
+{
+ // 0: when Murphy is moving (including the destination tile!)
+ // 1: when Murphy is not moving for at least one game frame
+
+ return RedDiskReleaseFlag;