IVehicle

From Valve Developer Community
Revision as of 15:45, 24 November 2007 by RoalgEtbas (talk | contribs)
Jump to navigation Jump to search

white plain more restaurant teen handjob 1940s music cds process by which seventh teen tgp drafting paper sexy black teens lightbulb dragonballgt badger badger badger new sex toy video stanford aba teen handjob petra nemcova que es la actitud fisica boys in girls dresses hentai bitches where is the vin located on a 1932 dodge pachinko repair sex doctor chris evans nude a yeast infection symptoms auction sniper inline fitness skates electronic switches mining regions sister fuck preschool software ecommerce web design parent sex masterbating alaskan cruise athf wives pussy galore pay verizon phone bill pc action football enema free gay dildo golf cars pay as you go phone fairy pics female orgasm video horse suck ut detroit free press cammy butt home inspection stein mart pieces sum 41 nude russian lolitas hogwarts auto coupon international new show york gay dad and son looney toons nude prepubescent photography homemade male masturbation toys big black ass gallery reproduction furniture sonny moore from first to last wmv player sales force automation software jaguar sale antigone rising fender mens prescriptions virgin teens manicure harbor frieght tools nuclear technology medical julian lake lure nc cover letter examples underwater sex video underwater sex jacksonville marketing consultant briana banks nude free mens gifts accidental exposure dogs humping street fighters conversion table cumswapping sacramento strip club texas poverty guidelines brownie free tattoo designs mixed young cleavage middletown pennsylvania map oregon trail history period inside quotations television sports listings liftmaster garage door the roots ashanti dont let them limp bizkit break stuff girls in tiny bikinis silicone wristbands genoa nv hydrolics This interface class is defined in src\game_shared\IVehicle.h. This class is the interface from which vehicles are derived. It is used by the player to access vehicles.

class IVehicle
{
public:
	// Get and set the current driver. Use PassengerRole_t enum in shareddefs.h for adding passengers
	virtual CBasePlayer*	GetPassenger( int nRole = VEHICLE_DRIVER ) = 0;
	virtual int				GetPassengerRole( CBasePlayer *pPassenger ) = 0;
	
	// Where is the passenger seeing from?
	virtual void			GetVehicleViewPosition( int nRole, Vector *pOrigin, QAngle *pAngles ) = 0;

	// Does the player use his normal weapons while in this mode?
	virtual bool			IsPassengerUsingStandardWeapons( int nRole = VEHICLE_DRIVER ) = 0;

	// Process movement
	virtual void			SetupMove( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper *pHelper, CMoveData *move ) = 0;
	virtual void			ProcessMovement( CBasePlayer *pPlayer, CMoveData *pMoveData ) = 0;
	virtual void			FinishMove( CBasePlayer *player, CUserCmd *ucmd, CMoveData *move ) = 0;

	// Process input
	virtual void			ItemPostFrame( CBasePlayer *pPlayer ) = 0;
}

See also