Beispiel #1
0
void	CGameSpy_Available::LoadGameSpy(HMODULE hGameSpyDLL)
{
	GAMESPY_LOAD_FN(xrGS_GSIStartAvailableCheck);
	GAMESPY_LOAD_FN(xrGS_GSIAvailableCheckThink);
	GAMESPY_LOAD_FN(xrGS_msleep);
	GAMESPY_LOAD_FN(xrGS_GetQueryVersion);
}
Beispiel #2
0
void	CGameSpy_Full::LoadGameSpy()
{
	LPCSTR			g_name	= "xrGameSpy.dll";
	Log				("Loading DLL:",g_name);
	m_hGameSpyDLL			= LoadLibrary	(g_name);
	if (0==m_hGameSpyDLL)	R_CHK			(GetLastError());
	R_ASSERT2		(m_hGameSpyDLL,"GameSpy DLL raised exception during loading or there is no game DLL at all");

	HMODULE	hGameSpyDLL = m_hGameSpyDLL;
	GAMESPY_LOAD_FN(xrGS_GetGameVersion);
}
Beispiel #3
0
void CGameSpy_SAKE::LoadGameSpySAKE(HMODULE hGameSpyDLL)
{
	GAMESPY_LOAD_FN(xrGS_sakeStartup);
	GAMESPY_LOAD_FN(xrGS_sakeShutdown);
	GAMESPY_LOAD_FN(xrGS_sakeSetProfile);
	GAMESPY_LOAD_FN(xrGS_sakeGetStartRequestResult);
	GAMESPY_LOAD_FN(xrGS_sakeGetMyRecords);
	GAMESPY_LOAD_FN(xrGS_sakeCreateRecord);
	GAMESPY_LOAD_FN(xrGS_sakeUpdateRecord);
}
void	CGameSpy_GCD_Server::LoadGameSpy(HMODULE hGameSpyDLL)
{

	GAMESPY_LOAD_FN(xrGS_gcd_init_qr2);
	GAMESPY_LOAD_FN(xrGS_gcd_shutdown);
	GAMESPY_LOAD_FN(xrGS_gcd_authenticate_user);
	GAMESPY_LOAD_FN(xrGS_gcd_reauthenticate_user);
	GAMESPY_LOAD_FN(xrGS_gcd_disconnect_user);
	GAMESPY_LOAD_FN(xrGS_gcd_think);
	GAMESPY_LOAD_FN(xrGS_gcd_getkeyhash);
}
Beispiel #5
0
void	CGameSpy_HTTP::LoadGameSpy(HMODULE hGameSpyDLL)
{
	//-----------------------------------------------------
	GAMESPY_LOAD_FN(xrGS_ghttpStartup);
	GAMESPY_LOAD_FN(xrGS_ghttpCleanup);
	GAMESPY_LOAD_FN(xrGS_ghttpThink);

	GAMESPY_LOAD_FN(xrGS_ghttpSaveA);
	GAMESPY_LOAD_FN(xrGS_ghttpSaveExA);
	GAMESPY_LOAD_FN(xrGS_ghttpCancelRequest);

	GAMESPY_LOAD_FN(xrGS_GetGameID);

}
Beispiel #6
0
void	CGameSpy_Browser::LoadGameSpy(HMODULE hGameSpyDLL)
{	
	GAMESPY_LOAD_FN(xrGS_ServerBrowserNew);	
	GAMESPY_LOAD_FN(xrGS_ServerBrowserFree);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserClear);
	
	GAMESPY_LOAD_FN(xrGS_ServerBrowserThink);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserState);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserHalt);	
	GAMESPY_LOAD_FN(xrGS_ServerBrowserUpdate);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserLANUpdate);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserCount);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserGetServer);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserGetServerByIP);

	GAMESPY_LOAD_FN(xrGS_SBServerGetPublicAddress);
	GAMESPY_LOAD_FN(xrGS_SBServerGetPublicQueryPort);
	GAMESPY_LOAD_FN(xrGS_SBServerGetStringValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetIntValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetFloatValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetBoolValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetPing);

	GAMESPY_LOAD_FN(xrGS_ServerBrowserAuxUpdateServer);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserAuxUpdateIP);
	
	GAMESPY_LOAD_FN(xrGS_SBServerGetPlayerStringValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetPlayerIntValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetPlayerFloatValue);

	GAMESPY_LOAD_FN(xrGS_SBServerGetTeamStringValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetTeamIntValue);
	GAMESPY_LOAD_FN(xrGS_SBServerGetTeamFloatValue);

	GAMESPY_LOAD_FN(xrGS_ServerBrowserRemoveIP);
	GAMESPY_LOAD_FN(xrGS_ServerBrowserRemoveServer);

	GAMESPY_LOAD_FN(xrGS_SBServerGetConnectionInfo);
	GAMESPY_LOAD_FN(xrGS_SBServerDirectConnect);

	GAMESPY_LOAD_FN(xrGS_ServerBrowserSort);

	GAMESPY_LOAD_FN(xrGS_SBServerHasFullKeys);

	GAMESPY_LOAD_FN(xrGS_GetGameID);

	GAMESPY_LOAD_FN(xrGS_ServerBrowserErrorDesc);
}
Beispiel #7
0
void	CGameSpy_QR2::LoadGameSpy(HMODULE hGameSpyDLL)
{

	GAMESPY_LOAD_FN(xrGS_RegisteredKey);
	GAMESPY_LOAD_FN(xrGS_qr2_register_key);
	GAMESPY_LOAD_FN(xrGS_qr2_think);
	GAMESPY_LOAD_FN(xrGS_qr2_shutdown);
	GAMESPY_LOAD_FN(xrGS_qr2_buffer_add);
	GAMESPY_LOAD_FN(xrGS_qr2_buffer_add_int);
	GAMESPY_LOAD_FN(xrGS_qr2_keybuffer_add);

	GAMESPY_LOAD_FN(xrGS_qr2_register_natneg_callback);
	GAMESPY_LOAD_FN(xrGS_qr2_register_clientmessage_callback);
	GAMESPY_LOAD_FN(xrGS_qr2_register_publicaddress_callback);

	GAMESPY_LOAD_FN(xrGS_qr2_init);

	GAMESPY_LOAD_FN(xrGS_GetGameVersion);
}