// What the menu's Co-op tab reads of a room and asks of it (coop_game.c), in a header of its own without host.h so that // the menu's C++ can include it. Every call may be made from any thread and never waits for the sync engine: what is // read is a copy the coop thread publishes at each of its steps, and what is asked is carried out by the coop thread at // its next step (a few ms in a room), which logs the outcome. #pragma once #include "coop_proto.h" #include "coop_state.h" // What joining the room means, for the player to accept: the engine's offer (coop_state.h: CoopOffer), with the // relay's names for members not identified yet. Nothing from a room is applied to the game before the player accepted // its offer and a copy of the save was made (/coop-backup/