Replace even more ints with INT32

This commit is contained in:
James R 2020-03-21 13:18:17 -07:00
parent 8a28d3cfe5
commit 52fa738ef8
2 changed files with 27 additions and 27 deletions

View file

@ -308,9 +308,9 @@ void G_ResetViews(void);
void G_ResetView(UINT8 viewnum, INT32 playernum, boolean onlyactive);
void G_AdjustView(UINT8 viewnum, INT32 offset, boolean onlyactive);
void G_AddPartyMember (int party_member, int new_party_member);
void G_RemovePartyMember (int party_member);
void G_ResetSplitscreen (int playernum);
void G_AddPartyMember (INT32 party_member, INT32 new_party_member);
void G_RemovePartyMember (INT32 party_member);
void G_ResetSplitscreen (INT32 playernum);
void G_AddPlayer(INT32 playernum);

View file

@ -14,21 +14,21 @@
#include "p_local.h"
#include "r_local.h"
int splitscreen_original_party_size[MAXPLAYERS];
int splitscreen_original_party[MAXPLAYERS][MAXSPLITSCREENPLAYERS];
INT32 splitscreen_original_party_size[MAXPLAYERS];
INT32 splitscreen_original_party[MAXPLAYERS][MAXSPLITSCREENPLAYERS];
int splitscreen_invitations[MAXPLAYERS];
int splitscreen_party_size[MAXPLAYERS];
int splitscreen_party[MAXPLAYERS][MAXSPLITSCREENPLAYERS];
INT32 splitscreen_invitations[MAXPLAYERS];
INT32 splitscreen_party_size[MAXPLAYERS];
INT32 splitscreen_party[MAXPLAYERS][MAXSPLITSCREENPLAYERS];
boolean splitscreen_partied[MAXPLAYERS];
void
G_ResetSplitscreen (int playernum)
G_ResetSplitscreen (INT32 playernum)
{
INT32 old_displayplayers[MAXSPLITSCREENPLAYERS];
int i;
INT32 i;
splitscreen_party_size[playernum] =
splitscreen_original_party_size[playernum];
@ -63,18 +63,18 @@ G_ResetSplitscreen (int playernum)
}
void
G_RemovePartyMember (int playernum)
G_RemovePartyMember (INT32 playernum)
{
int old_party[MAXSPLITSCREENPLAYERS];
int new_party[MAXSPLITSCREENPLAYERS];
INT32 old_party[MAXSPLITSCREENPLAYERS];
INT32 new_party[MAXSPLITSCREENPLAYERS];
int old_party_size;
int before;
int after;
int views;
INT32 old_party_size;
INT32 before;
INT32 after;
INT32 views;
int i;
int n;
INT32 i;
INT32 n;
old_party_size = splitscreen_party_size[playernum];
@ -135,18 +135,18 @@ G_RemovePartyMember (int playernum)
}
void
G_AddPartyMember (int invitation, int playernum)
G_AddPartyMember (INT32 invitation, INT32 playernum)
{
int * party;
int *add_party;
INT32 * party;
INT32 *add_party;
int old_party_size;
int new_party_size;
INT32 old_party_size;
INT32 new_party_size;
int views;
INT32 views;
int i;
int n;
INT32 i;
INT32 n;
views = splitscreen_original_party_size[playernum];