ScummVM API documentation
Fool::FoolGame Class Reference

Public Member Functions

 FoolGame (FoolVersion version, const Common::String &saveFileName)
 
void run ()
 
void foolRun ()
 
void copyScreen (int16 put, BitMap &bmp)
 
void openSaveFileDialog (const Common::U32String &title, const Common::U32String &filename)
 
void sub_128_1e4 (const Common::String &osType)
 
void getGridFromMouse (int16 &gridX, int16 &gridY)
 
void sub_128_342 (int16 unk2, int16 unk1)
 
void delay (int16 numTicks)
 
void delayFromMarker (int16 numTicks)
 
int16 puzzlesReadByte ()
 
int16 puzzlesReadShort ()
 
int32 puzzlesReadLong ()
 
Common::String puzzlesReadString ()
 
void toggleMouseCursor (bool visible)
 
void playTone (int16 freq, int16 duration, bool wait)
 
void drawPuzzleButton (const Common::U32String &symbol)
 
int16 getVolRefNum ()
 
OSErr setVolRefNum (int16 volRefNum)
 
void fillRect (int16 patternID, PatternMode mode, int16 top, int16 left, int16 bottom, int16 right)
 
void drawTarotCard (int16 rectID, int16 deckPos, int16 type)
 
void fillRect (int16 top, int16 left, int16 bottom, int16 right, int16 patternID)
 
void drawTextCenter (const Common::U32String &str, int16 yPos)
 
void zoomRect (int16 startTop, int16 startLeft, int16 startBottom, int16 startRight, int16 endTop, int16 endLeft, int16 endBottom, int16 endRight, int16 patternID, PatternMode mode, int16 steps)
 
void screenZap (int16 unk6, int16 unk5, int16 unk4, int16 unk3, int16 unk2, int16 unk1)
 
void getNextEvent (int32 mask)
 
void flashRect (int16 top, int16 left, int16 bottom, int16 right, int16 millis)
 
void showChoiceModal (uint16 font, int16 lineCount, int16 buttonCount, bool beep, bool dark)
 
void showBehold (int16 unk2, int16 unk1, const Common::U32String &message)
 
void setStateBits (uint16 bits)
 
void clearStateBits (uint16 bits)
 
void sub_128_1ef8 ()
 
void sub_128_1f1e ()
 
void sub_128_1f44 ()
 
void sub_128_1f76 ()
 
void sub_128_2078 ()
 
void sub_128_20d0 ()
 
void menuChapterSelect ()
 
void sub_128_21c8 ()
 
void storyRenderPage ()
 
void menuClickMessage ()
 
void sub_128_26f6 ()
 
void fetchPuzzleData ()
 
void menuNewGame ()
 
void writeSaveFile ()
 
void menuOpenGame ()
 
void menuSaveGame ()
 
void saveGameAs ()
 
void menuSaveGameAs ()
 
void menuQuit ()
 
void menuPrintStory ()
 
void printStory ()
 
void newGame ()
 
void openGame ()
 
void menuSetup ()
 
void menuToggleSound ()
 
void savePrompt ()
 
void autoSaveGame ()
 
void saveGame ()
 
void sub_128_3744 ()
 
void cursorWatch ()
 
void cursorExplodingWatch ()
 
void cursorExplodingWatchShort ()
 
void sub_128_388a ()
 
void puzzleRun ()
 
void storyUnlockChapter ()
 
void puzzleSetupMenu ()
 
void puzzleLoadContext ()
 
void puzzleSaveContext ()
 
void sub_128_41d8 ()
 
void storyDrawZoom ()
 
void menuAbout ()
 
void menuPrologue ()
 
void menuFinale ()
 
void shipsRun ()
 
void sub_128_55ac ()
 
void sub_128_57a2 ()
 
void sub_128_5a6c ()
 
void onClickMenu ()
 
void onMenuKey ()
 
void onMenuSelect ()
 
void thothHidePlayfield ()
 
void thothShowPlayfield ()
 
void sub_128_5f9e ()
 
void onUpdateEvent ()
 
void sub_128_5fea ()
 
void onDiskEvent ()
 
void waitForMouseUp ()
 
void waitForClick ()
 
void sub_128_61ec ()
 
void sub_128_6244 ()
 
void sub_129_004 ()
 
void sub_129_068 ()
 
void menuLoadingMessage (int16 percent)
 
void menuDemoAbout ()
 
void menuDemoInstructions ()
 
void demoPuzzleComplete ()
 
void jumbleRun ()
 
void jumbleSave ()
 
void jumbleStoreState ()
 
void jumbleRunRearrange ()
 
void jumbleRunSubstitution ()
 
void sub_130_1004 ()
 
void jumbleRunWordSquare ()
 
void jumbleRunHiddenMessage ()
 
void sub_130_1426 ()
 
void jumbleOnClick ()
 
void jumbleOnKey ()
 
void sub_130_172c ()
 
void sub_130_19ac ()
 
void jumbleClickFixedSquare ()
 
void sub_130_1a16 ()
 
void sub_130_1c1a ()
 
void jumbleSelectSquare ()
 
void sub_130_1c6c ()
 
void jumbleDrawLetter ()
 
void sub_130_1e5c ()
 
void sub_130_1e76 ()
 
void sub_130_201a ()
 
void jumbleNextPosition ()
 
void jumblePreviousPosition ()
 
void sub_130_20aa ()
 
void sub_130_20d2 ()
 
Common::Point jumbleGetGridPos ()
 
void sub_130_2178 ()
 
void jumbleDrawHint ()
 
void jumbleDrawHintBoat ()
 
void jumbleDrawHintBlacksmith ()
 
void jumbleDrawHintSentry ()
 
void jumbleDrawHintMetapuzzle ()
 
void sub_130_25d8 ()
 
void sub_130_2790 ()
 
void wordSearchRun ()
 
void wordSearchOnClick ()
 
void wordSearchBadSelect ()
 
void wordSearchDrawFooter ()
 
void wordSearchStoreState ()
 
void wordSearchSuccess ()
 
void jigsawRun ()
 
void jigsawOnClick ()
 
void jigsawDragSelect ()
 
void jigsawMoveSelected ()
 
void jigsawCancelSelect ()
 
void jigsawDropSelected ()
 
void jigsawStoreState ()
 
void jigsawCheckIfSolved ()
 
void jigsawSuccess ()
 
void polyominoRun ()
 
void polyominoOnClick ()
 
void polyominoCancelMove ()
 
void polyominoMove (int16 x, int16 y)
 
void polyominoOnClickFixed ()
 
void polyominoReset ()
 
void polyominoDrawFrame ()
 
void polyominoCheckIfSolved ()
 
void polyominoSuccess ()
 
void polyominoStoreState ()
 
void revealRun ()
 
void revealOnClick ()
 
void revealSelectButton ()
 
void revealReset ()
 
void revealSuccess ()
 
void sentenceRun ()
 
void sentenceOnClick ()
 
void sentenceAddLeft (int16 index)
 
void sentenceAddRight (int16 index)
 
void sentenceAddLeftRight (int16 index)
 
void sentenceReplace (int16 index)
 
void sentenceReverse ()
 
void sentenceUndo ()
 
void sentenceDrawButton (int16 gridIndex)
 
void sentenceDrawBuffer ()
 
void sentenceStoreState ()
 
void sentenceSuccess ()
 
void mazeRun ()
 
void mazeOnClick ()
 
void mazeFlashWall ()
 
void mazeMovePlayer ()
 
void sub_136_ade ()
 
void mazeHotspot ()
 
void mazePrintMessage ()
 
void mazePickUpItem ()
 
void mazeUseItem ()
 
void mazeWanderingWinds ()
 
void mazeDrawLetter ()
 
void sub_136_137c ()
 
void sub_136_163c ()
 
void sub_136_1650 ()
 
void mazeHiddenDoorOpen ()
 
void mazeHiddenDoorShut ()
 
void sub_136_1806 (const Common::String &unk1)
 
void mazeSetTrigger ()
 
void mazeClearTrigger ()
 
void mazePickUpTone ()
 
void mazeFireDemon ()
 
void sub_136_19d2 ()
 
void mazeNoisySprite ()
 
void mazeDelay ()
 
void mazeYeetObject ()
 
void mazeThornsGetScroll ()
 
void mazeWaitForMouseUp ()
 
void mazeClearText ()
 
void mazeMovementTrail ()
 
