resonance 1.0.1
Loading...
Searching...
No Matches
FreqMakerCursor Class Reference

Placement state of the FreQ maker, the part being placed and the mesh that previews it. More...

#include <freqmakercursor.h>

Inheritance diagram for FreqMakerCursor:
Collaboration diagram for FreqMakerCursor:

Public Member Functions

 FreqMakerCursor ()
 Start with no template selected, an unset scale, and the FreQ maker default colour.
 ~FreqMakerCursor ()
 Delete the preview mesh.
void deselect ()
 Forget the selected part without restoring it.

Protected Attributes

int mCursorX
int mCursorZ
unsigned char mColorAlignment [0x8]
Color mColor
FreqPart * mSelected
unsigned char mBackupAlignment [0xc]
FreqPart mSelectedBackup
int mSelectedDrawIndex
FreqPartTemplate * mTemplate
int mPlacing
float mScaleX
float mScaleZ
int mScaleStepX
int mScaleStepZ
int mCursorMirrored
Vector2 mPalettePosition
Rnd::Mesh * mCursorMesh

Detailed Description

Placement state of the FreQ maker, the part being placed and the mesh that previews it.

The class is not polymorphic and emits no RTTI descriptor, and no literal in the image identifies it, so the name is inferred. It is the non-virtual base of FreqAppearanceDetail at offset 0 and occupies +0x00 through +0x9f, which the detail's part list at +0xa0 fixes. The detail's constructor runs this constructor first on the same object, and the detail's destructor runs this destructor last with an __in_chrg of 2. Every member is protected, because only the detail reads them.

Constructor & Destructor Documentation

◆ FreqMakerCursor()

FreqMakerCursor::FreqMakerCursor ( )

Start with no template selected, an unset scale, and the FreQ maker default colour.

Ghidra address:
NTSC-U/C: 0x0024f300
Ghidra address:
PAL: 0x00264728

◆ ~FreqMakerCursor()

FreqMakerCursor::~FreqMakerCursor ( )

Delete the preview mesh.

Ghidra address:
NTSC-U/C: 0x0024f3b0
Ghidra address:
PAL: 0x002647d8

Member Function Documentation

◆ deselect()

void FreqMakerCursor::deselect ( )

Forget the selected part without restoring it.

FreqAppearanceDetail::placeCursor() runs it when the cursor is editing. The title is inferred.

Ghidra address:
NTSC-U/C: 0x0024f2e8
Ghidra address:
PAL: 0x00264710

Member Data Documentation

◆ mCursorX

int FreqMakerCursor::mCursorX
protected

◆ mCursorZ

int FreqMakerCursor::mCursorZ
protected

◆ mColorAlignment

unsigned char FreqMakerCursor::mColorAlignment[0x8]
protected

◆ mColor

Color FreqMakerCursor::mColor
protected

◆ mSelected

FreqPart* FreqMakerCursor::mSelected
protected

◆ mBackupAlignment

unsigned char FreqMakerCursor::mBackupAlignment[0xc]
protected

◆ mSelectedBackup

FreqPart FreqMakerCursor::mSelectedBackup
protected

◆ mSelectedDrawIndex

int FreqMakerCursor::mSelectedDrawIndex
protected

◆ mTemplate

FreqPartTemplate* FreqMakerCursor::mTemplate
protected

◆ mPlacing

int FreqMakerCursor::mPlacing
protected

◆ mScaleX

float FreqMakerCursor::mScaleX
protected

◆ mScaleZ

float FreqMakerCursor::mScaleZ
protected

◆ mScaleStepX

int FreqMakerCursor::mScaleStepX
protected

◆ mScaleStepZ

int FreqMakerCursor::mScaleStepZ
protected

◆ mCursorMirrored

int FreqMakerCursor::mCursorMirrored
protected

◆ mPalettePosition

Vector2 FreqMakerCursor::mPalettePosition
protected

◆ mCursorMesh

Rnd::Mesh* FreqMakerCursor::mCursorMesh
protected

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