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

#include <ImpassableOptions.h>

Inherits CDialog.

Public Types

enum  { IDD = IDD_IMPASSABLEOPTIONS }
 

Public Member Functions

 ImpassableOptions (CWnd *pParent=NULL, Real defaultSlope=45.0f)
 
virtual ~ImpassableOptions ()
 
Real GetSlopeToShow () const
 
Real GetDefaultSlope () const
 
void SetDefaultSlopeToShow (Real slopeToShow)
 

Protected Member Functions

Bool ValidateSlope ()
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnAngleChange ()
 
afx_msg void OnPreview ()
 

Protected Attributes

Real m_slopeToShow
 
Real m_defaultSlopeToShow
 
Bool m_showImpassableAreas
 

Detailed Description

Definition at line 25 of file ImpassableOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IDD 

Definition at line 28 of file ImpassableOptions.h.

Constructor & Destructor Documentation

◆ ImpassableOptions()

ImpassableOptions::ImpassableOptions ( CWnd * pParent = NULL,
Real defaultSlope = 45.0f )

Definition at line 31 of file ImpassableOptions.cpp.

◆ ~ImpassableOptions()

ImpassableOptions::~ImpassableOptions ( )
virtual

Definition at line 42 of file ImpassableOptions.cpp.

Member Function Documentation

◆ GetDefaultSlope()

Real ImpassableOptions::GetDefaultSlope ( ) const
inline

Definition at line 34 of file ImpassableOptions.h.

◆ GetSlopeToShow()

Real ImpassableOptions::GetSlopeToShow ( ) const
inline

Definition at line 33 of file ImpassableOptions.h.

◆ OnAngleChange()

void ImpassableOptions::OnAngleChange ( )
protected

Definition at line 79 of file ImpassableOptions.cpp.

◆ OnInitDialog()

BOOL ImpassableOptions::OnInitDialog ( )
protectedvirtual

Definition at line 64 of file ImpassableOptions.cpp.

◆ OnPreview()

void ImpassableOptions::OnPreview ( )
protected

Definition at line 100 of file ImpassableOptions.cpp.

◆ SetDefaultSlopeToShow()

void ImpassableOptions::SetDefaultSlopeToShow ( Real slopeToShow)
inline

Definition at line 35 of file ImpassableOptions.h.

◆ ValidateSlope()

Bool ImpassableOptions::ValidateSlope ( )
protected

Definition at line 48 of file ImpassableOptions.cpp.

Member Data Documentation

◆ m_defaultSlopeToShow

Real ImpassableOptions::m_defaultSlopeToShow
protected

Definition at line 39 of file ImpassableOptions.h.

◆ m_showImpassableAreas

Bool ImpassableOptions::m_showImpassableAreas
protected

Definition at line 40 of file ImpassableOptions.h.

◆ m_slopeToShow

Real ImpassableOptions::m_slopeToShow
protected

Definition at line 38 of file ImpassableOptions.h.


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