mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed the broken automap defaults in Shadow Warrior.
Now it will properly reveal the map as the player progresses and not show everything from the start.
This commit is contained in:
parent
98604e513e
commit
9543c2cbb9
2 changed files with 4 additions and 7 deletions
|
@ -96,13 +96,7 @@ void PrevCheat(PLAYERp pp, const char *)
|
|||
|
||||
void MapCheat(PLAYERp pp, const char *)
|
||||
{
|
||||
automapping ^= 1;
|
||||
|
||||
if (automapping)
|
||||
MapSetAll2D(0);
|
||||
else
|
||||
MapSetAll2D(0xFF);
|
||||
|
||||
// Need to do this differently. The code here was completely broken.
|
||||
PutStringInfo(pp, GStrings(automapping ? "TXT_AMON" : "TXT_AMOFF"));
|
||||
}
|
||||
|
||||
|
|
|
@ -559,6 +559,7 @@ Distance(int x1, int y1, int x2, int y2)
|
|||
void
|
||||
MapSetAll2D(uint8_t fill)
|
||||
{
|
||||
#if 0
|
||||
int i;
|
||||
|
||||
for (i = 0; i < (MAXWALLS >> 3); i++)
|
||||
|
@ -573,6 +574,7 @@ MapSetAll2D(uint8_t fill)
|
|||
show2dsector[i>>3] |= (1<<(i&7));
|
||||
//show2dsector[i] = fill;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2751,6 +2753,7 @@ int32_t GameInterface::app_main()
|
|||
int cnt = 0;
|
||||
uint32_t TotalMemory;
|
||||
|
||||
automapping = 1;
|
||||
BorderAdjust = true;
|
||||
SW_ExtInit();
|
||||
|
||||
|
|
Loading…
Reference in a new issue