DrawableTrailClass

Superclasses:

DrawableObject

Other Subclasses: DrawableBSP, DrawableTrail, Drawable2D, DrawableBridge ,   DrawablePlatform ,   DrawablePoint,

Implementation: <inline>

DrawableTrail


 DrawableTrail( int trailType, float scale = 1.0f );
 virtual ~DrawableTrail();

 void AddPointAtHead( Tpoint *p );
 void TrimTrail( int len );

 virtual void Draw( class RenderOTW *renderer, int LOD );

 TrailElement* GetHead() { return head; };

  protected:
 int     type;
 TrailElement  *head;

  protected:
 void ConstructSegmentEnd( RenderOTW *renderer,
         Tpoint *start, Tpoint *end,
         struct ThreeDVertex *xformLeft, ThreeDVertex *xformRight );

 // Handle time of day notifications
 static void TimeUpdateCallback( void *unused );

  public:
 static void SetupTexturesOnDevice( DWORD rc );
 static void ReleaseTexturesOnDevice( DWORD rc );