mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-08 00:32:28 +00:00
- looks I missed a few shorts.
Now all local short variables are gone, except for 2 lotags arrays.
This commit is contained in:
parent
ae08ae1d8d
commit
4b0ffe5443
4 changed files with 12 additions and 12 deletions
|
@ -189,9 +189,9 @@ void addminecart(int p1, int p2, int i, int iht, int p3, int childsectnum)
|
||||||
void dotorch(void)
|
void dotorch(void)
|
||||||
{
|
{
|
||||||
int ds;
|
int ds;
|
||||||
short j;
|
int j;
|
||||||
short startwall, endwall;
|
int startwall, endwall;
|
||||||
char shade;
|
uint8_t shade;
|
||||||
ds = krand()&8;
|
ds = krand()&8;
|
||||||
for (int i = 0; i < torchcnt; i++)
|
for (int i = 0; i < torchcnt; i++)
|
||||||
{
|
{
|
||||||
|
@ -377,11 +377,11 @@ void dojaildoor(void)
|
||||||
|
|
||||||
void moveminecart(void)
|
void moveminecart(void)
|
||||||
{
|
{
|
||||||
short i;
|
int i;
|
||||||
short j;
|
int j;
|
||||||
short csect;
|
int csect;
|
||||||
short startwall;
|
int startwall;
|
||||||
short endwall;
|
int endwall;
|
||||||
int speed;
|
int speed;
|
||||||
int y;
|
int y;
|
||||||
int x;
|
int x;
|
||||||
|
@ -561,7 +561,7 @@ void thunder(void)
|
||||||
{
|
{
|
||||||
struct player_struct* p;
|
struct player_struct* p;
|
||||||
int r1, r2;
|
int r1, r2;
|
||||||
short startwall, endwall, i, j;
|
int startwall, endwall, i, j;
|
||||||
uint8_t shade;
|
uint8_t shade;
|
||||||
|
|
||||||
p = &ps[screenpeek];
|
p = &ps[screenpeek];
|
||||||
|
|
|
@ -2704,7 +2704,7 @@ void processinput_d(int snum)
|
||||||
int j, k, doubvel, fz, cz, truefdist;
|
int j, k, doubvel, fz, cz, truefdist;
|
||||||
Collision chz, clz;
|
Collision chz, clz;
|
||||||
bool shrunk;
|
bool shrunk;
|
||||||
short psect, psectlotag;
|
int psect, psectlotag;
|
||||||
struct player_struct* p;
|
struct player_struct* p;
|
||||||
spritetype* s;
|
spritetype* s;
|
||||||
|
|
||||||
|
|
|
@ -274,7 +274,7 @@ void cacheit_d(void)
|
||||||
|
|
||||||
void prelevel_d(int g)
|
void prelevel_d(int g)
|
||||||
{
|
{
|
||||||
short i, j, startwall, endwall, lotaglist;
|
int i, j, startwall, endwall, lotaglist;
|
||||||
short lotags[65];
|
short lotags[65];
|
||||||
|
|
||||||
prelevel_common(g);
|
prelevel_common(g);
|
||||||
|
|
|
@ -976,7 +976,7 @@ static void lotsofpopcorn(DDukeActor *actor, int wallnum, int n)
|
||||||
|
|
||||||
void checkhitwall_r(DDukeActor* spr, int dawallnum, int x, int y, int z, int atwith)
|
void checkhitwall_r(DDukeActor* spr, int dawallnum, int x, int y, int z, int atwith)
|
||||||
{
|
{
|
||||||
short j, i;
|
int j, i;
|
||||||
int sn = -1, darkestwall;
|
int sn = -1, darkestwall;
|
||||||
walltype* wal;
|
walltype* wal;
|
||||||
spritetype* s;
|
spritetype* s;
|
||||||
|
|
Loading…
Reference in a new issue