X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=host_cmd.c;h=3934de448280002ab5a4ba86f28f85621d6c5689;hb=6f9bbc7b822c9d1553c278e14268c37eb4a3a7d8;hp=cd5b852182641cb56d5179a3ba6281f6686da657;hpb=b91033966317d4d6a2a6bdf2952291fc88e3f7c4;p=xonotic%2Fdarkplaces.git diff --git a/host_cmd.c b/host_cmd.c index cd5b8521..3934de44 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -78,7 +78,7 @@ void Host_Status_f (void) print = SV_ClientPrintf; print ("host: %s\n", Cvar_VariableString ("hostname")); - print ("version: %s build %i\n", gamename, buildnumber); + print ("version: %s build %s\n", gamename, buildstring); if (tcpipAvailable) print ("tcp/ip: %s\n", my_tcpip_address); if (ipxAvailable) @@ -266,7 +266,7 @@ void Host_Map_f (void) cls.demonum = -1; // stop demo loop in case this fails -// SCR_BeginLoadingPlaque (); + SCR_BeginLoadingPlaque (); CL_Disconnect (); Host_ShutdownServer(false); @@ -358,7 +358,7 @@ This is sent just before a server changes levels */ void Host_Reconnect_f (void) { -// SCR_BeginLoadingPlaque (); + SCR_BeginLoadingPlaque (); cls.signon = 0; // need new connection messages } @@ -396,7 +396,7 @@ LOAD / SAVE GAME =============== Host_SavegameComment -Writes a SAVEGAME_COMMENT_LENGTH character comment describing the current +Writes a SAVEGAME_COMMENT_LENGTH character comment describing the current =============== */ void Host_SavegameComment (char *text) @@ -461,7 +461,7 @@ void Host_Savegame_f (void) Con_Printf ("Relative pathnames are not allowed.\n"); return; } - + for (i=0 ; iv.health <= 0) ) @@ -473,7 +473,7 @@ void Host_Savegame_f (void) sprintf (name, "%s/%s", com_gamedir, Cmd_Argv(1)); COM_DefaultExtension (name, ".sav"); - + Con_Printf ("Saving game to %s...\n", name); f = Qopen (name, "w"); if (!f) @@ -481,7 +481,7 @@ void Host_Savegame_f (void) Con_Printf ("ERROR: couldn't open.\n"); return; } - + Qprintf (f, "%i\n", SAVEGAME_VERSION); Host_SavegameComment (comment); Qprintf (f, "%s\n", comment); @@ -564,6 +564,9 @@ void Host_Loadgame_f (void) Con_Printf ("Savegame is version %i, not %i\n", version, SAVEGAME_VERSION); return; } + + SCR_BeginLoadingPlaque (); + str = Qgetline (f); for (i=0 ; i