equal
deleted
inserted
replaced
21 #include <stdio.h> |
21 #include <stdio.h> |
22 |
22 |
23 #include "xfire.h" |
23 #include "xfire.h" |
24 #include "../misc/xfire/xfiregameclient.h" |
24 #include "../misc/xfire/xfiregameclient.h" |
25 |
25 |
|
26 #ifdef USE_XFIRE |
26 // use_xfire: stores if xfire is loaded and functions should do something at all |
27 // use_xfire: stores if xfire is loaded and functions should do something at all |
27 bool use_xfire = false; |
28 bool use_xfire = false; |
28 char *keys[XFIRE_KEY_COUNT]; |
29 char *keys[XFIRE_KEY_COUNT]; |
29 char *values[XFIRE_KEY_COUNT]; |
30 char *values[XFIRE_KEY_COUNT]; |
30 |
31 |
79 { |
80 { |
80 if(!use_xfire) |
81 if(!use_xfire) |
81 return; |
82 return; |
82 XfireSetCustomGameDataA(XFIRE_KEY_COUNT, (const char**)keys, (const char**)values); |
83 XfireSetCustomGameDataA(XFIRE_KEY_COUNT, (const char**)keys, (const char**)values); |
83 } |
84 } |
|
85 #endif // USE_XFIRE |