ScummVM API documentation
Hopkins::WBASEEnhancementsAutoplay Class Reference

#include <base_enhancements_autoplay.h>

Public Member Functions

void reset ()
 
bool active () const
 
void clearMenuPointer ()
 
void selectPrevious ()
 
void selectNext ()
 
void updateMenuPointer (int x, int y)
 
bool selectMenuPointer (int x, int y)
 
bool startSelected (const BaseEngine &engine)
 
bool startDestination (const BaseEngine &engine, int destination)
 
void cancel ()
 
int update (const BaseEngine &engine, BaseInputState &input)
 
void renderMenu (const BaseData &data, int returnRoomId, byte *framebuffer, bool forcedMode) const
 
void renderStatus (const BaseData &data, byte *framebuffer, bool forcedMode) const
 

Static Public Member Functions

static int destinationCount ()
 
static int destinationRoomId (int index)
 
static int destinationExitMapPos (int index)
 
static const char * destinationLabel (int index)
 
static const char * destinationMapLabel (int index)
 
static int destinationIndexForExitMapPos (int mapPos)
 

Detailed Description

Drive WBASE by producing ordinary player input from live edge-grid routes.

Member Function Documentation

◆ update()

int Hopkins::WBASEEnhancementsAutoplay::update ( const BaseEngine &  engine,
BaseInputState &  input 
)

Return the forced destination room, or -1, after updating input.


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