mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add G_LocalSplitscreenPartyPosition
This commit is contained in:
parent
8f262aa390
commit
abaa237b08
2 changed files with 10 additions and 0 deletions
|
|
@ -316,3 +316,10 @@ UINT8 G_PartyPosition(UINT8 player)
|
||||||
|
|
||||||
return party.find(player) - party.begin();
|
return party.find(player) - party.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UINT8 G_LocalSplitscreenPartyPosition(UINT8 player)
|
||||||
|
{
|
||||||
|
const Party& party = local_party[player];
|
||||||
|
|
||||||
|
return party.find(player) - party.begin();
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,9 @@ const UINT8 *G_PartyArray(UINT8 player);
|
||||||
// Suitable index to G_PartyMember and G_PartyArray.
|
// Suitable index to G_PartyMember and G_PartyArray.
|
||||||
UINT8 G_PartyPosition(UINT8 player);
|
UINT8 G_PartyPosition(UINT8 player);
|
||||||
|
|
||||||
|
//
|
||||||
|
UINT8 G_LocalSplitscreenPartyPosition(UINT8 player);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Globals
|
// Globals
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue