DDraceNetwork Docs
map_find_env.cpp File Reference
#include <base/logger.h>
#include <base/system.h>
#include <engine/shared/datafile.h>
#include <engine/storage.h>
#include <game/mapitems.h>
Include dependency graph for map_find_env.cpp:

Classes

class  CEnvelopedQuad
 

Functions

bool OpenMap (const char pMapName[64], CDataFileReader &InputMap)
 
bool GetLayerGroupIds (CDataFileReader &InputMap, const int LayerNumber, int &GroupId, int &LayerRelativeId)
 
int FxToTilePos (const int FxPos)
 
bool GetEnvelopedQuads (const CQuad *pQuads, const int NumQuads, const int EnvId, const int GroupId, const int LayerId, int &QuadsCounter, CEnvelopedQuad pEnvQuads[1024])
 
void PrintEnvelopedQuads (const CEnvelopedQuad pEnvQuads[1024], const int EnvId, const int QuadsCounter)
 
bool FindEnv (const char aFilename[64], const int EnvId)
 
int main (int argc, const char **argv)
 

Function Documentation

◆ FindEnv()

bool FindEnv ( const char  aFilename[64],
const int  EnvId 
)

◆ FxToTilePos()

int FxToTilePos ( const int  FxPos)

◆ GetEnvelopedQuads()

bool GetEnvelopedQuads ( const CQuad pQuads,
const int  NumQuads,
const int  EnvId,
const int  GroupId,
const int  LayerId,
int &  QuadsCounter,
CEnvelopedQuad  pEnvQuads[1024] 
)

◆ GetLayerGroupIds()

bool GetLayerGroupIds ( CDataFileReader InputMap,
const int  LayerNumber,
int &  GroupId,
int &  LayerRelativeId 
)

◆ main()

int main ( int  argc,
const char **  argv 
)

◆ OpenMap()

bool OpenMap ( const char  pMapName[64],
CDataFileReader InputMap 
)

◆ PrintEnvelopedQuads()

void PrintEnvelopedQuads ( const CEnvelopedQuad  pEnvQuads[1024],
const int  EnvId,
const int  QuadsCounter 
)