ScummVM API documentation
Hollywood::DialogueMenu Class Reference

#include <dialogue_menu.h>

Public Types

enum  { kCancelledChoice = 0xff }
 

Public Member Functions

 DialogueMenu (HollywoodEngine *vm, DialogueMenuDelegate *delegate)
 
byte choose (byte stageId, const Common::Array< DialogueChoiceRecord > &records, byte depthIndex, byte nodeIndex)
 

Detailed Description

Resolves a dialogue choice, entering a blocking UI loop only when needed.

While waiting, the menu owns input and cursor state and calls its delegate on every tick so the underlying scene does not freeze.


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