a2t.c: More code from A2REPLAY.PAS