#include <C4MapScript.h>
Public Member Functions | |
virtual bool | operator() (int32_t x, int32_t y, uint8_t &fg, uint8_t &bg) const =0 |
virtual | ~C4MapScriptAlgo ()=default |
Protected Member Functions | |
bool | GetXYProps (const C4PropList *props, C4PropertyName k, int32_t *out_xy, bool zero_defaults) |
Definition at line 56 of file C4MapScript.h.
|
virtualdefault |
|
protected |
Definition at line 26 of file C4MapScriptAlgo.cpp.
References FormatString(), C4Value::getArray(), C4String::GetCStr(), StdStrBuf::getData(), C4Value::getInt(), C4ValueArray::GetItem(), C4PropList::GetProperty(), C4ValueArray::GetSize(), C4PropList::HasProperty(), C4StringTable::P, and Strings.
Referenced by C4MapScriptAlgoBorder::C4MapScriptAlgoBorder(), and C4MapScriptAlgoTurbulence::C4MapScriptAlgoTurbulence().
|
pure virtual |
Implemented in C4MapScriptAlgoSetMaterial, C4MapScriptAlgoFilter, C4MapScriptAlgoBorder, C4MapScriptAlgoTurbulence, C4MapScriptAlgoRotate, C4MapScriptAlgoScale, C4MapScriptAlgoOffset, C4MapScriptAlgoXor, C4MapScriptAlgoNot, C4MapScriptAlgoOr, C4MapScriptAlgoAnd, C4MapScriptAlgoLines, C4MapScriptAlgoPolygon, C4MapScriptAlgoEllipse, C4MapScriptAlgoRect, C4MapScriptAlgoRndChecker, and C4MapScriptAlgoLayer.