MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / net_start_client1

Method net_start_client1

ogsr_engine/xrGame/Level_network_start_client.cpp:16–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14BOOL CLevel::net_Start_client(LPCSTR options) { return FALSE; }
15#include "string_table.h"
16bool CLevel::net_start_client1()
17{
18 pApp->LoadBegin();
19 // name_of_server
20 string64 name_of_server = "";
21 // strcpy_s(name_of_server,*m_caClientOptions);
22 if (strchr(*m_caClientOptions, '/'))
23 strncpy_s(name_of_server, *m_caClientOptions, strchr(*m_caClientOptions, '/') - *m_caClientOptions);
24
25 if (strchr(name_of_server, '/'))
26 *strchr(name_of_server, '/') = 0;
27
28 // Startup client
29 /* string256 temp;
30 sprintf_s (temp,"%s %s",
31 CStringTable().translate("st_client_connecting_to").c_str(), name_of_server);
32
33 g_pGamePersistent->LoadTitle (temp);*/
34 return true;
35}
36
37#include "xrServer.h"
38

Callers

nothing calls this directly

Calls 1

LoadBeginMethod · 0.80

Tested by

no test coverage detected