]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.h
host: Add two hooks for disconnecting and toggling the menu
[xonotic/darkplaces.git] / host.h
diff --git a/host.h b/host.h
index 5b6f51d24950617164e963f5fd6609630513d709..d4beddfd7db806cb35783519730b787e0fa63ac5 100644 (file)
--- a/host.h
+++ b/host.h
@@ -29,6 +29,8 @@ typedef struct host_s
        struct
        {
                void (*ConnectLocal)(void);
+               void (*Disconnect)(void);
+               void (*ToggleMenu)(void);
                qbool (*CL_Intermission)(void); // Quake compatibility
                qbool (*SV_CanSave)(void); // Quake compatibility
        } hook;