void mazeLoadTone (int16 offset)
 
void mazePlayTone ()
 
void sub_136_2582 (const Common::String &unk1)
 
void mazeDrawPlayer ()
 
void mazeSetupMenu ()
 
void mazeAddWallLeft ()
 
void mazeAddWallTop ()
 
void mazeAddWallRight ()
 
void mazeAddWallBottom ()
 
void mazeDrawWallLeft ()
 
void mazeDrawWallTop ()
 
void mazeDrawWallRight ()
 
void mazeDrawWallBottom ()
 
void mazeStoreState ()
 
void sub_136_3408 ()
 
void sub_136_342a ()
 
void mazeLoadState ()
 
void sub_136_3a30 ()
 
void sub_136_3a70 ()
 
void sunMapRun ()
 
void sunMapOnClick ()
 
void sunMapDragSelect ()
 
void sunMapMoveSelected ()
 
void sunMapUndoMove ()
 
void sunMapDropSelected ()
 
void sunMapCheckIfSolved ()
 
void sunMapRevealPiece ()
 
void metapuzzleRun ()
 
void metapuzzleOnClick ()
 
void sub_138_21e ()
 
void metapuzzleSetupMenu ()
 
void metapuzzleWheel ()
 
void metapuzzleSecretCode ()
 
void metapuzzleSecretCodeDrawText ()
 
void sub_138_9c4 ()
 
void sub_138_a06 ()
 
void metapuzzleSecretCodeReset ()
 
void sub_138_a90 ()
 
void metapuzzleOnOption ()
 
void metapuzzleOnShift ()
 
void cardsRun ()
 
void cardsReset ()
 
void sub_139_50e ()
 
void cardsShuffleDeck ()
 
void cardsDrawTable ()
 
void cardsOnClick ()
 
void sub_139_a22 ()
 
void cardsOpponentYields ()
 
void cardsRevealHands ()
 
void sub_139_17fc ()
 
void sub_139_191c ()
 
void sub_139_19da ()
 
void cardsDrawScores ()
 
void cardsStoreState ()
 
void sub_139_1d3e ()
 
void highPriestessRun ()
 
void thoth99Enchantments ()
 
void thothMoveEnchantment ()
 
void thothDrawEnchantment ()
 
void sub_140_c4c ()
 
void thothScrambleScreen ()
 
void sub_140_e3c ()
 
void sub_140_f84 ()
 
void thothKey1st ()
 
void sub_140_15fc ()
 
void thothKey2nd ()
 
void thothKey3rd ()
 
void thothKey3rdOnClick ()
 
void sub_140_1f68 ()
 
void sub_140_205e ()
 
void thothKeyLast ()
 
void thothKeyLastOnClick ()
 
void thothBadSelect ()
 
void hermitNextStage ()
 
void hermitScreenFlash ()
 
void hermitScreenZoom ()
 
void hermitScreenBehold ()
 
void sub_140_2968 ()
 
void sub_140_2978 ()
 
void thothKeyLastSetup ()
 
void thothSetupMenu ()
 
Common::Rect thothRandomSquare ()
 
Common::Rect thothRandomHRect ()
 
Common::Rect thothRandomVRect ()
 
void sub_140_3296 ()
 
void sub_140_32ac ()
 
void thothAdjustPuzzleData ()
 
void sub_140_3412 ()
 
void deathRun ()
 
void deathMoveBlackEye ()
 
void deathDrawWhiteEye ()
 
void deathCaught ()
 
void deathDrawZoom ()
 
void humbugRun ()
 
void humbugPlayTrail ()
 
void humbugMoveMouse ()
 
void humbugSuccess ()
 
void humbugShowThoth ()
 
void justiceRun ()
 
void justiceSetup ()
 
void justiceOnClick ()
 
void justiceZoom ()
 
void justiceDrawBlock (int16 gridIndex)
 
void justiceRemoveBlock (int16 gridIndex)
 
void justiceStoreState ()
 
void justiceResetGrid ()
 
void hermitRun ()
 
void straightPathRun ()
 
void straightPathOnClick ()
 
void straightPathReset ()
 
void straightPathDrawText ()
 
void straightPathClearText ()
 
void straightPathSuccess ()
 
void metapuzzleComplete ()
 

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