mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-23 07:45:53 +02:00
Changelogs. The launcher's main screen has a CHANGELOGS tile in the bottom-left corner. It opens a panel with the newest GitHub release: its tag, title, date and notes. The notes are the release's description, read as markdown and drawn like a mod's README (headings, bullets, code, rules). A release published without a description shows what its GitHub page shows, the tagged commit's message, taken from the releases feed. Fetched once, the first time the panel opens; "Open on GitHub" goes to the releases page. Download total. On GET MODS, the bar for ticked mods now gives the size of what installing them downloads: "3 mods selected / 1.27 GB to download". It is the sum of each mod's newest version as Thunderstore lists it. Discord joins. The command the game registers for Discord to start ReSkate now passes --no-gui, so pressing Join with the game closed goes straight into the game instead of stopping at the launcher window. --no-gui with no other launch flags now starts the game with the launcher's saved settings (window size, menu and console keys, loose files, GPU diagnostics, Discord status, offline, log level, extra launch options), as pressing PLAY does. With flags of its own it behaves as before. Mod Options. The pause menu's "Custom Stuff" page is renamed "Mod Options", in the menu, the READMEs and the comments. Not tested in game: the Discord join with the game closed, and the renamed page. The changelog panel has only been seen with the earlier API-only fetch.
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "launch.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace dingosdk::launcher_gui {
|
|
|
|
// Runs the launcher until it is closed. The saved setting can retain it hidden
|
|
// while Skate runs and show it again after the game exits.
|
|
// `arguments` are the launcher's own command-line arguments, kept for a
|
|
// restart after a self-update.
|
|
int run(const launcher_app::Session& session, const std::vector<std::wstring>& arguments);
|
|
|
|
// The Settings page's "Install ReSkate updates" choice; scripted (--no-gui) launches honour it too.
|
|
bool updates_enabled(const launcher_app::Session& session);
|
|
|
|
// What pressing Play would start the game with: the Settings page's saved choices. A scripted
|
|
// launch that names none of its own (a bare --no-gui, as Discord runs for a join) uses these.
|
|
launcher::LaunchOptions saved_launch_options(const launcher_app::Session& session);
|
|
|
|
// The Settings page's "Send crash reports" choice, for this launcher and the game it starts.
|
|
// Call before open_session, which starts crash reporting with the log.
|
|
void apply_crash_report_setting() noexcept;
|
|
|
|
} // namespace dingosdk::launcher_gui
|