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

#include <GameMtlDlg.h>

Inherits ParamDlg.

Public Member Functions

 GameMtlDlg (HWND hwMtlEdit, IMtlParams *imp, GameMtl *m)
 
 ~GameMtlDlg ()
 
Class_ID ClassID (void)
 
void SetThing (ReferenceTarget *m)
 
ReferenceTarget * GetThing (void)
 
void DeleteThis ()
 
void SetTime (TimeValue t)
 
void ReloadDialog (void)
 
void ActivateDlg (BOOL onOff)
 
void Invalidate (void)
 
void Update_Display (void)
 

Protected Types

enum  { MAX_PASSES = 4 }
 

Protected Member Functions

void Build_Dialog (void)
 
BOOL DisplacementMapProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
BOOL SurfaceTypeProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
BOOL PassCountProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
void Set_Pass_Count_Dialog (void)
 

Protected Attributes

HWND HwndEdit
 
HWND HwndPassCount
 
HWND HwndSurfaceType
 
HWND HwndDisplacementMap
 
HPALETTE HpalOld
 
GameMtlPassDlgPassDialog [MAX_PASSES]
 
IMtlParams * IParams
 
GameMtlTheMtl
 
TimeValue CurTime
 
int IsActive
 

Friends

class GameMtl
 
BOOL CALLBACK DisplacementMapDlgProc (HWND hwndDlg, UINT msg, WPARAM wPara, LPARAM lParam)
 
BOOL CALLBACK SurfaceTypePanelDlgProc (HWND hwndDlg, UINT msg, WPARAM wPara, LPARAM lParam)
 
BOOL CALLBACK PassCountPanelDlgProc (HWND hwndDlg, UINT msg, WPARAM wPara, LPARAM lParam)
 

Detailed Description

Definition at line 55 of file GameMtlDlg.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
MAX_PASSES 

Definition at line 87 of file GameMtlDlg.h.

Constructor & Destructor Documentation

◆ GameMtlDlg()

GameMtlDlg::GameMtlDlg ( HWND hwMtlEdit,
IMtlParams * imp,
GameMtl * m )

Definition at line 77 of file GameMtlDlg.cpp.

◆ ~GameMtlDlg()

GameMtlDlg::~GameMtlDlg ( )

Definition at line 108 of file GameMtlDlg.cpp.

Member Function Documentation

◆ ActivateDlg()

void GameMtlDlg::ActivateDlg ( BOOL onOff)

Definition at line 283 of file GameMtlDlg.cpp.

◆ Build_Dialog()

void GameMtlDlg::Build_Dialog ( void )
protected

Definition at line 640 of file GameMtlDlg.cpp.

◆ ClassID()

Class_ID GameMtlDlg::ClassID ( void )

Definition at line 160 of file GameMtlDlg.cpp.

◆ DeleteThis()

void GameMtlDlg::DeleteThis ( )
inline

Definition at line 70 of file GameMtlDlg.h.

◆ DisplacementMapProc()

BOOL GameMtlDlg::DisplacementMapProc ( HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam )
protected

Definition at line 315 of file GameMtlDlg.cpp.

◆ GetThing()

ReferenceTarget * GameMtlDlg::GetThing ( void )
inline

Definition at line 69 of file GameMtlDlg.h.

◆ Invalidate()

void GameMtlDlg::Invalidate ( void )

Definition at line 304 of file GameMtlDlg.cpp.

◆ PassCountProc()

BOOL GameMtlDlg::PassCountProc ( HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam )
protected

Definition at line 469 of file GameMtlDlg.cpp.

◆ ReloadDialog()

void GameMtlDlg::ReloadDialog ( void )

Definition at line 239 of file GameMtlDlg.cpp.

◆ Set_Pass_Count_Dialog()

void GameMtlDlg::Set_Pass_Count_Dialog ( void )
protected

Definition at line 551 of file GameMtlDlg.cpp.

◆ SetThing()

void GameMtlDlg::SetThing ( ReferenceTarget * m)

Definition at line 177 of file GameMtlDlg.cpp.

◆ SetTime()

void GameMtlDlg::SetTime ( TimeValue t)

Definition at line 218 of file GameMtlDlg.cpp.

◆ SurfaceTypeProc()

BOOL GameMtlDlg::SurfaceTypeProc ( HWND hDlg,
UINT message,
WPARAM wParam,
LPARAM lParam )
protected

Definition at line 358 of file GameMtlDlg.cpp.

◆ Update_Display()

void GameMtlDlg::Update_Display ( void )
inline

Definition at line 76 of file GameMtlDlg.h.

Friends And Related Symbol Documentation

◆ DisplacementMapDlgProc

BOOL CALLBACK DisplacementMapDlgProc ( HWND hwndDlg,
UINT msg,
WPARAM wPara,
LPARAM lParam )
friend

Definition at line 491 of file GameMtlDlg.cpp.

◆ GameMtl

friend class GameMtl
friend

Definition at line 115 of file GameMtlDlg.h.

◆ PassCountPanelDlgProc

BOOL CALLBACK PassCountPanelDlgProc ( HWND hwndDlg,
UINT msg,
WPARAM wPara,
LPARAM lParam )
friend

Definition at line 531 of file GameMtlDlg.cpp.

◆ SurfaceTypePanelDlgProc

BOOL CALLBACK SurfaceTypePanelDlgProc ( HWND hwndDlg,
UINT msg,
WPARAM wPara,
LPARAM lParam )
friend

Definition at line 511 of file GameMtlDlg.cpp.

Member Data Documentation

◆ CurTime

TimeValue GameMtlDlg::CurTime
protected

Definition at line 109 of file GameMtlDlg.h.

◆ HpalOld

HPALETTE GameMtlDlg::HpalOld
protected

Definition at line 96 of file GameMtlDlg.h.

◆ HwndDisplacementMap

HWND GameMtlDlg::HwndDisplacementMap
protected

Definition at line 95 of file GameMtlDlg.h.

◆ HwndEdit

HWND GameMtlDlg::HwndEdit
protected

Definition at line 92 of file GameMtlDlg.h.

◆ HwndPassCount

HWND GameMtlDlg::HwndPassCount
protected

Definition at line 93 of file GameMtlDlg.h.

◆ HwndSurfaceType

HWND GameMtlDlg::HwndSurfaceType
protected

Definition at line 94 of file GameMtlDlg.h.

◆ IParams

IMtlParams* GameMtlDlg::IParams
protected

Definition at line 103 of file GameMtlDlg.h.

◆ IsActive

int GameMtlDlg::IsActive
protected

Definition at line 110 of file GameMtlDlg.h.

◆ PassDialog

GameMtlPassDlg* GameMtlDlg::PassDialog[MAX_PASSES]
protected

Definition at line 98 of file GameMtlDlg.h.

◆ TheMtl

GameMtl* GameMtlDlg::TheMtl
protected

Definition at line 104 of file GameMtlDlg.h.


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