#include <C4MapScript.h>
Public Member Functions | |
C4MapScriptAlgoPolygon (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 138 of file C4MapScript.h.
C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon | ( | const C4PropList * | props | ) |
Definition at line 139 of file C4MapScriptAlgo.cpp.
References C4Value::getArray(), C4Value::getInt(), C4ValueArray::GetItem(), C4PropList::GetProperty(), C4PropList::GetPropertyInt(), C4ValueArray::GetSize(), P_Empty, P_Open, P_Wdt, P_X, and P_Y.
|
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 160 of file C4MapScriptAlgo.cpp.
References Inside().