mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Update MSLegacy.h Network.cpp GameAgent.cpp
This commit is contained in:
parent
0d8f7da318
commit
c5f5d72e3f
|
@ -734,6 +734,7 @@ copy Release\$(TargetName).lib $(SolutionDir)..\Bin\ >nul</Command>
|
||||||
<ClInclude Include="Base\Updateable.h" />
|
<ClInclude Include="Base\Updateable.h" />
|
||||||
<ClInclude Include="Base\UpdateableRT.h" />
|
<ClInclude Include="Base\UpdateableRT.h" />
|
||||||
<ClInclude Include="GameAgent\GameAgent.h" />
|
<ClInclude Include="GameAgent\GameAgent.h" />
|
||||||
|
<ClInclude Include="GameAgent\MSLegacy.h" />
|
||||||
<ClInclude Include="Math\AABBox.h" />
|
<ClInclude Include="Math\AABBox.h" />
|
||||||
<ClInclude Include="Math\FixInt.h" />
|
<ClInclude Include="Math\FixInt.h" />
|
||||||
<ClInclude Include="Math\Float.h" />
|
<ClInclude Include="Math\Float.h" />
|
||||||
|
|
|
@ -1365,6 +1365,9 @@
|
||||||
<ClInclude Include="GameAgent\GameAgent.h">
|
<ClInclude Include="GameAgent\GameAgent.h">
|
||||||
<Filter>Header Files\GameAgent Headers</Filter>
|
<Filter>Header Files\GameAgent Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="GameAgent\MSLegacy.h">
|
||||||
|
<Filter>Header Files\GameAgent Headers</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CustomBuild Include="Base\CTString.inl">
|
<CustomBuild Include="Base\CTString.inl">
|
||||||
|
|
|
@ -128,11 +128,11 @@ TIME _tmLastHeartbeat = 0;
|
||||||
CDynamicStackArray<CServerRequest> ga_asrRequests;
|
CDynamicStackArray<CServerRequest> ga_asrRequests;
|
||||||
|
|
||||||
//extern CTString ga_strServer = "master1.croteam.org";
|
//extern CTString ga_strServer = "master1.croteam.org";
|
||||||
CTString ga_strServer = "master1.42amsterdam.net";
|
extern CTString ga_strServer = "master1.42amsterdam.net";
|
||||||
//extern CTString ga_strMSLegacy = "master1.croteam.org";
|
//extern CTString ga_strMSLegacy = "master1.croteam.org";
|
||||||
CTString ga_strMSLegacy = "42amsterdam.net";
|
extern CTString ga_strMSLegacy = "42amsterdam.net";
|
||||||
|
|
||||||
BOOL ga_bMSLegacy = TRUE;
|
extern BOOL ga_bMSLegacy = TRUE;
|
||||||
//BOOL ga_bMSLegacy = FALSE;
|
//BOOL ga_bMSLegacy = FALSE;
|
||||||
|
|
||||||
void _uninitWinsock();
|
void _uninitWinsock();
|
||||||
|
|
|
@ -73,7 +73,8 @@ LICENSE
|
||||||
|
|
||||||
http://www.gnu.org/licenses/gpl.txt
|
http://www.gnu.org/licenses/gpl.txt
|
||||||
*/
|
*/
|
||||||
|
#ifndef SE_INCL_MSLEGACY_H
|
||||||
|
#define SE_INCL_MSLEGACY_H
|
||||||
#ifdef PRAGMA_ONCE
|
#ifdef PRAGMA_ONCE
|
||||||
#pragma once
|
#pragma once
|
||||||
#endif
|
#endif
|
||||||
|
@ -182,4 +183,4 @@ u_int resolv(char *host) {
|
||||||
|
|
||||||
/* end functions */
|
/* end functions */
|
||||||
|
|
||||||
|
#endif // include once check
|
||||||
|
|
|
@ -886,9 +886,9 @@ void CNetworkLibrary::Init(const CTString &strGameID)
|
||||||
|
|
||||||
_pShell->DeclareSymbol("persistent user INDEX wed_bUseGenericTextureReplacement;", &wed_bUseGenericTextureReplacement);
|
_pShell->DeclareSymbol("persistent user INDEX wed_bUseGenericTextureReplacement;", &wed_bUseGenericTextureReplacement);
|
||||||
|
|
||||||
_pShell->DeclareSymbol("user CTString ga_strServer;", &ga_strServer);
|
_pShell->DeclareSymbol("persistent user CTString ga_strServer;", &ga_strServer);
|
||||||
_pShell->DeclareSymbol("user CTString ga_strMSLegacy;", &ga_strMSLegacy);
|
_pShell->DeclareSymbol("persistent user CTString ga_strMSLegacy;", &ga_strMSLegacy);
|
||||||
_pShell->DeclareSymbol("user INDEX ga_bMSLegacy;", &ga_bMSLegacy);
|
_pShell->DeclareSymbol("persistent user INDEX ga_bMSLegacy;", &ga_bMSLegacy);
|
||||||
|
|
||||||
_pShell->DeclareSymbol("INDEX pwoCurrentWorld;", &_pwoCurrentWorld);
|
_pShell->DeclareSymbol("INDEX pwoCurrentWorld;", &_pwoCurrentWorld);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user