Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Each needs its own arcade ROM set, one version of it: the launcher's page for th
| Training mode | Fast forward | Hold to run several times as fast, without sound |
| Training mode | Input display | The stick and buttons as the game reads them |
| Training mode | Speed readout | How fast the game is going: under 100% where it slows down. On, with the host's time: beside it, this machine's own time a frame (the last second's mean), so a slow machine is told from the board's slowdown; logs/game.log has it a minute at a time |
| Training mode | Gadgets | Panels in the space beside the picture in a wide window: the game's hidden counters read from its memory (a rank graph over the last half minute, gauges as meters, the second loop's terms), the score each stage made, the game's speed as a graph, the controls held. Only read, never written; none when the picture fills the window's width, and given way to the touch controls while they show (port/gadgets.h, docs/TRAINING.md#gadgets) |
| Game | Gadgets | Panels in the space beside the picture in a wide window: the game's hidden counters read from its memory (a rank graph over the last half minute, gauges as meters, the second loop's terms), the score each stage made, the game's speed as a graph, the controls held. Only read, never written; none when the picture fills the window's width, and given way to the touch controls while they show (port/gadgets.h, docs/TRAINING.md#gadgets) |
| Training mode | Speed (slow motion) | The Speed row at the page's top (as on the Game page): 3/4 down to 1/8 for study, or faster; the sound slowed with it. The game computes exactly the same frames |
| Training mode | Frame advance | Stops the game with the frame's number shown; then O, Tab or a gamepad's right trigger goes on a frame at a time (held: frame after frame). P or the row again plays on |
| Scene export | Save scene, Record clip, Clip length, Show scenes folder | The picture taken apart, each of the board's layers by itself ([below](#scene-export)): Shift+F12 a frame, Ctrl+F12 a clip of 3, 5 or 10 seconds; Show scenes folder opens where they are saved |
Expand Down
2 changes: 1 addition & 1 deletion docs/TRAINING.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ reads each one's value now ("" hides it).

## Gadgets (runtime/game.h: Game::gadgets; port/gadgets.h)

The feature "Gadgets" (Training mode page, every game): framed panels in the space a stood-up picture leaves
The feature "Gadgets" (the Gadgets page under Game, every game: for any play, not only training): framed panels in the space a stood-up picture leaves
at its sides in a wide window.
Drawn on a picture of their own a whole fraction of the window's size (about 360 lines, so each of its dots is a few
of the window's pixels, sharp), laid over the window as the touch controls' layer is (those, while they show, come
Expand Down
4 changes: 4 additions & 0 deletions port/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,10 @@ int main(int argc, char **argv) {
"battery RAM): each as the board is set unless chosen here. Put in as the board starts: Reset game to "
"play with a change."});
}
// (the Gadgets page under Game: the panels beside the picture, port/gadgets.h; for any play, not only training)
mc.pages.push_back({kGadgetsPage, "Game",
"Panels beside the picture, in the space a wide window leaves at its sides: the game's hidden "
"counters, the score each stage made, the controls held."});
// (the Scene export page under Game: port/scene.h)
mc.pages.push_back({kScenePage, "Game",
"The picture taken apart: each of the board's layers by itself, as pictures with nothing where a layer "
Expand Down
2 changes: 1 addition & 1 deletion runtime/features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const std::vector<recomp::FeatureInfo> &AllFeatures() {
}
// (every game's: the speed, the controls and, where the game's facts have its score, the score by stage; and the
// game's own, port/gadgets.h)
list.push_back({"gadgets", kTrainingPage, "Gadgets",
list.push_back({"gadgets", kGadgetsPage, "Gadgets",
"Panels in the space beside the picture: what "
"the game keeps and does not show, read from its memory as it plays (its own: " +
std::string(ThisGame().gadgets.empty() ? "none yet" : GadgetTitles()) +
Expand Down
2 changes: 2 additions & 0 deletions runtime/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ struct HitBox {
// The menu's page of modes (every game's: the training tools' page is under it, and a game's other modes' pages), and
// the training tools' page (the features' category)
constexpr const char *kModesPage = "Alternative modes", *kTrainingPage = "Training mode";
// The gadgets' page, under the Game page (the feature's category): for play of every kind, not only training
constexpr const char *kGadgetsPage = "Gadgets";

// (Game::unseen's bits besides player 1's controls: player 1's Start and a coin, held that frame)
constexpr int kUnseenStart = 1 << 16, kUnseenCoin = 1 << 17;
Expand Down
Loading