All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
server::maprotation Struct Reference

Public Member Functions

long calcmodemask () const
bool hasmode (int mode, int offset=0) const
int findmode (int mode) const
bool match (int reqmode, const char *reqmap) const
bool includes (const maprotation &rot) const

Public Attributes

long modes
string map

Static Public Attributes

static int exclude = 0

Member Function Documentation

long server::maprotation::calcmodemask ( ) const

References exclude, modes, and NUMGAMEMODES.

Referenced by hasmode().

int server::maprotation::findmode ( int  mode) const

References hasmode(), loopi(), and NUMGAMEMODES.

Referenced by server::rotatemap().

bool server::maprotation::hasmode ( int  mode,
int  offset = 0 
) const

References calcmodemask().

Referenced by findmode(), and match().

bool server::maprotation::includes ( const maprotation rot) const
bool server::maprotation::match ( int  reqmode,
const char *  reqmap 
) const

References hasmode(), and map.

Referenced by server::findmaprotation().

Member Data Documentation

int server::maprotation::exclude = 0
string server::maprotation::map
long server::maprotation::modes

The documentation for this struct was generated from the following file: