Cloud Class Reference

#include <sky.h>

List of all members.

Public Member Functions

 Cloud ()
 ~Cloud ()
void setPoints ()
void setHeights (F32 cHeight, F32 iHeight, F32 eHeight)
void setTexture (GFXTexHandle)
void setSpeed (const Point2F &speed)
void setTextPer (F32 cloudTextPer)
void updateCoord ()
void calcAlpha ()
void render (U32, U32, bool, S32, PlaneF *)
void updateStorm ()
void calcStorm (F32 speed, F32 fadeSpeed)
void calcStormAlpha ()
void setRenderPoints (Point3F *renderPoints, Point2F *renderTexPoints, F32 *renderAlpha, F32 *renderSAlpha, S32 index)
void clipToPlane (Point3F *points, Point2F *texPoints, F32 *alphaPoints, F32 *sAlphaPoints, U32 &rNumPoints, const PlaneF &rPlane)

Static Public Member Functions

static void startStorm (SkyState)
static void setRadius (F32 rad)

Private Attributes

Point3F mPoints [25]
Point2F mSpeed
F32 mCenterHeight
F32 mInnerHeight
F32 mEdgeHeight
F32 mAlpha [25]
S32 mDown
S32 mOver
U32 mLastTime
F32 mOffset
Point2F mBaseOffset
Point2F mTexCoords [25]
Point2F mTextureScale
GFXTexHandle mCloudHandle
Point2F alphaCenter
Point2F stormUpdate
F32 stormAlpha [25]
F32 mAlphaSave [25]
GFXStateBlockRef mCloudSB

Static Private Attributes

static F32 mRadius
static StormInfo mGStormData


Constructor & Destructor Documentation

Cloud::Cloud (  ) 

Cloud::~Cloud (  ) 


Member Function Documentation

void Cloud::setPoints (  ) 

void Cloud::setHeights ( F32  cHeight,
F32  iHeight,
F32  eHeight 
)

void Cloud::setTexture ( GFXTexHandle   ) 

void Cloud::setSpeed ( const Point2F speed  ) 

void Cloud::setTextPer ( F32  cloudTextPer  ) 

void Cloud::updateCoord (  ) 

void Cloud::calcAlpha (  ) 

void Cloud::render ( U32  ,
U32  ,
bool  ,
S32  ,
PlaneF  
)

void Cloud::updateStorm (  ) 

void Cloud::calcStorm ( F32  speed,
F32  fadeSpeed 
)

void Cloud::calcStormAlpha (  ) 

static void Cloud::startStorm ( SkyState   )  [static]

static void Cloud::setRadius ( F32  rad  )  [inline, static]

void Cloud::setRenderPoints ( Point3F renderPoints,
Point2F renderTexPoints,
F32 renderAlpha,
F32 renderSAlpha,
S32  index 
)

void Cloud::clipToPlane ( Point3F points,
Point2F texPoints,
F32 alphaPoints,
F32 sAlphaPoints,
U32 rNumPoints,
const PlaneF rPlane 
)


Member Data Documentation

Point3F Cloud::mPoints[25] [private]

F32 Cloud::mAlpha[25] [private]

S32 Cloud::mDown [private]

S32 Cloud::mOver [private]

F32 Cloud::mRadius [static, private]

U32 Cloud::mLastTime [private]

F32 Cloud::mOffset [private]

Point2F Cloud::mTexCoords[25] [private]

F32 Cloud::stormAlpha[25] [private]

F32 Cloud::mAlphaSave[25] [private]

StormInfo Cloud::mGStormData [static, private]