Some questions
This thread can be closed
/*!
Use this to start a game.
*/
enum
{
//! Start a world and host it (using dialogs).
STARTGAME_HOST = 0,
//! Start a world and host on TCP/IP.
STARTGAME_HOSTTCP = 1,
//! Connect to a server using dialogs.
STARTGAME_CLIENT = 2,
//! Connect to the first TCP/IP game it can find at m_pTCPAddress.
STARTGAME_CLIENTTCP = 3,
//! Start a normal game.
STARTGAME_NORMAL = 4,
//! (Used for GetGameMode, means we're not running a world or on a server yet).
GAMEMODE_NONE = 5
};
bool IsMultiplayerGame()
{
int nGameMode = 0;
ilt_client_imp->GetGameMode(&nGameMode);
if (nGameMode == STARTGAME_NORMAL || nGameMode == GAMEMODE_NONE)
return false;
return true;
}