made NPC heli rotors rotate
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
|
||||
enum ePlaneNodes
|
||||
{
|
||||
#ifdef CPLANE_ROTORS
|
||||
// for heli
|
||||
PLANE_TOPROTOR,
|
||||
PLANE_BACKROTOR,
|
||||
#endif
|
||||
PLANE_WHEEL_FRONT = 2,
|
||||
PLANE_WHEEL_READ,
|
||||
NUM_PLANE_NODES
|
||||
@@ -29,6 +34,10 @@ struct CPlaneInterpolationLine
|
||||
class CPlane : public CVehicle
|
||||
{
|
||||
public:
|
||||
#ifdef CPLANE_ROTORS
|
||||
RwFrame *m_aPlaneNodes[NUM_PLANE_NODES];
|
||||
float m_fRotorRotation;
|
||||
#endif
|
||||
int16 m_nPlaneId;
|
||||
int16 m_isFarAway;
|
||||
int16 m_nCurPathNode;
|
||||
|
||||
Reference in New Issue
Block a user