Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
StepLinearOffsetTextureMapperClass Class Reference

#include <mapper.h>

Inherits ScaleTextureMapperClass.

Public Member Functions

 StepLinearOffsetTextureMapperClass (const Vector2 &step, float steps_per_sec, bool clamp_fix, const Vector2 &scale, unsigned int stage)
 
 StepLinearOffsetTextureMapperClass (const INIClass &ini, const char *section, unsigned int stage)
 
 StepLinearOffsetTextureMapperClass (const StepLinearOffsetTextureMapperClass &src)
 
virtual int Mapper_ID (void) const
 
virtual TextureMapperClassClone (void) const
 
virtual bool Is_Time_Variant (void)
 
virtual void Reset (void)
 
virtual void Calculate_Texture_Matrix (Matrix4x4 &tex_matrix)
 
- Public Member Functions inherited from ScaleTextureMapperClass
 ScaleTextureMapperClass (const Vector2 &scale, unsigned int stage)
 
 ScaleTextureMapperClass (const INIClass &ini, const char *section, unsigned int stage)
 
 ScaleTextureMapperClass (const ScaleTextureMapperClass &src)
 
virtual void Apply (int uv_array_index)
 
- Public Member Functions inherited from TextureMapperClass
 TextureMapperClass (unsigned int stage=0)
 
 TextureMapperClass (const TextureMapperClass &src)
 
virtual ~TextureMapperClass (void)
 
virtual bool Needs_Normals (void)
 
void Set_Stage (int stage)
 
int Get_Stage (void) const
 
- Public Member Functions inherited from W3DMPO
virtual ~W3DMPO ()
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Additional Inherited Members

- Public Types inherited from TextureMapperClass
enum  {
  MAPPER_ID_UNKNOWN , MAPPER_ID_LINEAR_OFFSET , MAPPER_ID_CLASSIC_ENVIRONMENT , MAPPER_ID_ENVIRONMENT ,
  MAPPER_ID_SCREEN , MAPPER_ID_ANIMATING_1D , MAPPER_ID_AXIAL , MAPPER_ID_SILHOUETTE ,
  MAPPER_ID_SCALE , MAPPER_ID_GRID , MAPPER_ID_ROTATE , MAPPER_ID_SINE_LINEAR_OFFSET ,
  MAPPER_ID_STEP_LINEAR_OFFSET , MAPPER_ID_ZIGZAG_LINEAR_OFFSET , MAPPER_ID_WS_CLASSIC_ENVIRONMENT , MAPPER_ID_WS_ENVIRONMENT ,
  MAPPER_ID_GRID_CLASSIC_ENVIRONMENT , MAPPER_ID_GRID_ENVIRONMENT , MAPPER_ID_RANDOM , MAPPER_ID_EDGE ,
  MAPPER_ID_BUMPENV , MAPPER_ID_GRID_WS_CLASSIC_ENVIRONMENT , MAPPER_ID_GRID_WS_ENVIRONMENT
}
 
- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from W3DMPO
virtual int glueEnforcer () const =0
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 
- Protected Attributes inherited from ScaleTextureMapperClass
Vector2 Scale
 
- Protected Attributes inherited from TextureMapperClass
unsigned int Stage
 

Detailed Description

Definition at line 284 of file mapper.h.

Constructor & Destructor Documentation

◆ StepLinearOffsetTextureMapperClass() [1/3]

StepLinearOffsetTextureMapperClass::StepLinearOffsetTextureMapperClass ( const Vector2 & step,
float steps_per_sec,
bool clamp_fix,
const Vector2 & scale,
unsigned int stage )

Definition at line 453 of file mapper.cpp.

◆ StepLinearOffsetTextureMapperClass() [2/3]

StepLinearOffsetTextureMapperClass::StepLinearOffsetTextureMapperClass ( const INIClass & ini,
const char * section,
unsigned int stage )

Definition at line 465 of file mapper.cpp.

◆ StepLinearOffsetTextureMapperClass() [3/3]

StepLinearOffsetTextureMapperClass::StepLinearOffsetTextureMapperClass ( const StepLinearOffsetTextureMapperClass & src)

Definition at line 477 of file mapper.cpp.

Member Function Documentation

◆ Calculate_Texture_Matrix()

void StepLinearOffsetTextureMapperClass::Calculate_Texture_Matrix ( Matrix4x4 & tex_matrix)
virtual

Reimplemented from ScaleTextureMapperClass.

Definition at line 495 of file mapper.cpp.

◆ Clone()

virtual TextureMapperClass * StepLinearOffsetTextureMapperClass::Clone ( void ) const
inlinevirtual

Reimplemented from ScaleTextureMapperClass.

Definition at line 295 of file mapper.h.

◆ Is_Time_Variant()

virtual bool StepLinearOffsetTextureMapperClass::Is_Time_Variant ( void )
inlinevirtual

Reimplemented from TextureMapperClass.

Definition at line 297 of file mapper.h.

◆ Mapper_ID()

virtual int StepLinearOffsetTextureMapperClass::Mapper_ID ( void ) const
inlinevirtual

Reimplemented from ScaleTextureMapperClass.

Definition at line 293 of file mapper.h.

◆ Reset()

void StepLinearOffsetTextureMapperClass::Reset ( void )
virtual

Reimplemented from TextureMapperClass.

Definition at line 488 of file mapper.cpp.


The documentation for this class was generated from the following files: