misc/xfire/xfiregameclient.h
author smxx
Tue, 30 Mar 2010 13:20:04 +0000
changeset 3172 ae5c7f97df44
parent 2920 5cf48744a700
permissions -rw-r--r--
Engine: * Lowered the number of feathers spawned by Birdy * Made hogs caugh/moan once they lose health due to poison - no longer random Frontend: * Modified game scheme editor to lookup the number of default ammoschemes (no longer hardcoded) * Added new default game schemes: Barrel Mayhem, Tunnel Hogs * Added new default weapon scheme: Tunnel Hogs

/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK. */

#ifndef __XFIREGAMECLIENT_H__
#define __XFIREGAMECLIENT_H__

#ifdef __cplusplus
extern "C" {
#endif

/*
**  XfireIsLoaded()
**
**  returns 1 if application can talk to Xfire, 0 otherwise
*/
int XfireIsLoaded();

/*
**  XfireSetCustomGameDataA()
**
**  ANSI version to tell xfire of custom game data
*/
int XfireSetCustomGameDataA(int num_keys, const char **keys, const char **values);

/*
**  XfireSetCustomGameDataA()
**
**  UNICODE version to tell xfire of custom game data
*/
int XfireSetCustomGameDataW(int num_keys, const wchar_t **keys, const wchar_t **values);

/*
**  XfireSetCustomGameDataUTF8()
**
**  UTF8 version to tell xfire of custom game data
*/
int XfireSetCustomGameDataUTF8(int num_keys, const char **keys, const char **values);

#ifdef UNICODE
#define XfireSetCustomGameData XfireSetCustomGameDataW
#else
#define XfireSetCustomGameData XfireSetCustomGameDataA
#endif


#ifdef __cplusplus
}
#endif

#endif /* __XFIREGAMECLIENT_H__ */