DDraceNetwork Documentation
Loading...
Searching...
No Matches
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)

Functions

static unsigned int BugToFlag (int Bug)
static unsigned int IsBugFlagSet (int Bug, unsigned int BugFlags)
static SHA256_DIGEST s (const char *pSha256)

Variables

static CMapBugsInternal MAP_BUGS []

Macro Definition Documentation

◆ MAPBUG

#define MAPBUG ( constname,
string )
Value:
else if(str_comp(pBug, string) == 0) \
{ \
Bug = (constname); \
}
int str_comp(const char *a, const char *b)
Definition str.cpp:326

Function Documentation

◆ BugToFlag()

unsigned int BugToFlag ( int Bug)
static

◆ IsBugFlagSet()

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

◆ s()

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
@ BUG_GRENADE_DOUBLEEXPLOSION
Definition mapbugs.h:17