Move NEXTWALL and POINT2 macros into build.h

git-svn-id: https://svn.eduke32.com/eduke32@7590 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-04-18 17:24:26 +00:00 committed by Christoph Oelckers
parent 51e5e41830
commit ea826fb117
3 changed files with 3 additions and 3 deletions

View file

@ -231,6 +231,9 @@ void yax_drawrooms(void (*SpriteAnimFunc)(int32_t,int32_t,int32_t,int32_t),
#define CLIPMASK0 (((1L)<<16)+1L)
#define CLIPMASK1 (((256L)<<16)+64L)
#define NEXTWALL(i) (wall[wall[i].nextwall])
#define POINT2(i) (wall[wall[i].point2])
// max x/y val (= max editorgridextent in Mapster32)
#define BXY_MAX 524288

View file

@ -401,8 +401,6 @@ static inline int32_t m32_is2d3dmode(void)
extern int32_t editorGet2dSpriteColor(int32_t spr);
#define NEXTWALL(i) (wall[wall[i].nextwall])
#define POINT2(i) (wall[wall[i].point2])
#define SPRITESEC(j) (sector[sprite[j].sectnum])
#define SCRIPTHISTSIZ 32 // should be the same as OSD_HISTORYDEPTH for maximum win, should be a power of two

View file

@ -3587,7 +3587,6 @@ static int32_t should_clip_cfwall(float x0, float y0, float x1, float y1)
#endif
#define POINT2(i) (wall[wall[i].point2])
void polymost_editorfunc(void)
{