// SPDX-License-Identifier: GPL-3.0-only bool engine_mode_ = false, engine_busy_ = false, engine_dirty_ = false, engine_fresh_ = false, engine_base_dirty_ = false; std::shared_ptr engine_link_; std::future engine_job_; Json engine_data_, engine_response_, engine_focus_, engine_training_draft_, engine_tactics_draft_; std::string engine_camp_, engine_operation_, engine_notice_, engine_player_; Json engine_credit_, engine_credit_edits_ = Json::array(); bool engine_bank_action(const std::string &, Rml::Element *); std::string engine_credit_view(); void engine_finance_submit(const Json &); void engine_ticket_bind(); void engine_start(std::string, std::function, bool mutating = false); void engine_poll(); void engine_render(); void engine_frame(); void engine_event(Rml::Event &); void engine_save(); void engine_quit(); Json engine_camp_view() const; std::string engine_lineup_controls(); std::string engine_player_profile(const Json &); bool engine_lineup_action(const std::string &, const std::string &, Rml::Element *); void engine_sports_reset(); bool engine_sports_dirty() const; void engine_sports_update(); std::string engine_sports_footer(); bool engine_sports_action(const std::string &, const std::string &, Rml::Element *); bool engine_sports_event(Rml::Event &); Json engine_snapshot() const;