|
coastline 0.0.4
|
#include <cstddef>#include <cstdint>#include <expected>#include <optional>#include <string>#include <string_view>#include <vector>

Go to the source code of this file.
Classes | |
| struct | coastline::ScriptPress |
| A press of the buttons of a controller from a frame for a number of frames. More... | |
| struct | coastline::ScriptMouse |
| The mouse at a place of the 320 by 240 screen from a frame for a number of frames. More... | |
| struct | coastline::ScriptKey |
| A key of the keyboard down from a frame for a number of frames. More... | |
| struct | coastline::ScriptTyping |
| A text typed at a frame, or a key of <backspace> or <enter>. More... | |
| struct | coastline::Script |
| The input and the captures of a script of run-script. More... | |
| struct | coastline::ScriptError |
| A line of a script that cannot be read. More... | |
Namespaces | |
| namespace | coastline |
Enumerations | |
| enum class | coastline::ScriptMouseButton { coastline::None , coastline::Left , coastline::Right } |
| The button of the mouse a move holds down. More... | |
Functions | |
| std::expected< Script, ScriptError > | coastline::ParseScript (std::string_view text) |
| Read a script of run-script: one command a line, with # starting a comment and blank lines ignored. | |
Variables | |
| constexpr int | coastline::SCRIPT_PRESS_FRAMES = 6 |
| The frames a press of a button or a key lasts when its line gives no number. | |