Files
spice2x.github.io/src/spice2x/games/otoca/io.h
T
bicarus be388f7b49 otoca: add cam hook, fix printer rotation (#573)
## Link to GitHub Issue or related Pull Request, if one exists
related to #154 though this PR doesn't fix it

## Description of change

1. Add an option for cam hook so that the game can be launched without
any camera
1. Rotate image printed out by print-to-file so that it's right side up
(portrait orientation)

## Testing
Able to boot the game without any cameras, and tested printing in test
menu.

"Holo" printing remains broken.
2026-03-09 02:54:04 -07:00

36 lines
645 B
C++

#pragma once
#include <vector>
#include "cfg/api.h"
namespace games::otoca {
// all buttons in correct order
namespace Buttons {
enum {
Service,
Test,
CoinMech,
ButtonLeft,
ButtonRight,
LeverUp,
LeverDown,
LeverLeft,
LeverRight,
};
}
// all lights in correct order
namespace Lights {
enum {
LeftButton,
RightButton,
};
}
// getters
std::vector<Button> &get_buttons();
std::string get_buttons_help();
std::vector<Light> &get_lights();
}