index 0bc531b481d3d18d9c4bd4a153ada3eac0130b2e..fcb4ad9047279574b9622aa6158f23ed4373e7a1 100644 (file)
implementation
-uses g_language, sfs, utils, wadreader;
+uses g_language, sfs, utils, wadreader, g_game;
const DOWNLOAD_DIR = 'downloads';
SetLength(mapData.ExternalResources, 0);
g_Console_Add(Format(_lc[I_NET_MAP_DL], [FileName]));
e_WriteLog('Downloading map `' + FileName + '` from server', TMsgType.Notify);
+ g_Game_SetLoadingText(FileName + '...', 0, False);
MC_SEND_MapRequest();
msgStream := g_Net_Wait_Event(NET_MSG_MAP_RESPONSE);
[mapData.ExternalResources[i].Name]));
e_WriteLog('Downloading Wad `' + mapData.ExternalResources[i].Name +
'` from server', TMsgType.Notify);
+ g_Game_SetLoadingText(mapData.ExternalResources[i].Name + '...', 0, False);
MC_SEND_ResRequest(mapData.ExternalResources[i].Name);
msgStream := g_Net_Wait_Event(NET_MSG_RES_RESPONSE);