DDraceNetwork Docs
maplayers.cpp File Reference
#include <engine/demo.h>
#include <engine/graphics.h>
#include <engine/keys.h>
#include <engine/serverbrowser.h>
#include <engine/shared/config.h>
#include <engine/storage.h>
#include <game/client/gameclient.h>
#include <game/client/render.h>
#include <game/layers.h>
#include <game/mapitems.h>
#include <game/mapitems_ex.h>
#include <game/client/components/camera.h>
#include <game/client/components/mapimages.h>
#include <game/localization.h>
#include "maplayers.h"
#include <chrono>
Include dependency graph for maplayers.cpp:

Classes

struct  STmpQuadVertexTextured
 
struct  STmpQuadVertex
 
struct  STmpQuad
 
struct  STmpQuadTextured
 

Functions

static void FillTmpTile (SGraphicTile *pTmpTile, SGraphicTileTexureCoords *pTmpTex, unsigned char Flags, unsigned char Index, int x, int y, const ivec2 &Offset, int Scale)
 
static void FillTmpTileSpeedup (SGraphicTile *pTmpTile, SGraphicTileTexureCoords *pTmpTex, unsigned char Flags, int x, int y, const ivec2 &Offset, int Scale, short AngleRotate)
 
static bool AddTile (std::vector< SGraphicTile > &vTmpTiles, std::vector< SGraphicTileTexureCoords > &vTmpTileTexCoords, unsigned char Index, unsigned char Flags, int x, int y, bool DoTextureCoords, bool FillSpeedup=false, int AngleRotate=-1, const ivec2 &Offset=ivec2{0, 0}, int Scale=32)
 
void mem_copy_special (void *pDest, void *pSource, size_t Size, size_t Count, size_t Steps)
 

Function Documentation

◆ AddTile()

static bool AddTile ( std::vector< SGraphicTile > &  vTmpTiles,
std::vector< SGraphicTileTexureCoords > &  vTmpTileTexCoords,
unsigned char  Index,
unsigned char  Flags,
int  x,
int  y,
bool  DoTextureCoords,
bool  FillSpeedup = false,
int  AngleRotate = -1,
const ivec2 Offset = ivec2{0, 0},
int  Scale = 32 
)
static

◆ FillTmpTile()

static void FillTmpTile ( SGraphicTile pTmpTile,
SGraphicTileTexureCoords pTmpTex,
unsigned char  Flags,
unsigned char  Index,
int  x,
int  y,
const ivec2 Offset,
int  Scale 
)
static

◆ FillTmpTileSpeedup()

static void FillTmpTileSpeedup ( SGraphicTile pTmpTile,
SGraphicTileTexureCoords pTmpTex,
unsigned char  Flags,
int  x,
int  y,
const ivec2 Offset,
int  Scale,
short  AngleRotate 
)
static

◆ mem_copy_special()

void mem_copy_special ( void *  pDest,
void *  pSource,
size_t  Size,
size_t  Count,
size_t  Steps 
)