#include <C4MapScript.h>
Public Member Functions | |
C4MapScriptAlgoLayer (const C4MapScriptLayer *layer) | |
C4MapScriptAlgoLayer (const C4PropList *props) | |
bool | operator() (int32_t x, int32_t y, uint8_t &fg, uint8_t &bg) const override |
Protected Member Functions | |
bool | GetXYProps (const C4PropList *props, C4PropertyName k, int32_t *out_xy, bool zero_defaults) |
Definition at line 95 of file C4MapScript.h.
|
inline |
Definition at line 99 of file C4MapScript.h.
C4MapScriptAlgoLayer::C4MapScriptAlgoLayer | ( | const C4PropList * | props | ) |
Definition at line 52 of file C4MapScriptAlgo.cpp.
References C4PropList::GetMapScriptLayer(), C4PropList::GetPropertyPropList(), and P_Layer.
|
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 60 of file C4MapScriptAlgo.cpp.
References C4MapScriptLayer::GetBackPix(), and C4MapScriptLayer::GetPix().