|
|
|
|
@ -499,6 +499,7 @@ void DrawAutomapPlr()
|
|
|
|
|
DrawLine(x, y, x - AutoMapYPos, y - AMPlayerX, COLOR_PLAYER); |
|
|
|
|
DrawLine(x - AutoMapYPos, y - AMPlayerX, x - AMPlayerX, y - AMPlayerX, COLOR_PLAYER); |
|
|
|
|
DrawLine(x - AutoMapYPos, y - AMPlayerX, x - AMPlayerY - AMPlayerX, y, COLOR_PLAYER); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -589,7 +590,7 @@ void SetAutomapView(int x, int y)
|
|
|
|
|
} else if (GetAutomapType(xx - 1, yy, FALSE) & 0x4000) { |
|
|
|
|
automapview[xx - 1][yy] = 1; |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
break; |
|
|
|
|
case 3: |
|
|
|
|
if (solid) { |
|
|
|
|
if (GetAutomapType(xx + 1, yy, FALSE) == 0x4007) |
|
|
|
|
@ -597,7 +598,7 @@ void SetAutomapView(int x, int y)
|
|
|
|
|
} else if (GetAutomapType(xx, yy - 1, FALSE) & 0x4000) { |
|
|
|
|
automapview[xx][yy - 1] = 1; |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
break; |
|
|
|
|
case 4: |
|
|
|
|
if (solid) { |
|
|
|
|
if (GetAutomapType(xx, yy + 1, FALSE) == 0x4007) |
|
|
|
|
@ -612,7 +613,7 @@ void SetAutomapView(int x, int y)
|
|
|
|
|
if (GetAutomapType(xx - 1, yy - 1, FALSE) & 0x4000) |
|
|
|
|
automapview[xx - 1][yy - 1] = 1; |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
break; |
|
|
|
|
case 5: |
|
|
|
|
if (solid) { |
|
|
|
|
if (GetAutomapType(xx, yy - 1, FALSE) & 0x4000) |
|
|
|
|
@ -622,7 +623,7 @@ void SetAutomapView(int x, int y)
|
|
|
|
|
} else if (GetAutomapType(xx - 1, yy, FALSE) & 0x4000) { |
|
|
|
|
automapview[xx - 1][yy] = 1; |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
break; |
|
|
|
|
case 6: |
|
|
|
|
if (solid) { |
|
|
|
|
if (GetAutomapType(xx - 1, yy, FALSE) & 0x4000) |
|
|
|
|
@ -632,7 +633,7 @@ void SetAutomapView(int x, int y)
|
|
|
|
|
} else if (GetAutomapType(xx, yy - 1, FALSE) & 0x4000) { |
|
|
|
|
automapview[xx][yy - 1] = 1; |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|