DDraceNetwork Docs
mapbugs.cpp File Reference
#include "mapbugs.h"
#include <base/system.h>
#include "mapbugs_list.h"
Include dependency graph for mapbugs.cpp:

Classes

struct  CMapDescription
 
struct  CMapBugsInternal
 

Macros

#define MAPBUG(constname, string)    else if(str_comp(pBug, string) == 0) { Bug = (constname); }
 

Functions

static unsigned int BugToFlag (int Bug)
 
static unsigned int IsBugFlagSet (int Bug, unsigned int BugFlags)
 
static SHA256_DIGEST s (const char *pSha256)
 
CMapBugs GetMapBugs (const char *pName, int Size, SHA256_DIGEST Sha256)
 

Variables

static CMapBugsInternal MAP_BUGS []
 

Macro Definition Documentation

◆ MAPBUG

#define MAPBUG (   constname,
  string 
)     else if(str_comp(pBug, string) == 0) { Bug = (constname); }

Function Documentation

◆ BugToFlag()

static unsigned int BugToFlag ( int  Bug)
static

◆ GetMapBugs()

CMapBugs GetMapBugs ( const char *  pName,
int  Size,
SHA256_DIGEST  Sha256 
)

◆ IsBugFlagSet()

static unsigned int IsBugFlagSet ( int  Bug,
unsigned int  BugFlags 
)
static

◆ s()

static SHA256_DIGEST s ( const char *  pSha256)
static

Variable Documentation

◆ MAP_BUGS

CMapBugsInternal MAP_BUGS[]
static
Initial value:
=
{
{{"Binary", 2022597, s("65b410e197fd2298ec270e89a84b762f6739d1d18089529f8ef6cf2104d3d600")}, BugToFlag(BUG_GRENADE_DOUBLEEXPLOSION)}}
static SHA256_DIGEST s(const char *pSha256)
Definition: mapbugs.cpp:37
static unsigned int BugToFlag(int Bug)
Definition: mapbugs.cpp:24