mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- removed unused editwall variable.
This commit is contained in:
parent
16db8195d5
commit
fc017f5868
2 changed files with 1 additions and 19 deletions
|
@ -577,6 +577,7 @@ typedef struct {
|
||||||
int8_t tileofs[MAXPSKYTILES]; // for 0 <= j < (1<<lognumtiles): tile offset relative to basetile
|
int8_t tileofs[MAXPSKYTILES]; // for 0 <= j < (1<<lognumtiles): tile offset relative to basetile
|
||||||
|
|
||||||
int32_t yscale;
|
int32_t yscale;
|
||||||
|
int combinedtile;
|
||||||
} psky_t;
|
} psky_t;
|
||||||
|
|
||||||
// Index of map-global (legacy) multi-sky:
|
// Index of map-global (legacy) multi-sky:
|
||||||
|
@ -648,8 +649,6 @@ EXTERN uint8_t gotpic[(MAXTILES+7)>>3];
|
||||||
EXTERN char gotsector[(MAXSECTORS+7)>>3];
|
EXTERN char gotsector[(MAXSECTORS+7)>>3];
|
||||||
|
|
||||||
|
|
||||||
EXTERN char editwall[(MAXWALLS+7)>>3];
|
|
||||||
|
|
||||||
extern uint32_t drawlinepat;
|
extern uint32_t drawlinepat;
|
||||||
|
|
||||||
extern void faketimerhandler(void);
|
extern void faketimerhandler(void);
|
||||||
|
|
|
@ -3426,7 +3426,6 @@ static void enginePrepareLoadBoard(FileReader & fr, vec3_t *dapos, int16_t *daan
|
||||||
show2dsector.Zero();
|
show2dsector.Zero();
|
||||||
Bmemset(show2dsprite, 0, sizeof(show2dsprite));
|
Bmemset(show2dsprite, 0, sizeof(show2dsprite));
|
||||||
Bmemset(show2dwall, 0, sizeof(show2dwall));
|
Bmemset(show2dwall, 0, sizeof(show2dwall));
|
||||||
Bmemset(editwall, 0, sizeof(editwall));
|
|
||||||
#ifdef USE_STRUCT_TRACKERS
|
#ifdef USE_STRUCT_TRACKERS
|
||||||
Bmemset(sectorchanged, 0, sizeof(sectorchanged));
|
Bmemset(sectorchanged, 0, sizeof(sectorchanged));
|
||||||
Bmemset(spritechanged, 0, sizeof(spritechanged));
|
Bmemset(spritechanged, 0, sizeof(spritechanged));
|
||||||
|
@ -4830,22 +4829,6 @@ void dragpoint(int16_t pointhighlight, int32_t dax, int32_t day, uint8_t flags)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (editstatus)
|
|
||||||
{
|
|
||||||
int32_t w;
|
|
||||||
// TODO: extern a separate bitmap instead?
|
|
||||||
for (w=0; w<numwalls; w++)
|
|
||||||
if (walbitmap[w>>3] & pow2char[w&7])
|
|
||||||
{
|
|
||||||
editwall[w>>3] |= 1<<(w&7);
|
|
||||||
if (flags&2)
|
|
||||||
{
|
|
||||||
int wn = lastwall(w);
|
|
||||||
editwall[wn>>3] |= 1<<(wn&7);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue