SA-MP/saco/game/keystuff.h

23 lines
647 B
C
Raw Normal View History

2023-10-31 21:15:51 +08:00
typedef struct _GTA_CONTROLSET
{
WORD wKeys1[24];
WORD wKeys2[24];
BYTE bytePadding1[212];
} GTA_CONTROLSET;
//-----------------------------------------------------------
void GameKeyStatesInit();
void GameStoreLocalPlayerKeys();
void GameSetLocalPlayerKeys();
void GameStoreRemotePlayerKeys(int iPlayer, GTA_CONTROLSET *pGcsKeyStates);
void GameSetRemotePlayerKeys(int iPlayer);
GTA_CONTROLSET *GameGetInternalKeys();
GTA_CONTROLSET *GameGetLocalPlayerKeys();
GTA_CONTROLSET *GameGetPlayerKeys(int iPlayer);
void GameResetPlayerKeys(int iPlayer);
void GameResetInternalKeys();
//-----------------------------------------------------------