DDraceNetwork Docs
map_optimize.cpp File Reference
#include <algorithm>
#include <base/logger.h>
#include <base/system.h>
#include <cstdint>
#include <engine/gfx/image_manipulation.h>
#include <engine/shared/datafile.h>
#include <engine/storage.h>
#include <game/mapitems.h>
#include <vector>
Include dependency graph for map_optimize.cpp:

Functions

void ClearTransparentPixels (uint8_t *pImg, int Width, int Height)
 
void CopyOpaquePixels (uint8_t *pDestImg, uint8_t *pSrcImg, int Width, int Height)
 
void ClearPixelsTile (uint8_t *pImg, int Width, int Height, int TileIndex)
 
void GetImageSHA256 (uint8_t *pImgBuff, int ImgSize, int Width, int Height, char *pSHA256Str, size_t SHA256StrSize)
 
int main (int argc, const char **argv)
 

Function Documentation

◆ ClearPixelsTile()

void ClearPixelsTile ( uint8_t *  pImg,
int  Width,
int  Height,
int  TileIndex 
)

◆ ClearTransparentPixels()

void ClearTransparentPixels ( uint8_t *  pImg,
int  Width,
int  Height 
)

◆ CopyOpaquePixels()

void CopyOpaquePixels ( uint8_t *  pDestImg,
uint8_t *  pSrcImg,
int  Width,
int  Height 
)

◆ GetImageSHA256()

void GetImageSHA256 ( uint8_t *  pImgBuff,
int  ImgSize,
int  Width,
int  Height,
char *  pSHA256Str,
size_t  SHA256StrSize 
)

◆ main()

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