|
|
void | init () override |
| |
|
void | readData (Common::SeekableReadStream &stream) override |
| |
|
void | execute () override |
| |
|
void | handleInput (NancyInput &input) override |
| |
|
bool | isViewportRelative () const override |
| |
|
| PuzzleRecord (uint zOrder) |
| |
|
Common::String | getRecordExtraInfo () const override |
| |
|
| RenderActionRecord (uint zOrder) |
| |
|
| RenderActionRecord (RenderActionRecord &&)=default |
| |
|
void | onPause (bool pause) override |
| |
|
virtual CursorManager::CursorType | getHoverCursor () const |
| |
|
virtual bool | cursorSetFromScript () const |
| |
|
virtual bool | canHaveHotspot () const |
| |
|
virtual bool | survivesSceneChange (bool nextSceneIsNoArt) const |
| |
|
| RenderObject (uint16 zOrder) |
| |
|
| RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds) |
| |
|
| RenderObject (RenderObject &&)=default |
| |
|
virtual void | registerGraphics () |
| |
|
virtual void | updateGraphics () |
| |
|
void | moveTo (const Common::Point &position) |
| |
|
void | moveTo (const Common::Rect &bounds) |
| |
|
void | setVisible (bool visible) |
| |
|
void | setTransparent (bool isTransparent) |
| |
|
bool | isVisible () const |
| |
|
bool | needsRedraw () const |
| |
|
void | setNeedsRedraw (bool needsRedraw) |
| |
|
void | setHasMoved (bool hasMoved) |
| |
|
bool | isNativeResolution () const |
| |
|
void | setNativeResolution (bool isNative) |
| |
|
void | grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256) |
| |
|
void | setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256) |
| |
|
void | setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256) |
| |
|
bool | hasMoved () const |
| |
|
void | updatePreviousScreenPosition () |
| |
|
Common::Rect | getScreenPosition () const |
| |
|
Common::Rect | getScreenPositionRaw () const |
| |
|
Common::Rect | getPreviousScreenPosition () const |
| |
|
Common::Rect | convertToLocal (const Common::Rect &screen) const |
| |
|
Common::Rect | convertToScreen (const Common::Rect &rect) const |
| |
|
Common::Rect | getBounds () const |
| |
|
uint16 | getZOrder () const |
| |
|
void | setZOrder (uint16 z) |
| |
|
| enum | { kHuman = 0,
kOpponent = 1
} |
| |
| enum | Pile {
kHumanHand = 0,
kHumanTaken = 1,
kHumanTrick = 2,
kOpponentHand = 3,
kOpponentTaken = 4,
kOpponentTrick = 5,
kDeck = 6,
kTable = 7,
kLaidOut = 8,
kPrimes = 9,
kNumPiles = 10,
kPrimeValues = 10,
kNumSlotLists = 11
} |
| |
| enum | CardMode { kFaceUp = 0,
kFaceDown = 1,
kHidden = 2,
kHighlighted = 3
} |
| |
| enum | Phase {
kDeal,
kDealing,
kPlaying,
kTally,
kScorePlayers,
kScorePrimes
} |
| |
| enum | Highlight { kAllCards,
kCoinCards,
kSevenOfCoinsCard
} |
| |
| enum | PlayError { kPlayAllowed,
kWrongSum,
kHasToTake,
kHasToTakeOneCard
} |
| |
| enum | PlayerSound {
kSoundScopa,
kSoundLastCardsLong,
kSoundLastCards,
kSoundMostCards,
kSoundMostCoins,
kSoundSevenOfCoins,
kSoundBestPrimes,
kSoundNoPoints,
kSoundWin,
kNumPlayerSounds
} |
| |
|
|
Common::String | getRecordTypeName () const override |
| |
|
uint | getOtherPlayer (uint playerID) const |
| |
|
uint | countCards (int pile) const |
| |
|
void | setCardState (int cardID, CardMode mode, const Common::Rect &rect) |
| |
|
void | setCardMode (int cardID, CardMode mode) |
| |
|
int | doMove (const Move &move) |
| |
|
void | queueMove (int srcPile, uint srcIndex, int32 delay, int dstPile, CardMode mode) |
| |
|
bool | runMoves () |
| |
|
bool | updateWaits () |
| |
|
void | waitForTime (uint32 time, int player=-1, int32 points=0) |
| |
|
void | waitForSound (const RandomSoundBlock &sound, int player=-1, int32 points=0) |
| |
|
void | startDealSound () |
| |
|
void | stopDealSound () |
| |
|
void | runPhase () |
| |
|
void | dealCards () |
| |
|
void | startTurn () |
| |
|
void | switchPlayer () |
| |
|
PlayError | checkPlay (const Play &play) const |
| |
|
void | findPlays (Common::Array< Play > &plays) const |
| |
|
void | makePlay (const Play &play) |
| |
|
void | afterPlay () |
| |
|
void | moveTricksToTaken () |
| |
|
void | takeLastCards () |
| |
|
void | showPilePictures (bool show) |
| |
|
void | updateButtons () |
| |
|
void | tallyPlayer (Player &player, int takenPile) |
| |
|
void | tallyRound () |
| |
|
void | layOutTakenCards (uint playerID) |
| |
|
void | highlightLaidOutCards (Highlight highlight) |
| |
|
void | movePrimes (uint playerID) |
| |
|
bool | scorePlayerStep () |
| |
|
bool | scorePrimesStep () |
| |
|
void | finishRound () |
| |
|
void | findSelectedCards (int pile, Common::Array< uint > &indices) const |
| |
|
int | getHoveredCard (int pile, const Common::Point &pos) const |
| |
|
void | clickCard (int pile, uint index) |
| |
|
void | tryPlay (bool sayWhyNotToDiscard) |
| |
|
void | blendPixel (int x, int y, byte a, byte r, byte g, byte b) |
| |
|
void | blitFaded (const Graphics::ManagedSurface &image, const Common::Rect &src, const Common::Point &dest, uint32 argb, float alpha) |
| |
|
void | drawCardState (int cardID, CardState &state) |
| |
|
void | drawText (const Common::String &text, const Common::Rect &rect, uint fontID, uint colorID, Graphics::TextAlign align) |
| |
|
void | redraw () |
| |
|
void | loadImage () |
| |
|
void | initViewportSurface () |
| |
|
void | setDataCursor (uint16 cursorType, bool hotspotVariant=true) const |
| |
|
Common::Point | getHeldPiecePos (const Common::Point &mousePos, const Common::Rect &src, const Common::Point &offset) const |
| |
|
SoundDescription | playSoundBlock (const RandomSoundBlock &block) |
| |
|
bool | isSoundBlockPlaying (const RandomSoundBlock &block) const |
| |
|
void | readExitHotspot (Common::SeekableReadStream &stream) |
| |
|
bool | isExitHotspotHovered (const NancyInput &input) const |
| |
|
void | setExitCursor () const |
| |
|
bool | hoverExitHotspot (const NancyInput &input) const |
| |
|
bool | hasSolveSound () const |
| |
|
void | playSolveSound () |
| |
|
bool | isSolveSoundPlaying () const |
| |
|
void | finishExecution () |
| |