From f2adeff8c1e54d0d038479cc7638966525b2cb8a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 6 Nov 2021 14:22:16 +0100 Subject: [PATCH] - Duke: extended 3 arrays holding sector and wall indices to full ints. Just to be prepared for the future. --- source/games/duke/src/global.cpp | 6 +++--- source/games/duke/src/global.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/games/duke/src/global.cpp b/source/games/duke/src/global.cpp index e6a5caca4..6986a2278 100644 --- a/source/games/duke/src/global.cpp +++ b/source/games/duke/src/global.cpp @@ -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! diff --git a/source/games/duke/src/global.h b/source/games/duke/src/global.h index 9e101fb4f..57185f7e7 100644 --- a/source/games/duke/src/global.h +++ b/source/games/duke/src/global.h @@ -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;