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

Functions

void * ReplaceImageItem (int Index, CMapItemImage *pImgItem, const char *pImgName, const char *pImgFile, CMapItemImage *pNewImgItem)
 
int main (int argc, const char **argv)
 

Variables

CDataFileReader g_DataReader
 
int g_NewNameId = -1
 
char g_aNewName [128]
 
int g_NewDataId = -1
 
int g_NewDataSize = 0
 
void * g_pNewData = nullptr
 

Function Documentation

◆ main()

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

◆ ReplaceImageItem()

void * ReplaceImageItem ( int  Index,
CMapItemImage pImgItem,
const char *  pImgName,
const char *  pImgFile,
CMapItemImage pNewImgItem 
)

Variable Documentation

◆ g_aNewName

char g_aNewName[128]

◆ g_DataReader

CDataFileReader g_DataReader

◆ g_NewDataId

int g_NewDataId = -1

◆ g_NewDataSize

int g_NewDataSize = 0

◆ g_NewNameId

int g_NewNameId = -1

◆ g_pNewData

void* g_pNewData = nullptr