Fission FSN
Loading...
Searching...
No Matches
gfCLetterGrid Class Reference

#include <gfCLetterGrid.h>

Classes

struct  sSelection

Public Member Functions

 gfCLetterGrid (fsCEntity *pOwner)
 ~gfCLetterGrid ()
void hilightsSet (const fsStr &pHilight, const fsStr &pHilight2, const fsStr &pHilight2End)
void init (const fsStr &pTileSet, const std::vector< std::vector< fsStr > > &pLetters, fsPoint const &pOrigin)
void dragTintSet (fsBool pDragTint)
fsGrid< gfCMinigameLetterTileComponent * > & tilesGet ()
const fsGrid< gfCMinigameLetterTileComponent * > & tilesGet () const
void dragTo (sSelection &pSelection, fsPoint const &pPos, fsBool pSnake)
fsBool wordFind (sSelection &pSelection, fsBool pSnake)
std::vector< gfCMinigameLetterTileComponent * > cornerTilesGet (const sSelection &pSelection) const
std::vector< fsPoint > lineVertsGet (const sSelection &pSelection) const
void lineCreate (sSelection &pSelection, fsSColour4B const &pTint)
void segmentCreate (sSelection &pSelection, fsPoint const &pStart, fsPoint const &pEnd, fsSColour4B const &pTint)
fsBool diagonalGet (fsPoint const &pSize) const
fsStr pathSaveStrGet (const sSelection &pSelection) const
fsBool pathRestore (sSelection &pSelection, const fsStr &pPath)

Static Public Member Functions

static fsBool verticalGet (fsPoint const &pSize)
static fsStr spellGet (const std::vector< gfCMinigameLetterTileComponent * > &pTiles, fsBool pBackward)

Static Public Attributes

static const fsSColour4B mTileTint
static const fsSColour4B mSelectionTint

Constructor & Destructor Documentation

◆ gfCLetterGrid()

gfCLetterGrid::gfCLetterGrid ( fsCEntity * pOwner)
explicit

◆ ~gfCLetterGrid()

gfCLetterGrid::~gfCLetterGrid ( )

Member Function Documentation

◆ cornerTilesGet()

std::vector< gfCMinigameLetterTileComponent * > gfCLetterGrid::cornerTilesGet ( const sSelection & pSelection) const

◆ diagonalGet()

fsBool gfCLetterGrid::diagonalGet ( fsPoint const & pSize) const

◆ dragTintSet()

void gfCLetterGrid::dragTintSet ( fsBool pDragTint)
inline

◆ dragTo()

void gfCLetterGrid::dragTo ( sSelection & pSelection,
fsPoint const & pPos,
fsBool pSnake )

◆ hilightsSet()

void gfCLetterGrid::hilightsSet ( const fsStr & pHilight,
const fsStr & pHilight2,
const fsStr & pHilight2End )

◆ init()

void gfCLetterGrid::init ( const fsStr & pTileSet,
const std::vector< std::vector< fsStr > > & pLetters,
fsPoint const & pOrigin )

◆ lineCreate()

void gfCLetterGrid::lineCreate ( sSelection & pSelection,
fsSColour4B const & pTint )

◆ lineVertsGet()

std::vector< fsPoint > gfCLetterGrid::lineVertsGet ( const sSelection & pSelection) const

◆ pathRestore()

fsBool gfCLetterGrid::pathRestore ( sSelection & pSelection,
const fsStr & pPath )

◆ pathSaveStrGet()

fsStr gfCLetterGrid::pathSaveStrGet ( const sSelection & pSelection) const

◆ segmentCreate()

void gfCLetterGrid::segmentCreate ( sSelection & pSelection,
fsPoint const & pStart,
fsPoint const & pEnd,
fsSColour4B const & pTint )

◆ spellGet()

fsStr gfCLetterGrid::spellGet ( const std::vector< gfCMinigameLetterTileComponent * > & pTiles,
fsBool pBackward )
static

◆ tilesGet() [1/2]

fsGrid< gfCMinigameLetterTileComponent * > & gfCLetterGrid::tilesGet ( )
inline

◆ tilesGet() [2/2]

const fsGrid< gfCMinigameLetterTileComponent * > & gfCLetterGrid::tilesGet ( ) const
inline

◆ verticalGet()

fsBool gfCLetterGrid::verticalGet ( fsPoint const & pSize)
static

◆ wordFind()

fsBool gfCLetterGrid::wordFind ( sSelection & pSelection,
fsBool pSnake )

Member Data Documentation

◆ mSelectionTint

const fsSColour4B gfCLetterGrid::mSelectionTint
static

◆ mTileTint

const fsSColour4B gfCLetterGrid::mTileTint
static

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