SA-MP/saco/game/aimstuff.h

40 lines
1.4 KiB
C

#pragma once
typedef struct _CAMERA_AIM
{
float f1x,f1y,f1z;
float pos1x,pos1y,pos1z;
float pos2x,pos2y,pos2z;
float f2x,f2y,f2z;
} CAMERA_AIM;
void __stdcall GameAimSyncInit();
void __stdcall GameStoreLocalPlayerAim();
void __stdcall GameSetLocalPlayerAim();
CAMERA_AIM * __stdcall GameGetInternalAim();
void __stdcall GameStoreRemotePlayerAim(int iPlayer, CAMERA_AIM * caAim);
void __stdcall GameSetRemotePlayerAim(int iPlayer);
CAMERA_AIM * __stdcall GameGetRemotePlayerAim(int iPlayer);
void __stdcall GameSetPlayerCameraMode(BYTE byteMode, BYTE bytePlayerID);
BYTE __stdcall GameGetPlayerCameraMode(BYTE bytePlayerID);
BYTE __stdcall GameGetLocalPlayerCameraMode();
void __stdcall GameStoreLocalPlayerCameraExtZoom();
void __stdcall GameSetLocalPlayerCameraExtZoom();
void __stdcall GameSetPlayerCameraExtZoom(BYTE bytePlayerID, float fZoom, float fRatio);
void __stdcall GameSetRemotePlayerCameraExtZoom(BYTE bytePlayerID);
float __stdcall GameGetLocalPlayerCameraExtZoom();
float __stdcall GameGetLocalPlayerAspectRatio();
void __stdcall GameSetPlayerWeaponSkillLevel(int iPlayer, int iSkill, WORD wLevel);
void __stdcall GameSetLocalPlayerWeaponSkillLevel(int iSkill, WORD wLevel);
void __stdcall GameStoreLocalPlayerWeaponSkills();
void __stdcall GameSetLocalPlayerWeaponSkills();
void __stdcall GameResetLocalPlayerWeaponSkills();
void __stdcall GameSetRemotePlayerWeaponSkills(int iPlayer);
//----------------------------------------------------------