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

ModifyPolygonPointUndoable. More...

#include <CUndoable.h>

Inherits Undoable.

Public Member Functions

 ModifyPolygonPointUndoable (PolygonTrigger *pTrig, Int ndx)
 
 ~ModifyPolygonPointUndoable (void)
 
virtual void Do (void)
 Add the trigger.
 
virtual void Undo (void)
 pure virtual.
 
- Public Member Functions inherited from Undoable
 Undoable (void)
 Create a new undoable.
 
 ~Undoable (void)
 Undoable - destructor.
 
virtual void Redo (void)
 Redo defaults to Do().
 
void LinkNext (Undoable *pNext)
 Link another undoable to this.
 
UndoableGetNext (void)
 
- 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)
 

Protected Attributes

PolygonTriggerm_trigger
 
Int m_pointIndex
 
ICoord3D m_point
 
ICoord3D m_savPoint
 
- Protected Attributes inherited from Undoable
UndoablemNext
 

Additional Inherited Members

- 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 RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

ModifyPolygonPointUndoable.

An undoable that actually undoes something. Modifys a polygon.

Definition at line 311 of file CUndoable.h.

Constructor & Destructor Documentation

◆ ModifyPolygonPointUndoable()

ModifyPolygonPointUndoable::ModifyPolygonPointUndoable ( PolygonTrigger * pTrig,
Int ndx )

Definition at line 1142 of file CUndoable.cpp.

◆ ~ModifyPolygonPointUndoable()

ModifyPolygonPointUndoable::~ModifyPolygonPointUndoable ( void )

Definition at line 1134 of file CUndoable.cpp.

Member Function Documentation

◆ Do()

void ModifyPolygonPointUndoable::Do ( void )
virtual

Add the trigger.

Implements Undoable.

Definition at line 1152 of file CUndoable.cpp.

◆ Undo()

void ModifyPolygonPointUndoable::Undo ( void )
virtual

pure virtual.

Implements Undoable.

Definition at line 1161 of file CUndoable.cpp.

Member Data Documentation

◆ m_point

ICoord3D ModifyPolygonPointUndoable::m_point
protected

Definition at line 316 of file CUndoable.h.

◆ m_pointIndex

Int ModifyPolygonPointUndoable::m_pointIndex
protected

Definition at line 315 of file CUndoable.h.

◆ m_savPoint

ICoord3D ModifyPolygonPointUndoable::m_savPoint
protected

Definition at line 317 of file CUndoable.h.

◆ m_trigger

PolygonTrigger* ModifyPolygonPointUndoable::m_trigger
protected

Definition at line 314 of file CUndoable.h.


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