#include <C4MapScript.h>
Public Member Functions | |
C4MapScriptLayer (C4PropList *prototype, C4MapScriptMap *map) | |
~C4MapScriptLayer () override | |
C4MapScriptLayer * | GetMapScriptLayer () override |
class C4MapScriptMap * | GetMap () |
bool | CreateSurface (int32_t wdt, int32_t hgt) |
void | ClearSurface () |
void | SetSurfaces (std::unique_ptr< CSurface8 > fg, std::unique_ptr< CSurface8 > bg) |
std::pair< std::unique_ptr< CSurface8 >, std::unique_ptr< CSurface8 > > | ReleaseSurfaces () |
bool | HasSurface () const |
void | UpdateSurfaceSize () |
C4Rect | GetBounds () const |
int32_t | GetWdt () const |
int32_t | GetHgt () const |
uint8_t | GetPix (int32_t x, int32_t y, uint8_t outside_col) const |
uint8_t | GetBackPix (int32_t x, int32_t y, uint8_t outside_col) const |
bool | SetPix (int32_t x, int32_t y, uint8_t fg, uint8_t bg) const |
bool | IsPixMasked (int32_t x, int32_t y) const |
void | ConvertSkyToTransparent () |
int32_t | GetPixCount (const C4Rect &rcBounds, const C4MapScriptMatTexMask &mask) |
bool | Fill (uint8_t fg, uint8_t bg, const C4Rect &rcBounds, const C4MapScriptAlgo *algo) |
bool | Blit (const C4Rect &rcBounds, const C4MapScriptAlgo *algo) |
bool | Blit (const C4MapScriptLayer *src, const C4Rect &src_rect, const C4MapScriptMatTexMask &mask, int32_t tx, int32_t ty) |
bool | FindPos (const C4Rect &search_rect, const C4MapScriptMatTexMask &mask, int32_t *out_x, int32_t *out_y, int32_t max_tries) |
void | CompileFunc (StdCompiler *pComp, C4ValueNumbers *numbers) |
C4PropListNumbered * | GetPropListNumbered () override |
bool | IsNumbered () const override |
void | Clear () |
virtual const char * | GetName () const |
virtual void | SetName (const char *NewName=nullptr) |
virtual void | SetOnFire (bool OnFire) |
virtual C4Def const * | GetDef () const |
virtual C4Def * | GetDef () |
virtual C4Object * | GetObject () |
virtual C4Object const * | GetObject () const |
virtual C4Effect * | GetEffect () |
virtual class C4MapScriptMap * | GetMapScriptMap () |
C4PropList * | GetPrototype () const |
void | RemoveCyclicPrototypes () |
virtual class C4PropListStatic * | IsStatic () |
const class C4PropListStatic * | IsStatic () const |
virtual bool | Delete () |
virtual bool | GetPropertyByS (const C4String *k, C4Value *pResult) const |
virtual C4ValueArray * | GetProperties () const |
virtual void | SetPropertyByS (C4String *k, const C4Value &to) |
virtual void | ResetProperty (C4String *k) |
bool | GetProperty (C4PropertyName k, C4Value *pResult) const |
C4String * | GetPropertyStr (C4PropertyName k) const |
C4ValueArray * | GetPropertyArray (C4PropertyName n) const |
C4AulFunc * | GetFunc (C4PropertyName k) const |
C4AulFunc * | GetFunc (C4String *k) const |
C4AulFunc * | GetFunc (const char *k) const |
C4String * | EnumerateOwnFuncs (C4String *prev=nullptr) const |
C4Value | Call (C4PropertyName k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4Value | Call (C4String *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4Value | Call (const char *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
C4PropertyName | GetPropertyP (C4PropertyName k) const |
int32_t | GetPropertyBool (C4PropertyName n, bool default_val=false) const |
int32_t | GetPropertyInt (C4PropertyName k, int32_t default_val=0) const |
C4PropList * | GetPropertyPropList (C4PropertyName k) const |
bool | HasProperty (C4String *k) const |
void | SetProperty (C4PropertyName k, const C4Value &to) |
void | Freeze () |
void | Thaw () |
void | ThawRecursively () |
bool | IsFrozen () const |
C4PropListStatic * | FreezeAndMakeStaticRecursively (std::vector< C4Value > *prop_lists, const C4PropListStatic *parent=nullptr, C4String *key=nullptr) |
virtual void | Denumerate (C4ValueNumbers *) |
void | AppendDataString (StdStrBuf *out, const char *delim, int depth=3, bool ignore_reference_parent=false) const |
StdStrBuf | ToJSON (int depth=10, bool ignore_reference_parent=false) const |
std::vector< C4String * > | GetSortedLocalProperties (bool add_prototype=true) const |
std::vector< C4String * > | GetSortedLocalProperties (const char *prefix, const C4PropList *ignore_overridden) const |
std::vector< C4String * > | GetUnsortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
std::vector< C4String * > | GetSortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
bool | operator== (const C4PropList &b) const |
Iterator | begin () |
Iterator | end () |
Static Public Member Functions | |
static C4PropList * | GetByNumber (int32_t iNumber) |
static bool | CheckPropList (C4PropList *) |
static void | SetEnumerationIndex (int32_t iMaxObjectNumber) |
static int32_t | GetEnumerationIndex () |
static void | ResetEnumerationIndex () |
static void | ShelveNumberedPropLists () |
static void | UnshelveNumberedPropLists () |
static void | ClearShelve () |
static void | ClearNumberedPropLists () |
static C4PropList * | New (C4PropList *prototype=nullptr) |
static C4PropListStatic * | NewStatic (C4PropList *prototype, const C4PropListStatic *parent, C4String *key) |
Public Attributes | |
int32_t | Number {-1} |
int32_t | Status {1} |
Protected Member Functions | |
void | AcquireNumber () |
void | ClearNumber () |
void | ClearRefs () |
Protected Attributes | |
class C4MapScriptMap * | map |
Static Protected Attributes | |
static C4Set< C4PropListNumbered * > | PropLists |
static std::vector< C4PropListNumbered * > | ShelvedPropLists |
static int32_t | EnumerationIndex = 0 |
Definition at line 282 of file C4MapScript.h.
C4MapScriptLayer::C4MapScriptLayer | ( | C4PropList * | prototype, |
C4MapScriptMap * | map | ||
) |
Definition at line 453 of file C4MapScript.cpp.
References C4PropListNumbered::AcquireNumber().
Referenced by C4MapScriptMap::CreateLayer().
|
inlineoverride |
Definition at line 291 of file C4MapScript.h.
References ClearSurface().
|
protectedinherited |
Definition at line 131 of file C4PropList.cpp.
References C4Set< T >::Add(), C4PropListNumbered::EnumerationIndex, C4Set< T >::Get(), C4PropListNumbered::Number, and C4PropListNumbered::PropLists.
Referenced by C4Effect::C4Effect(), C4MapScriptLayer(), and C4Object::Init().
|
inherited |
Definition at line 487 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::end(), C4Value::GetDataString(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), and C4PropList::IsStatic().
Referenced by C4Object::GetDataString().
|
inherited |
Definition at line 995 of file C4PropList.cpp.
References C4PropList::begin(), C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::GetSize(), and C4Set< T >::Next().
Referenced by C4PropList::AppendDataString(), C4PropList::begin(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
bool C4MapScriptLayer::Blit | ( | const C4MapScriptLayer * | src, |
const C4Rect & | src_rect, | ||
const C4MapScriptMatTexMask & | mask, | ||
int32_t | tx, | ||
int32_t | ty | ||
) |
Definition at line 551 of file C4MapScript.cpp.
References HasSurface(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
bool C4MapScriptLayer::Blit | ( | const C4Rect & | rcBounds, |
const C4MapScriptAlgo * | algo | ||
) |
Definition at line 533 of file C4MapScript.cpp.
References HasSurface(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
|
inlineinherited |
Definition at line 114 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Command::Acquire(), C4Object::ActivateEntrance(), C4Object::ActivateMenu(), C4Object::AssignDeath(), C4Object::AssignRemoval(), C4Command::Call(), C4GameScriptHost::Call(), C4Effect::CallEffect(), C4Command::CallFailed(), C4Effect::CallStart(), C4Effect::CallStop(), C4Effect::CallTimer(), C4FindObjectFunc::Check(), C4Effect::ClearAll(), C4Object::Collect(), C4SortObjectFunc::CompareGetValue(), C4Object::Contact(), C4GameObjects::CrossCheck(), C4Landscape::P::DigMaterial2Objects(), C4Object::DirectComContents(), C4Object::DoBreath(), C4Object::DoCon(), C4Object::DoDamage(), C4Object::DoEnergy(), C4Object::DoMovement(), C4ObjectMenu::DoRefillInternal(), C4Object::DoSelect(), C4Object::Enter(), C4RoundResults::EvaluateGame(), C4RoundResults::EvaluateGoals(), C4Object::ExecLife(), C4Object::ExecuteCommand(), C4ScriptGuiWindowAction::ExecuteCommand(), C4Object::Exit(), C4Command::Fail(), C4Command::GetTryEnter(), C4Def::GetValue(), C4Object::GetValue(), GrabLost(), C4Landscape::Incinerate(), C4Effect::Init(), C4Player::Init(), C4ObjectMenu::IsCloseDenied(), C4Effect::Kill(), C4Object::Lift(), C4Game::NewObject(), ObjectActionJump(), ObjectComGrab(), ObjectComPunch(), ObjectComPut(), ObjectComUnGrab(), C4ObjectMenu::OnSelectionChanged(), C4EditCursor::PerformDuplication(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), C4Object::Promote(), C4Object::Push(), C4Game::SaveData(), C4Object::SetAction(), C4GUI::FrameDecoration::SetByDef(), C4Object::SetCommand(), C4Player::SetObjectCrewStatus(), C4Object::SetOwner(), C4Object::StatusActivate(), C4Command::Transfer(), and C4Object::UnSelect().
|
inherited |
Definition at line 797 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), C4PropList::GetFunc(), and C4PropList::Status.
|
inherited |
Definition at line 805 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), FormatString(), C4AulScriptEngine::GetErrorHandler(), C4PropList::GetFunc(), C4AulErrorHandler::OnError(), s, ScriptEngine, C4PropList::Status, and C4AulError::what().
|
staticinherited |
Definition at line 56 of file C4PropList.cpp.
References C4Set< T >::First(), C4Set< T >::Next(), and C4PropListNumbered::PropLists.
Referenced by C4Object::SetOCF(), C4Object::UpdateOCF(), and C4PropList::~C4PropList().
|
inlineinherited |
Definition at line 70 of file C4PropList.h.
References C4Set< T >::Clear(), and C4Value::Set0().
Referenced by C4Def::Clear(), C4AulScriptEngine::Clear(), C4ExtraScriptHost::Clear(), C4PropListNumbered::ClearNumberedPropLists(), C4ScriptHost::DeleteOwnedPropLists(), and C4Def::~C4Def().
|
protectedinherited |
Definition at line 141 of file C4PropList.cpp.
References C4PropListNumbered::Number, C4PropListNumbered::PropLists, and C4Set< T >::Remove().
Referenced by C4PropListNumbered::ShelveNumberedPropLists().
|
staticinherited |
Definition at line 113 of file C4PropList.cpp.
References C4PropList::Clear(), C4Set< T >::First(), C4Set< T >::Next(), and C4PropListNumbered::PropLists.
Referenced by C4Game::Clear().
|
inlineprotectedinherited |
Definition at line 160 of file C4PropList.h.
Referenced by C4Object::AssignRemoval().
|
staticinherited |
Definition at line 107 of file C4PropList.cpp.
References C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::Clear().
void C4MapScriptLayer::ClearSurface | ( | ) |
Definition at line 475 of file C4MapScript.cpp.
Referenced by CreateSurface(), and ~C4MapScriptLayer().
|
inherited |
Definition at line 156 of file C4PropList.cpp.
References C4Set< T >::Add(), C4PropList::CompileFunc(), StdCompiler::excCorrupt(), C4Set< T >::Get(), StdCompiler::isDeserializer(), C4PropListNumbered::Number, C4PropListNumbered::PropLists, StdCompiler::SEP_SEP2, StdCompiler::Separator(), and StdCompiler::Value().
Referenced by C4Effect::CompileFunc().
void C4MapScriptLayer::ConvertSkyToTransparent | ( | ) |
Definition at line 491 of file C4MapScript.cpp.
References C4M_MaxTexIndex, and HasSurface().
bool C4MapScriptLayer::CreateSurface | ( | int32_t | wdt, |
int32_t | hgt | ||
) |
Definition at line 459 of file C4MapScript.cpp.
References ClearSurface(), and UpdateSurfaceSize().
Referenced by C4MapScriptMap::CreateLayer().
|
inlinevirtualinherited |
Reimplemented in C4PropListStaticMember, C4PropListStatic, C4PropListScript, and C4Def.
Definition at line 94 of file C4PropList.h.
Referenced by C4AulScriptEngine::Clear(), and C4ScriptHost::DeleteOwnedPropLists().
|
virtualinherited |
Reimplemented in C4Effect, C4AulScriptEngine, and C4Object.
Definition at line 321 of file C4PropList.cpp.
References C4Value::Denumerate(), C4Set< T >::First(), C4Set< T >::Next(), C4PropList::RemoveCyclicPrototypes(), and C4Property::Value.
Referenced by C4Value::Denumerate(), C4Object::Denumerate(), and C4AulScriptEngine::Denumerate().
|
inlineinherited |
Definition at line 211 of file C4PropList.h.
Referenced by C4PropList::AppendDataString(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
Definition at line 928 of file C4PropList.cpp.
References C4Set< T >::First(), C4Set< T >::Get(), C4Value::getFunction(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
bool C4MapScriptLayer::Fill | ( | uint8_t | fg, |
uint8_t | bg, | ||
const C4Rect & | rcBounds, | ||
const C4MapScriptAlgo * | algo | ||
) |
Definition at line 515 of file C4MapScript.cpp.
References HasSurface(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
bool C4MapScriptLayer::FindPos | ( | const C4Rect & | search_rect, |
const C4MapScriptMatTexMask & | mask, | ||
int32_t * | out_x, | ||
int32_t * | out_y, | ||
int32_t | max_tries | ||
) |
Definition at line 589 of file C4MapScript.cpp.
References HasSurface(), C4Rect::Hgt, Random(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
|
inlineinherited |
Definition at line 132 of file C4PropList.h.
Referenced by C4PropList::FreezeAndMakeStaticRecursively().
|
inherited |
Definition at line 279 of file C4PropList.cpp.
References C4VPropList(), C4PropList::Freeze(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropListStatic::GetParent(), C4PropListStatic::GetParentKeyName(), C4PropList::GetPropertyByS(), C4Value::getPropList(), C4PropList::GetPrototype(), C4PropList::GetSortedLocalProperties(), C4PropList::IsStatic(), C4PropList::NewStatic(), and C4PropList::Status.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4AulScriptEngine::Link().
|
inline |
Definition at line 318 of file C4MapScript.h.
References HasSurface().
Referenced by IsPixMasked(), and C4MapScriptAlgoLayer::operator()().
C4Rect C4MapScriptLayer::GetBounds | ( | ) | const |
Definition at line 509 of file C4MapScript.cpp.
Referenced by FnParRect().
|
staticinherited |
Definition at line 51 of file C4PropList.cpp.
References C4Set< T >::Get(), and C4PropListNumbered::PropLists.
Referenced by C4Value::Denumerate(), and C4GameObjects::ObjectPointer().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 648 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 654 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
Referenced by C4Value::_getDef(), ConstructionCheck(), C4Game::CreateObject(), C4Game::CreateObjectConstruction(), C4AulExec::DirectExec(), C4GameMessage::Draw(), C4Game::DrawPropListSpecImage(), C4AulExec::FnTranslate(), C4PropList::GetDef(), C4Value::getDef(), C4Object::Init(), C4GameMessage::Init(), C4FindObjectDef::IsImpossible(), C4PropList::operator==(), C4ScriptHost::Parse(), C4AulParse::Parse_Script(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), and C4ScriptGuiWindowProperty::Set().
|
virtualinherited |
Reimplemented in C4Effect.
Definition at line 678 of file C4PropList.cpp.
References C4PropList::GetEffect(), and C4PropList::GetPrototype().
Referenced by C4ValueConv< C4Effect * >::_FromC4V(), and C4PropList::GetEffect().
|
inlinestaticinherited |
Definition at line 230 of file C4PropList.h.
References C4PropListNumbered::EnumerationIndex.
Referenced by C4Game::NewObject(), C4EditCursor::PerformDuplication(), and C4ControlSyncCheck::Set().
|
inlineinherited |
Definition at line 109 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Effect::AssignCallbackFunctions(), C4PropList::Call(), C4Effect::CallDamage(), C4Value::CompileFunc(), C4ScriptHost::CopyPropList(), C4Effect::DoCall(), C4PropList::GetFunc(), C4AulScriptEngine::GetFunctionNames(), C4Effect::Init(), C4MapScriptHost::InitializeMap(), C4Object::PutAwayUnusedObject(), C4MaterialReaction::ResolveScriptFuncs(), C4MCOverlay::SetField(), and C4AulCompiler::PreparseAstVisitor::visit().
Definition at line 772 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetFunc(), C4Value::getFunction(), C4PropList::GetPrototype(), C4Set< T >::Has(), and C4Property::Value.
|
inherited |
Definition at line 786 of file C4PropList.cpp.
References C4StringTable::FindString(), C4PropList::GetFunc(), s, and Strings.
|
inline |
Definition at line 314 of file C4MapScript.h.
|
inline |
|
inlineoverridevirtual |
|
virtualinherited |
Reimplemented in C4MapScriptMap.
Definition at line 666 of file C4PropList.cpp.
References C4PropList::GetMapScriptMap(), and C4PropList::GetPrototype().
Referenced by C4PropList::GetMapScriptMap().
|
virtualinherited |
Reimplemented in C4PropListStatic.
Definition at line 618 of file C4PropList.cpp.
References C4PropList::GetPropertyStr(), P_Name, and s.
Referenced by C4Object::ActivateMenu(), C4Effect::AssignCallbackFunctions(), C4Effect::C4Effect(), C4PropertyPath::C4PropertyPath(), C4Object::CanConcatPictureWith(), C4FindObjectAction::Check(), C4Game::CheckObjectEnumeration(), C4Effect::ClearAll(), ConstructionCheck(), C4Effect::DoCall(), C4EditCursor::DoContextMenu(), C4ObjectMenu::DoRefillInternal(), C4Object::Draw(), C4ScriptGuiWindow::Draw(), C4Game::DrawCrewOverheadText(), C4Object::ExecLife(), C4Effect::Get(), C4Effect::GetCount(), C4Object::GetDataString(), C4Object::GetInfoString(), C4Effect::Init(), C4Effect::Kill(), C4Object::Lift(), C4Game::NewObject(), ObjectComDig(), C4Object::Promote(), C4Object::Push(), C4Object::SetAction(), C4Object::SetOCF(), C4Effect::TempRemoveUpperEffects(), C4Object::UpdateOCF(), and C4EditCursor::UpdateStatusBar().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 636 of file C4PropList.cpp.
References C4PropList::GetObject(), and C4PropList::GetPrototype().
Referenced by C4Value::_getObj(), C4EditCursor::AddToSelection(), C4PropertyPath::C4PropertyPath(), C4ScriptGuiWindowAction::ClearPointers(), C4GameMessage::Draw(), C4ScriptGuiWindowAction::ExecuteCommand(), FnGetEffectsFor(), C4Value::getObj(), C4PropList::GetObject(), C4GameMessage::Init(), Object(), C4EditCursor::RemoveFromSelection(), and C4ScriptGuiWindowProperty::Set().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 642 of file C4PropList.cpp.
References C4PropList::GetObject(), and C4PropList::GetPrototype().
|
inline |
Definition at line 317 of file C4MapScript.h.
References HasSurface().
Referenced by IsPixMasked(), and C4MapScriptAlgoLayer::operator()().
int32_t C4MapScriptLayer::GetPixCount | ( | const C4Rect & | rcBounds, |
const C4MapScriptMatTexMask & | mask | ||
) |
Definition at line 576 of file C4MapScript.cpp.
References HasSurface(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
|
virtualinherited |
Reimplemented in C4Effect, and C4Object.
Definition at line 883 of file C4PropList.cpp.
References a, C4V_String, C4VString(), C4Set< T >::First(), C4PropList::GetProperties(), C4PropList::GetPrototype(), C4Set< T >::GetSize(), C4Property::Key, and C4Set< T >::Next().
Referenced by C4ScriptGuiWindow::CreateFromPropList(), C4AulScriptEngine::GetFunctionNames(), C4PropList::GetProperties(), C4Object::GetProperties(), C4Effect::GetProperties(), and C4ScriptGuiWindowProperty::Set().
|
inlineinherited |
Definition at line 105 of file C4PropList.h.
References C4PropList::GetPropertyByS(), C4StringTable::P, and Strings.
Referenced by C4MapScriptAlgoFilter::C4MapScriptAlgoFilter(), C4MapScriptAlgoModifier::C4MapScriptAlgoModifier(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4FindObjectProcedure::Check(), C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), C4Object::DrawFaceImpl(), C4Object::DrawLine(), C4Object::GetAction(), C4Def::GetActionByName(), C4Object::GetDragImage(), C4Object::GetParallaxity(), C4MapScriptAlgo::GetXYProps(), C4GameMessage::Init(), C4Object::IsVisible(), C4ScriptUniform::Push(), C4Object::SetAction(), C4Object::SetActionByName(), and C4GraphicsOverlay::UpdateFacet().
|
inherited |
Definition at line 758 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getArray(), C4PropList::GetPropertyArray(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4EditCursor::DoContextMenu(), C4PropList::GetPropertyArray(), and C4FoWLight::Update().
|
inherited |
Definition at line 841 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getBool(), C4PropList::GetPropertyBool(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4Object::ExecLife(), and C4PropList::GetPropertyBool().
Reimplemented in C4Effect, and C4Object.
Definition at line 726 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyByS(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, P_Prototype, Strings, and C4Property::Value.
Referenced by C4Value::CompileFunc(), C4ScriptGuiWindow::CreateFromPropList(), C4PropList::FreezeAndMakeStaticRecursively(), C4Def::GetActionByName(), C4DefList::GetAllDefs(), C4PropList::GetProperty(), C4PropList::GetPropertyByS(), C4Object::GetPropertyByS(), C4Effect::GetPropertyByS(), C4Game::GetTranslatedString(), C4ValueArraySortPropertycomp::operator()(), C4ScriptGuiWindowProperty::Set(), C4Object::SetActionByName(), C4PropList::ThawRecursively(), C4ScriptHost::UnlinkOwnedFunctions(), C4GraphicsOverlay::UpdateFacet(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inherited |
Definition at line 855 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getInt(), C4PropList::GetPropertyInt(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MouseControl::ButtonUpDragScript(), C4MapScriptAlgoEllipse::C4MapScriptAlgoEllipse(), C4MapScriptAlgoLines::C4MapScriptAlgoLines(), C4MapScriptAlgoOffset::C4MapScriptAlgoOffset(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRect::C4MapScriptAlgoRect(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4MapScriptAlgoRotate::C4MapScriptAlgoRotate(), C4MapScriptAlgoScale::C4MapScriptAlgoScale(), C4MapScriptAlgoTurbulence::C4MapScriptAlgoTurbulence(), C4Object::Contact(), C4Object::ContactAction(), C4Object::DoBreath(), C4Object::DoEnergy(), C4MouseControl::DragNone(), C4Object::Draw(), C4Object::DrawActionFace(), C4Game::DrawPropListSpecImage(), C4Object::DrawTopFace(), C4Command::Enter(), C4Object::ExecLife(), C4Object::ExecMovement(), C4ValueProviderAction::Execute(), C4Command::Exit(), C4Command::FlightControl(), C4SoundModifierList::Get(), C4SoundModifier::GetBoolProp(), C4SoundModifier::GetFloatProp(), C4Def::GetPlane(), C4PropList::GetPropertyInt(), C4Object::GetSolidMaskPlane(), C4Object::Init(), C4Object::IsVisible(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), ObjectComJump(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), C4Object::Push(), C4Command::Put(), C4Object::ResetProperty(), C4Object::SetAction(), C4Object::SetDir(), C4Object::SetOCF(), C4Object::SetPhase(), C4Object::SideBounds(), C4Command::Throw(), C4Object::UpdateActionFace(), C4MouseControl::UpdateCursorTarget(), C4GraphicsOverlay::UpdateFacet(), C4Object::UpdateFlipDir(), C4Object::UpdateOCF(), and C4Object::VerticalBounds().
|
inherited |
Definition at line 824 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyP(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, P_LAST, Strings, and C4Property::Value.
Referenced by C4Object::ContactAction(), C4GameObjects::CrossCheck(), C4Object::ExecMovement(), C4Object::GetProcedure(), C4PropList::GetPropertyP(), ObjectComDrop(), C4Object::SetAction(), C4Object::SideBounds(), and C4Object::VerticalBounds().
|
inherited |
Definition at line 869 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyPropList(), C4Value::getPropList(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MapScriptAlgoLayer::C4MapScriptAlgoLayer(), C4Game::DrawPropListSpecImage(), C4PropList::GetPropertyPropList(), and C4GameMessage::Init().
|
inherited |
Definition at line 744 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyStr(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4Game::DrawPropListSpecImage(), C4Object::ExecAction(), C4PropList::GetName(), C4PropListStatic::GetName(), C4PropList::GetPropertyStr(), C4Game::GetTranslatedString(), C4Object::SetAction(), C4Object::SetDir(), C4MouseControl::UpdateCursorTarget(), and C4GraphicsOverlay::UpdateFacet().
|
overridevirtualinherited |
Reimplemented from C4PropList.
Definition at line 151 of file C4PropList.cpp.
|
inlineinherited |
Definition at line 85 of file C4PropList.h.
References C4Value::_getPropList().
Referenced by C4PropList::begin(), C4FindObjectDef::Check(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropList::GetDef(), C4PropList::GetEffect(), C4PropList::GetFunc(), C4PropList::GetMapScriptLayer(), C4PropList::GetMapScriptMap(), C4PropList::GetObject(), C4PropList::GetProperties(), C4PropList::GetPropertyArray(), C4PropList::GetPropertyBool(), C4PropList::GetPropertyByS(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4PropList::GetPropertyPropList(), C4PropList::GetPropertyStr(), C4PropList::GetPropListNumbered(), C4PropList::GetSortedLocalProperties(), C4PropList::GetUnsortedProperties(), C4GameScriptHost::Load(), C4GameScriptHost::LoadData(), C4EditCursor::PerformDuplicationLegacy(), and C4PropList::SetPropertyByS().
|
inherited |
Definition at line 545 of file C4PropList.cpp.
References C4Set< T >::GetSortedListOfElementPointers(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4Game::GetTranslatedString().
|
inherited |
Definition at line 556 of file C4PropList.cpp.
References a, b, C4Set< T >::First(), C4PropList::GetPrototype(), C4PropList::HasProperty(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
|
inherited |
Definition at line 601 of file C4PropList.cpp.
References a, b, and C4PropList::GetUnsortedProperties().
|
inherited |
Definition at line 583 of file C4PropList.cpp.
References C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::GetSortedProperties(), and C4PropList::ThawRecursively().
|
inline |
Definition at line 313 of file C4MapScript.h.
|
inlineinherited |
Definition at line 122 of file C4PropList.h.
References C4Set< T >::Has().
Referenced by C4AulScriptEngine::GetFunctionNames(), C4PropList::GetSortedLocalProperties(), C4MapScriptAlgo::GetXYProps(), and C4AulCompiler::ConstantResolver::visit().
|
inline |
Definition at line 308 of file C4MapScript.h.
Referenced by Blit(), ConvertSkyToTransparent(), Fill(), FindPos(), GetBackPix(), GetPix(), GetPixCount(), and SetPix().
|
inlineinherited |
Definition at line 135 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively().
|
inlineoverridevirtualinherited |
|
inline |
Definition at line 320 of file C4MapScript.h.
References GetBackPix(), and GetPix().
|
inlinevirtualinherited |
Reimplemented in C4PropListStatic.
Definition at line 89 of file C4PropList.h.
Referenced by C4PropList::AppendDataString(), C4PropertyPath::C4PropertyPath(), C4Effect::CompileFunc(), C4Value::CompileFunc(), C4ScriptHost::CopyPropList(), C4Value::Denumerate(), C4AulExec::DirectExec(), C4PropList::FreezeAndMakeStaticRecursively(), C4ExtraScriptHost::GetPropList(), C4GameScriptHost::GetPropList(), C4PropList::ToJSON(), C4Value::ToJSON(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inlineinherited |
Definition at line 90 of file C4PropList.h.
References C4PropList::IsStatic().
Referenced by C4PropList::IsStatic().
|
staticinherited |
Definition at line 40 of file C4PropList.cpp.
Referenced by CompileNewFunc(), FnPlaceVegetation(), C4ScriptGuiWindowProperty::ToC4Value(), C4ScriptGuiWindow::ToC4Value(), and C4AulCompiler::ConstexprEvaluator::visit().
|
staticinherited |
Definition at line 46 of file C4PropList.cpp.
Referenced by C4PropListScen::C4PropListScen(), C4ScriptHost::CopyPropList(), C4PropList::FreezeAndMakeStaticRecursively(), C4ScenarioParameterDefs::RegisterScriptConstants(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inherited |
Definition at line 348 of file C4PropList.cpp.
References b, C4Set< T >::First(), C4PropList::GetDef(), C4Set< T >::GetSize(), C4PropList::IsNumbered(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
|
inline |
Definition at line 304 of file C4MapScript.h.
|
inherited |
Definition at line 399 of file C4PropList.cpp.
References C4Value::getPropList(), and C4Value::Set0().
Referenced by C4PropList::Denumerate().
|
staticinherited |
Definition at line 75 of file C4PropList.cpp.
References C4PropListNumbered::EnumerationIndex, C4Set< T >::GetSize(), and C4PropListNumbered::PropLists.
Referenced by C4Game::Clear().
|
virtualinherited |
Reimplemented in C4Effect, and C4Object.
Definition at line 961 of file C4PropList.cpp.
References C4StringTable::P, P_Prototype, C4Set< T >::Remove(), C4Value::Set0(), and Strings.
Referenced by C4Object::ResetProperty(), C4Effect::ResetProperty(), C4PropList::SetName(), and C4ScriptHost::UnlinkOwnedFunctions().
|
staticinherited |
Definition at line 69 of file C4PropList.cpp.
References C4PropListNumbered::EnumerationIndex.
Referenced by C4Game::CheckObjectEnumeration(), and C4GameObjects::PostLoad().
|
virtualinherited |
Reimplemented in C4Object.
Definition at line 625 of file C4PropList.cpp.
References C4VString(), C4StringTable::P, P_Name, C4PropList::ResetProperty(), C4PropList::SetProperty(), and Strings.
Referenced by c4_mapgen_handle_set_map_library(), C4MapScriptHost::InitFunctionMap(), and C4Object::SetName().
|
inlinevirtualinherited |
Reimplemented in C4Object.
Definition at line 73 of file C4PropList.h.
Referenced by C4Effect::ClearAll(), C4Effect::Init(), C4Effect::Kill(), C4Effect::TempReaddUpperEffects(), and C4Effect::TempRemoveUpperEffects().
|
inline |
Definition at line 319 of file C4MapScript.h.
References HasSurface().
|
inlineinherited |
Definition at line 124 of file C4PropList.h.
References C4StringTable::P, C4PropList::SetPropertyByS(), and Strings.
Referenced by C4Game::AllocateTranslatedString(), C4Effect::C4Effect(), C4Object::ChangeDef(), C4Object::Init(), C4DefScriptHost::Parse(), C4ScriptHost::Preparse(), C4Object::SetAction(), C4PropList::SetName(), C4ScriptGuiWindow::ToC4Value(), C4ScriptHost::UnLink(), and UpdateSurfaceSize().
Reimplemented in C4PropListScen, C4Effect, and C4Object.
Definition at line 940 of file C4PropList.cpp.
References C4Set< T >::Add(), C4Set< T >::Get(), C4Value::getPropList(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, P_Prototype, C4Value::SetPropList(), Strings, and C4Property::Value.
Referenced by C4AulDefFunc::C4AulDefFunc(), C4AulEngineFunc< RType, ThisType, ParTypes >::C4AulEngineFunc(), C4PropListScen::C4PropListScen(), C4ScriptHost::CopyPropList(), C4PropList::SetProperty(), C4Object::SetPropertyByS(), C4Effect::SetPropertyByS(), C4PropListScen::SetPropertyByS(), C4ScriptGuiWindowProperty::ToC4Value(), C4ScriptGuiWindow::ToC4Value(), C4ScriptHost::UnlinkOwnedFunctions(), C4AulCompiler::PreparseAstVisitor::visit(), C4AulCompiler::ConstexprEvaluator::visit(), and C4AulCompiler::ConstantResolver::visit().
|
inline |
Definition at line 298 of file C4MapScript.h.
References UpdateSurfaceSize().
|
staticinherited |
Definition at line 81 of file C4PropList.cpp.
References C4PropListNumbered::ClearNumber(), C4Set< T >::First(), C4Set< T >::GetSize(), C4Set< T >::Next(), C4PropListNumbered::Number, C4PropListNumbered::PropLists, and C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::CompileFunc().
|
inlineinherited |
Definition at line 133 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively(), and C4ScriptHost::UnlinkOwnedFunctions().
|
inherited |
Definition at line 259 of file C4PropList.cpp.
References C4PropList::GetPropertyByS(), C4AulScriptEngine::GetPropList(), C4Value::getPropList(), C4PropList::GetUnsortedProperties(), C4PropList::IsFrozen(), ScriptEngine, C4PropList::Thaw(), and C4PropList::ThawRecursively().
Referenced by C4PropList::ThawRecursively(), and C4AulScriptEngine::UnLink().
|
inherited |
Definition at line 515 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::C4Value, C4PropList::end(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), C4PropList::IsStatic(), and C4Value::ToJSON().
Referenced by C4Value::ToJSON().
|
staticinherited |
Definition at line 99 of file C4PropList.cpp.
References C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::LoadScenarioSection(), and C4GameObjects::PostLoad().
void C4MapScriptLayer::UpdateSurfaceSize | ( | ) |
Definition at line 481 of file C4MapScript.cpp.
References C4VInt(), P_Hgt, P_Wdt, and C4PropList::SetProperty().
Referenced by CreateSurface(), and SetSurfaces().
|
staticprotectedinherited |
Definition at line 243 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4Game::CompileFunc(), C4PropListNumbered::GetEnumerationIndex(), C4PropListNumbered::ResetEnumerationIndex(), and C4PropListNumbered::SetEnumerationIndex().
|
protected |
Definition at line 287 of file C4MapScript.h.
Referenced by C4MapScriptMap::C4MapScriptMap(), and GetMap().
|
inherited |
Definition at line 221 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4ControlPlayerAction::ActivateGoal(), C4Object::AssignRemoval(), C4PropertyPath::C4PropertyPath(), C4Game::CheckObjectEnumeration(), C4PropListNumbered::ClearNumber(), C4Effect::CompileFunc(), C4Value::CompileFunc(), C4ObjectList::CompileFunc(), C4PropListNumbered::CompileFunc(), C4LArea::DebugRec(), C4AulExec::DirectExec(), C4EditCursor::DoContextMenu(), C4EditCursor::DoContextObjCommand(), C4ObjectMenu::DoRefillInternal(), C4ControlPlayerMouse::DragDrop(), C4EditCursor::EMMoveObject(), C4Object::Execute(), C4GameObjects::FixObjectOrder(), C4Object::GetInfoString(), C4ControlPlayerMouse::Hover(), C4ChatInputDialog::OnChatCancel(), C4ChatInputDialog::OnChatInput(), C4GameObjects::PostLoad(), C4LSectors::Remove(), C4Object::SetOCF(), C4PropListNumbered::ShelveNumberedPropLists(), C4ObjectList::Write(), and C4PropListNumbered::~C4PropListNumbered().
|
staticprotectedinherited |
Definition at line 241 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4PropListNumbered::CheckPropList(), C4PropListNumbered::ClearNumber(), C4PropListNumbered::ClearNumberedPropLists(), C4PropListNumbered::CompileFunc(), C4PropListNumbered::GetByNumber(), C4PropListNumbered::ResetEnumerationIndex(), C4PropListNumbered::ShelveNumberedPropLists(), and C4PropListNumbered::~C4PropListNumbered().
|
staticprotectedinherited |
Definition at line 242 of file C4PropList.h.
Referenced by C4PropListNumbered::ClearShelve(), C4PropListNumbered::ShelveNumberedPropLists(), and C4PropListNumbered::UnshelveNumberedPropLists().
|
inherited |
Definition at line 173 of file C4PropList.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), C4GameObjects::Add(), C4ObjectList::Add(), C4FoW::Add(), C4EditCursor::AddToSelection(), C4Object::AssignDeath(), C4ObjectList::AssignInfo(), C4Object::AssignRemoval(), C4Object::At(), C4PropList::Call(), C4Game::CastObjects(), C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), C4Effect::ClearAll(), C4ObjectList::ClearInfo(), C4Object::Collect(), C4ObjectList::CompileFunc(), C4Object::CompileFunc(), C4GameObjects::CrossCheck(), C4ObjectList::DeleteObjects(), C4ObjectList::Denumerate(), C4Landscape::P::DigMaterial2Objects(), C4Object::DirectComContents(), C4Effect::DoDamage(), C4Object::Draw(), C4Game::DrawCrewOverheadText(), C4Object::DrawSelectMark(), C4Object::DrawTopFace(), C4EditCursor::EMMoveObject(), C4Object::Enter(), C4Object::Execute(), C4SoundInstance::Execute(), C4Effect::Execute(), C4ScriptGuiWindowAction::ExecuteCommand(), C4Command::Fail(), C4ObjectList::Find(), C4FindObject::Find(), C4ObjectList::FindOther(), C4GameObjects::FixObjectOrder(), C4PropList::FreezeAndMakeStaticRecursively(), C4Object::GetArea(), C4EditCursor::GetCurrentSelectionPosition(), C4Object::GetEntranceArea(), C4Object::GetInfoString(), C4ObjectList::GetListID(), C4Object::GetMomentum(), C4ObjectList::GetObject(), C4Object::GrabInfo(), GrabLost(), C4GameObjects::GRBroadcast(), C4Effect::Init(), C4GameMessage::Init(), C4Object::IsMoveableBySolidMask(), C4GraphicsOverlay::IsValid(), C4Object::Lift(), C4Player::MakeCrewMember(), C4ObjectList::MassCount(), C4Object::MenuCommand(), C4GameMessageList::New(), C4Game::NewObject(), ObjectComGrab(), ObjectComUnGrab(), C4ObjectList::ObjectCount(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), C4GameObjects::PostLoad(), C4Object::Push(), C4GameObjects::Remove(), C4EditCursor::RemoveFromSelection(), C4AulScriptContext::ReturnDump(), C4GameObjects::SafeObjectPointer(), C4Object::SetAction(), C4Object::SetGraphics(), C4GameObjects::SetOCF(), C4Object::SetOCF(), C4Object::StatusActivate(), C4Object::StatusDeactivate(), C4Effect::TempReaddUpperEffects(), C4Effect::TempRemoveUpperEffects(), C4ObjectList::UpdateFaces(), C4ObjectList::UpdateGraphics(), C4Object::UpdateOCF(), C4Object::UpdatePos(), C4Object::UpdateSolidMask(), C4GameObjects::UpdateSolidMasks(), C4ObjectList::ValidateOwners(), and C4ObjectList::Write().