#include <C4MapScript.h>
Public Member Functions | |
C4MapScriptAlgoXor (const C4PropList *props) | |
bool | operator() (int32_t x, int32_t y, uint8_t &fg, uint8_t &bg) const override |
void | Clear () |
Protected Member Functions | |
bool | GetXYProps (const C4PropList *props, C4PropertyName k, int32_t *out_xy, bool zero_defaults) |
Protected Attributes | |
std::vector< C4MapScriptAlgo * > | operands |
Definition at line 201 of file C4MapScript.h.
|
inline |
Definition at line 204 of file C4MapScript.h.
|
inherited |
Definition at line 263 of file C4MapScriptAlgo.cpp.
References C4MapScriptAlgoModifier::operands.
Referenced by C4MapScriptAlgoModifier::C4MapScriptAlgoModifier(), and C4MapScriptAlgoModifier::~C4MapScriptAlgoModifier().
|
protectedinherited |
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().
|
overridevirtual |
Implements C4MapScriptAlgo.
Definition at line 301 of file C4MapScriptAlgo.cpp.
References C4MapScriptAlgoModifier::operands.
|
protectedinherited |
Definition at line 166 of file C4MapScript.h.
Referenced by C4MapScriptAlgoModifier::C4MapScriptAlgoModifier(), C4MapScriptAlgoModifier::Clear(), C4MapScriptAlgoAnd::operator()(), C4MapScriptAlgoOr::operator()(), C4MapScriptAlgoNot::operator()(), operator()(), C4MapScriptAlgoOffset::operator()(), C4MapScriptAlgoScale::operator()(), C4MapScriptAlgoRotate::operator()(), C4MapScriptAlgoTurbulence::operator()(), C4MapScriptAlgoBorder::operator()(), and C4MapScriptAlgoFilter::operator()().