warzone2100/lib/netplay/netjoin_stub.c

32 lines
532 B
C

/*
* Net join.
* join related stuff
*/
#include "lib/framework/frame.h"
#include "netplay.h"
DWORD NETgetGameFlagsUnjoined(UDWORD gameid, UDWORD flag)
{
switch(flag)
{
case 1:
return NetPlay.games[gameid].desc.dwUser1;
break;
case 2:
return NetPlay.games[gameid].desc.dwUser2;
break;
case 3:
return NetPlay.games[gameid].desc.dwUser3;
break;
case 4:
return NetPlay.games[gameid].desc.dwUser4;
break;
default:
DBERROR(("Invalid flag for getgameflagsunjoined in netplay lib"));
break;
}
return 0;
}