mirror of
https://github.com/halpz/re3.git
synced 2025-07-05 03:30:44 +00:00
CAutomobile::ProcessControl done
This commit is contained in:
@ -95,6 +95,14 @@ CCamera::GetLookDirection(void)
|
||||
return LOOKING_FORWARD;;
|
||||
}
|
||||
|
||||
bool
|
||||
CCamera::GetLookingForwardFirstPerson()
|
||||
{
|
||||
return Cams[ActiveCam].Mode == CCam::MODE_FIRSTPERSON &&
|
||||
Cams[ActiveCam].DirectionWasLooking == LOOKING_FORWARD;
|
||||
}
|
||||
|
||||
|
||||
WRAPPER void CCamera::Fade(float timeout, int16 direction) { EAXJMP(0x46B3A0); }
|
||||
WRAPPER void CCamera::ProcessFade(void) { EAXJMP(0x46F080); }
|
||||
WRAPPER void CCamera::ProcessMusicFade(void) { EAXJMP(0x46F1E0); }
|
||||
|
@ -448,6 +448,7 @@ int m_iModeObbeCamIsInForCar;
|
||||
bool IsSphereVisible(const CVector ¢er, float radius);
|
||||
bool IsBoxVisible(RwV3d *box, const CMatrix *mat);
|
||||
int GetLookDirection(void);
|
||||
bool GetLookingForwardFirstPerson(void);
|
||||
|
||||
void Fade(float timeout, int16 direction);
|
||||
int GetScreenFadeStatus(void);
|
||||
|
@ -139,7 +139,8 @@ inline float sq(float x) { return x*x; }
|
||||
#define SQR(x) ((x) * (x))
|
||||
|
||||
#define PI M_PI
|
||||
#define TWOPI PI*2
|
||||
#define TWOPI (PI*2)
|
||||
#define HALFPI (PI/2)
|
||||
#define DEGTORAD(x) ((x) * PI / 180.0f)
|
||||
#define RADTODEG(x) ((x) * 180.0f / PI)
|
||||
|
||||
|
Reference in New Issue
Block a user