mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Reduce MAXCLIPNUM to 2048 again and introduce MAXCLIPSECTORS, with a value of 1024
git-svn-id: https://svn.eduke32.com/eduke32@7459 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ddd1d34973
commit
ceaaaf9c0d
2 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MAXCLIPNUM 3072
|
||||
#define MAXCLIPSECTORS 1024
|
||||
#define MAXCLIPNUM 2048
|
||||
|
||||
#ifdef HAVE_CLIPSHAPE_FEATURE
|
||||
|
||||
|
@ -82,7 +83,7 @@ extern linetype clipit[MAXCLIPNUM];
|
|||
|
||||
extern int16_t clipnum;
|
||||
extern int32_t clipsectnum, origclipsectnum, clipspritenum;
|
||||
extern int16_t clipsectorlist[MAXCLIPNUM], origclipsectorlist[MAXCLIPNUM];
|
||||
extern int16_t clipsectorlist[MAXCLIPSECTORS], origclipsectorlist[MAXCLIPSECTORS];
|
||||
|
||||
int clipinsidebox(vec2_t *vect, int wallnum, int walldist);
|
||||
int clipinsideboxline(int x, int y, int x1, int y1, int x2, int y2, int walldist);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
int16_t clipnum;
|
||||
linetype clipit[MAXCLIPNUM];
|
||||
int32_t clipsectnum, origclipsectnum, clipspritenum;
|
||||
int16_t clipsectorlist[MAXCLIPNUM], origclipsectorlist[MAXCLIPNUM];
|
||||
int16_t clipsectorlist[MAXCLIPSECTORS], origclipsectorlist[MAXCLIPSECTORS];
|
||||
#ifdef HAVE_CLIPSHAPE_FEATURE
|
||||
int16_t clipspritelist[MAXCLIPNUM]; // sector-like sprite clipping
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue