|
Amulets & Armor
v1.02
Open Source Game
|
People Here. More...
Macros | |
| #define | MAX_PLAYERS_PER_GAME 4 |
People Here.
List of people here over the network.
| #define MAX_PLAYERS_PER_GAME 4 |
| E_Boolean PeopleHereFindPlayerGame | ( | T_byte8 * | p_name, |
| T_gameGroupID * | p_groupID | ||
| ) |
Search to find a player in a game.
| p_name | – Name to find |
| p_groupID | – ID of player |
People here finish cleans up the people here module by removing the list of playerIDSelf structures.
| T_void PeopleHereGeneratePeopleInGame | ( | T_gameGroupID | groupID) |
| T_word16 PeopleHereGetNumInGame | ( | T_gameGroupID | groupID) |
PeopleHereGetNumInGame counts the number of people in a game group.
| groupID | – Game group id |
| T_playerIDLocation PeopleHereGetOurLocation | ( | T_void | ) |
| T_playerIDState PeopleHereGetOurState | ( | T_void | ) |
| T_void PeopleHereGetPlayerIDSelfStruct | ( | T_playerIDSelf * | p_self) |
Used to fill out this player's own player ID structure
| p_self | – Pointer to player id self to fill |
| T_directTalkUniqueAddress* PeopleHereGetUniqueAddr | ( | T_word16 | playerNum) |
| T_gameGroupID PeopleHereGetUniqueGroupID | ( | T_void | ) |
| T_void PeopleHereRequestJoin | ( | T_directTalkUniqueAddress | uniqueAddress, |
| T_gameGroupID | groupID, | ||
| T_word16 | adventure | ||
| ) |
| T_void PeopleHereRespondToJoin | ( | T_directTalkUniqueAddress | uniqueAddress, |
| T_gameGroupID | groupID, | ||
| T_word16 | adventure, | ||
| E_respondJoin | response | ||
| ) |
| T_void PeopleHereSetOurState | ( | T_playerIDState | state) |
| T_void PeopleHereSetUniqueAddr | ( | T_word16 | playerNum, |
| T_directTalkUniqueAddress * | uaddr | ||
| ) |
| T_void PeopleHereUpdatePlayer | ( | T_playerIDSelf * | p_playerID) |
PeopleHereUpdatePlayer is called per player self ID received. This routine updates the list and takes appropriate actions.
| p_playerID | – New player action |
1.8.4