Move away from browser as a main plataform
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
// what the client needs from where it runs: a browser page (browser_platform.ts), or the desktop app's window, where
|
||||
// it runs in deno with no browser (native/). the entry point sets it before anything else runs
|
||||
import type { ServerAddress, Welcome } from "./handshake.ts";
|
||||
import type { GuiScreen } from "./gui/gui_screen.ts";
|
||||
|
||||
export interface Platform {
|
||||
@@ -24,9 +23,6 @@ export interface Platform {
|
||||
confirm_leaving(confirm: boolean): void;
|
||||
// replaces the game with a message, for when it can't go on
|
||||
show_fatal_error(message: string): void;
|
||||
// asks before running the mods of a server that isn't the page's own, see docs/modding/concepts/security.md.
|
||||
// resolves with whether the player wants to join
|
||||
confirm_mods(address: ServerAddress, welcome: Welcome): Promise<boolean>;
|
||||
// who made what: the engine's assets/ASSETS.md, then each loaded mod's credits file
|
||||
credits_screen(on_back: () => void): GuiScreen;
|
||||
read_clipboard(): Promise<string>;
|
||||
|
||||
Reference in New Issue
Block a user