spicetools/games/pcm/io.cpp

23 lines
595 B
C++
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#include "io.h"
namespace games::pcm {
std::vector <Button> &get_buttons() {
static std::vector <Button> buttons;
if (buttons.empty()) {
buttons = GameAPI::Buttons::getButtons("Charge Machine");
GameAPI::Buttons::sortButtons(
&buttons,
"Service",
"Test",
"Insert 1000 Yen Bill",
"Insert 2000 Yen Bill",
"Insert 5000 Yen Bill",
"Insert 10000 Yen Bill"
);
}
return buttons;
}
}