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

#include <w3d_file.h>

Public Member Functions

 W3dRGBStruct ()
 
 W3dRGBStruct (uint8 r, uint8 g, uint8 b)
 
void Set (uint8 r, uint8 g, uint8 b)
 
void Set (float r, float g, float b)
 
bool operator== (W3dRGBStruct c)
 
bool operator!= (W3dRGBStruct c)
 
W3dRGBStruct operator+= (W3dRGBStruct c)
 
W3dRGBStruct operator*= (W3dRGBStruct c)
 
unsigned Get_Color ()
 
 W3dRGBStruct ()
 
 W3dRGBStruct (uint8 r, uint8 g, uint8 b)
 
void Set (uint8 r, uint8 g, uint8 b)
 
void Set (float r, float g, float b)
 
bool operator== (W3dRGBStruct c)
 
bool operator!= (W3dRGBStruct c)
 
W3dRGBStruct operator+= (W3dRGBStruct c)
 
W3dRGBStruct operator*= (W3dRGBStruct c)
 
unsigned Get_Color ()
 

Public Attributes

uint8 R
 
uint8 G
 
uint8 B
 
uint8 pad
 

Detailed Description

Definition at line 556 of file w3d_file.h.

Constructor & Destructor Documentation

◆ W3dRGBStruct() [1/4]

W3dRGBStruct::W3dRGBStruct ( )
inline

Definition at line 558 of file w3d_file.h.

◆ W3dRGBStruct() [2/4]

W3dRGBStruct::W3dRGBStruct ( uint8 r,
uint8 g,
uint8 b )
inline

Definition at line 559 of file w3d_file.h.

◆ W3dRGBStruct() [3/4]

W3dRGBStruct::W3dRGBStruct ( )
inline

Definition at line 530 of file w3d_file.h.

◆ W3dRGBStruct() [4/4]

W3dRGBStruct::W3dRGBStruct ( uint8 r,
uint8 g,
uint8 b )
inline

Definition at line 531 of file w3d_file.h.

Member Function Documentation

◆ Get_Color() [1/2]

unsigned W3dRGBStruct::Get_Color ( )
inline

Definition at line 606 of file w3d_file.h.

◆ Get_Color() [2/2]

unsigned W3dRGBStruct::Get_Color ( )
inline

Definition at line 578 of file w3d_file.h.

◆ operator!=() [1/2]

bool W3dRGBStruct::operator!= ( W3dRGBStruct c)
inline

Definition at line 585 of file w3d_file.h.

◆ operator!=() [2/2]

bool W3dRGBStruct::operator!= ( W3dRGBStruct c)
inline

Definition at line 557 of file w3d_file.h.

◆ operator*=() [1/2]

W3dRGBStruct W3dRGBStruct::operator*= ( W3dRGBStruct c)
inline

Definition at line 598 of file w3d_file.h.

◆ operator*=() [2/2]

W3dRGBStruct W3dRGBStruct::operator*= ( W3dRGBStruct c)
inline

Definition at line 570 of file w3d_file.h.

◆ operator+=() [1/2]

W3dRGBStruct W3dRGBStruct::operator+= ( W3dRGBStruct c)
inline

Definition at line 590 of file w3d_file.h.

◆ operator+=() [2/2]

W3dRGBStruct W3dRGBStruct::operator+= ( W3dRGBStruct c)
inline

Definition at line 562 of file w3d_file.h.

◆ operator==() [1/2]

bool W3dRGBStruct::operator== ( W3dRGBStruct c)
inline

Definition at line 580 of file w3d_file.h.

◆ operator==() [2/2]

bool W3dRGBStruct::operator== ( W3dRGBStruct c)
inline

Definition at line 552 of file w3d_file.h.

◆ Set() [1/4]

void W3dRGBStruct::Set ( float r,
float g,
float b )
inline

Definition at line 573 of file w3d_file.h.

◆ Set() [2/4]

void W3dRGBStruct::Set ( float r,
float g,
float b )
inline

Definition at line 545 of file w3d_file.h.

◆ Set() [3/4]

void W3dRGBStruct::Set ( uint8 r,
uint8 g,
uint8 b )
inline

Definition at line 566 of file w3d_file.h.

◆ Set() [4/4]

void W3dRGBStruct::Set ( uint8 r,
uint8 g,
uint8 b )
inline

Definition at line 538 of file w3d_file.h.

Member Data Documentation

◆ B

uint8 W3dRGBStruct::B

Definition at line 613 of file w3d_file.h.

◆ G

uint8 W3dRGBStruct::G

Definition at line 612 of file w3d_file.h.

◆ pad

uint8 W3dRGBStruct::pad

Definition at line 614 of file w3d_file.h.

◆ R

uint8 W3dRGBStruct::R

Definition at line 611 of file w3d_file.h.


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