Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
blend.hpp File Reference
#include "inexor/network/SharedVar.hpp"
#include "inexor/shared/cube_types.hpp"

Go to the source code of this file.

Functions

BlendMapCachenewblendmapcache ()
 
void freeblendmapcache (BlendMapCache *&cache)
 
bool setblendmaporigin (BlendMapCache *cache, const ivec &o, int size)
 
bool hasblendmap (BlendMapCache *cache)
 
uchar lookupblendmap (BlendMapCache *cache, const vec &pos)
 
void resetblendmap ()
 
void enlargeblendmap ()
 
void shrinkblendmap (int octant)
 
void optimizeblendmap ()
 
void stoppaintblendmap ()
 
void trypaintblendmap ()
 
void renderblendbrush (uint tex, float x, float y, float w, float h)
 
void renderblendbrush ()
 
bool loadblendmap (stream *f, int info)
 
void saveblendmap (stream *f)
 
uchar shouldsaveblendmap ()
 

Variables

SharedVar< int > blendpaintmode
 

Function Documentation

void enlargeblendmap ( )
void freeblendmapcache ( BlendMapCache *&  cache)
bool hasblendmap ( BlendMapCache cache)

References BlendMapCache::node.

bool loadblendmap ( stream f,
int  info 
)
uchar lookupblendmap ( BlendMapCache cache,
const vec pos 
)
BlendMapCache* newblendmapcache ( )
void optimizeblendmap ( )
void renderblendbrush ( uint  tex,
float  x,
float  y,
float  w,
float  h 
)
void renderblendbrush ( )
void resetblendmap ( )
void saveblendmap ( stream f)
bool setblendmaporigin ( BlendMapCache cache,
const ivec o,
int  size 
)
uchar shouldsaveblendmap ( )

Referenced by save_world().

void shrinkblendmap ( int  octant)

References BlendMapRoot::shrink().

Referenced by shrinkmap().

void stoppaintblendmap ( )

References lastpaintblendmap.

Referenced by toggleedit().

void trypaintblendmap ( )

References lastpaintblendmap, paintblendmap(), and totalmillis.

Referenced by tryedit().

Variable Documentation

SharedVar<int> blendpaintmode