- MP mission timer, target blip height adjusted for NTSC/PAL

This commit is contained in:
InspirationByte 2022-02-02 08:41:02 +03:00
parent 8eb7415b17
commit 26a814aa38
2 changed files with 6 additions and 6 deletions

View File

@ -536,7 +536,7 @@ void LoadMission(int missionnum)
Mission.timer[0].x = Mission.timer[1].x = 124; Mission.timer[0].x = Mission.timer[1].x = 124;
Mission.timer[0].y = 16; Mission.timer[0].y = 16;
Mission.timer[1].y = 136; Mission.timer[1].y = SCREEN_H / 2 + 8;
if (MissionHeader->timer || (MissionHeader->timerFlags & MISSIONTIMER_FLAG_COUNTER)) if (MissionHeader->timer || (MissionHeader->timerFlags & MISSIONTIMER_FLAG_COUNTER))
{ {

View File

@ -115,8 +115,8 @@ void DrawTargetBlip(VECTOR *pos, u_char r, u_char g, u_char b, int flags)
{ {
WorldToMultiplayerMap(pos, &vec); WorldToMultiplayerMap(pos, &vec);
vec.vx += gMapXOffset; vec.vx += map_minX;
vec.vz += 96; vec.vz += map_minY;
} }
else if (flags & 0x8) else if (flags & 0x8)
{ {
@ -300,7 +300,7 @@ void DrawPlayerDot(VECTOR *pos, short rot, u_char r, u_char g, u_char b, int fla
WorldToMultiplayerMap(pos, &vec); WorldToMultiplayerMap(pos, &vec);
vec.vx += gMapXOffset; vec.vx += gMapXOffset;
vec.vz += 96; vec.vz += gMapYOffset;
} }
else else
{ {
@ -912,9 +912,9 @@ void InitOverheadMap(void)
int tpage; int tpage;
if (NumPlayers > 1) if (NumPlayers > 1)
gMapYOffset = (SCREEN_H - MAP_SIZE_H) / 2 - 2;// 96; gMapYOffset = (SCREEN_H - MAP_SIZE_H) / 2 - 2;
else else
gMapYOffset = SCREEN_H - MAP_SIZE_H - 15; //181; gMapYOffset = SCREEN_H - MAP_SIZE_H - 15;
if (gMultiplayerLevels) if (gMultiplayerLevels)
{ {