/*
 * Net join.
 * join related stuff
 */ 

#include "frame.h"
#include "netplay.h"
#include "netsupp.h"


// ////////////////////////////////////////////////////////////////////////
//close the open game..
HRESULT NETclose(VOID)
{
printf("NETclose\n");
	return 0;
}


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;
}

