mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-21 18:02:43 +01:00
- MP mission timer, target blip height adjusted for NTSC/PAL
This commit is contained in:
parent
8eb7415b17
commit
26a814aa38
@ -536,7 +536,7 @@ void LoadMission(int missionnum)
|
||||
|
||||
Mission.timer[0].x = Mission.timer[1].x = 124;
|
||||
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))
|
||||
{
|
||||
|
@ -115,8 +115,8 @@ void DrawTargetBlip(VECTOR *pos, u_char r, u_char g, u_char b, int flags)
|
||||
{
|
||||
WorldToMultiplayerMap(pos, &vec);
|
||||
|
||||
vec.vx += gMapXOffset;
|
||||
vec.vz += 96;
|
||||
vec.vx += map_minX;
|
||||
vec.vz += map_minY;
|
||||
}
|
||||
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);
|
||||
|
||||
vec.vx += gMapXOffset;
|
||||
vec.vz += 96;
|
||||
vec.vz += gMapYOffset;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -912,9 +912,9 @@ void InitOverheadMap(void)
|
||||
int tpage;
|
||||
|
||||
if (NumPlayers > 1)
|
||||
gMapYOffset = (SCREEN_H - MAP_SIZE_H) / 2 - 2;// 96;
|
||||
gMapYOffset = (SCREEN_H - MAP_SIZE_H) / 2 - 2;
|
||||
else
|
||||
gMapYOffset = SCREEN_H - MAP_SIZE_H - 15; //181;
|
||||
gMapYOffset = SCREEN_H - MAP_SIZE_H - 15;
|
||||
|
||||
if (gMultiplayerLevels)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user