22#ifndef ULTIMA3_VIEWS_INTERACTIONS_SHOPS_H
23#define ULTIMA3_VIEWS_INTERACTIONS_SHOPS_H
25#include "ultima/ultima3/views/interactions/log_input.h"
30namespace Interactions {
55 void say(
const char *text,
int sound = 0);
58 Shop(
int payer) : _payer(payer) {}
100 Stage _stage = CHOOSE_SERVICE;
107 bool serve(
int slot);
127 Stage _stage = ASK_LIST;
129 bool _buying =
false;
134 const char *_words[20] = {};
139 bool isBestShop()
const;
144 int itemCount()
const;
168 Stage _stage = CHOOSE_GOODS;
188 bool _asking =
false;
190 void askForOffering();
bool keypress(const KeypressMessage &msg) override
bool keypress(const KeypressMessage &msg) override
bool keypress(const KeypressMessage &msg) override
Definition: interaction.h:40
Definition: log_input.h:110
Definition: log_input.h:65
bool keypress(const KeypressMessage &msg) override
Definition: interaction.h:82
bool canAfford(int gold) const
void say(const char *text, int sound=0)
bool keypress(const KeypressMessage &msg) override
bool keypress(const KeypressMessage &msg) override
bool keypress(const KeypressMessage &msg) override
Definition: messages.h:54