version 1.1 | | version 1.2 |
---|
| | |
/* reconfig.c - ingame reconfig by Victor Rachels */ | | /* reconfig.c - ingame reconfig by Victor Rachels */ |
| | //added 06/09/99 Matt Mueller - fix nonetwork compile |
| | #ifdef NETWORK |
| | //end addition -MM |
| | |
#include "types.h" | | #include "types.h" |
#include "byteswap.h" | | #include "byteswap.h" |
| | |
| | |
void reconfig_send_gameinfo() | | void reconfig_send_gameinfo() |
{ | | { |
| | //added 06/09/99 Matt Mueller - "fix" shareware compile |
| | #ifndef SHAREWARE |
| | //end addition -MM |
int i=0; | | int i=0; |
int tmpi=0; | | int tmpi=0; |
ubyte r_packet[30]; | | ubyte r_packet[30]; |
| | |
memcpy(&(r_packet[i]),&tmpi,4); i+=4; | | memcpy(&(r_packet[i]),&tmpi,4); i+=4; |
| | |
mekh_send_direct_broadcast(r_packet,i); | | mekh_send_direct_broadcast(r_packet,i); |
| | //added 06/09/99 Matt Mueller - "fix" shareware compile |
| | #endif |
| | //end addition -MM |
} | | } |
| | |
void reconfig_receive(ubyte *values,int len) | | void reconfig_receive(ubyte *values,int len) |
{ | | { |
| | //added 06/09/99 Matt Mueller - "fix" shareware compile |
| | #ifndef SHAREWARE |
| | //end addition -MM |
int i=-1; | | int i=-1; |
| | |
hud_message(MSGC_GAME_FEEDBACK,"Received reconfig"); | | hud_message(MSGC_GAME_FEEDBACK,"Received reconfig"); |
| | |
break; | | break; |
} | | } |
} | | } |
} | | //added 06/09/99 Matt Mueller - "fix" shareware compile |
| | #endif |
| | //end addition -MM |
| | } |
| | //added 06/09/99 Matt Mueller - fix nonetwork compile |
| | #endif |
| | //end addition -MM |