Browse Source

Added pidbug and mustSanitize fields to ServerProfile.

pull/3/head
JustinAJ 10 years ago
parent
commit
b9120a0e6b
  1. 11
      RenX.Core/RenX_ServerProfile.cpp
  2. 2
      RenX.Core/RenX_ServerProfile.h

11
RenX.Core/RenX_ServerProfile.cpp

@ -24,13 +24,11 @@ struct BaseProfile : RenX::ServerProfile
supported = true; supported = true;
privateMessages = true; privateMessages = true;
disconnectOnGameOver = false; disconnectOnGameOver = false;
pidbug = false;
mustSanitize = true;
} }
}; } _baseProfile;
const RenX::ServerProfile *RenX::defaultProfile = &_baseProfile;
struct IdealProfile : BaseProfile
{
} _idealProfile;
const RenX::ServerProfile *RenX::defaultProfile = &_idealProfile;
struct OpenBeta1Profile : BaseProfile struct OpenBeta1Profile : BaseProfile
{ {
@ -47,6 +45,7 @@ struct OpenBeta2Profile : BaseProfile
OpenBeta2Profile() OpenBeta2Profile()
{ {
privateMessages = false; privateMessages = false;
pidbug = true;
} }
} _openBeta2Profile; } _openBeta2Profile;
const RenX::ServerProfile *RenX::openBeta2Profile = &_openBeta2Profile; const RenX::ServerProfile *RenX::openBeta2Profile = &_openBeta2Profile;

2
RenX.Core/RenX_ServerProfile.h

@ -35,6 +35,8 @@ namespace RenX
bool supported; bool supported;
bool privateMessages; bool privateMessages;
bool disconnectOnGameOver; bool disconnectOnGameOver;
bool pidbug;
bool mustSanitize;
}; };
RENX_API extern const ServerProfile *defaultProfile; /** Default server profile */ RENX_API extern const ServerProfile *defaultProfile; /** Default server profile */

Loading…
Cancel
Save