- Duke: extended 3 arrays holding sector and wall indices to full ints.

Just to be prepared for the future.
This commit is contained in:
Christoph Oelckers 2021-11-06 14:22:16 +01:00
parent f4cc5b5b89
commit f2adeff8c1
2 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@ uint8_t shadedsector[MAXSECTORS]; // display hackiness
animwalltype animwall[MAXANIMWALLS]; // animated walls
int numanimwalls;
int animatecnt; // sector plane movement
int16_t animatesect[MAXANIMATES];
int animatesect[MAXANIMATES];
int8_t animatetype[MAXANIMATES];
int16_t animatetarget[MAXANIMATES];
int animategoal[MAXANIMATES];
@ -112,8 +112,8 @@ int cloudclock;
int numcyclers; // sector lighting effects
int16_t cyclers[MAXCYCLERS][6];
int mirrorcnt;
int16_t mirrorsector[64]; // mirrors
int16_t mirrorwall[64];
int mirrorsector[64]; // mirrors
int mirrorwall[64];
int numplayersprites; // player management for some SEs.
player_orig po[MAXPLAYERS];
unsigned ambientfx; // used by soundtag and soundtagonce script commands. If exported, export the commands, not the data!

View file

@ -84,7 +84,7 @@ enum animtype_t
anim_vertexx,
anim_vertexy,
};
extern int16_t animatesect[MAXANIMATES];
extern int animatesect[MAXANIMATES];
extern int16_t animatetarget[MAXANIMATES];
extern int8_t animatetype[MAXANIMATES];
extern int animategoal[MAXANIMATES];
@ -97,8 +97,8 @@ extern int cloudclock;
extern DDukeActor *spriteq[1024];
extern int16_t cyclers[MAXCYCLERS][6];
extern int16_t mirrorsector[64];
extern int16_t mirrorwall[64];
extern int mirrorsector[64];
extern int mirrorwall[64];
extern int wupass;
extern int chickenplant;