Public Member Functions | |
void | ClearMatCount () |
void | ExecuteScan (C4Landscape *) |
int32_t | DoScan (C4Landscape *, int32_t x, int32_t y, int32_t mat, int32_t dir) |
uint32_t | ChunkyRandom (uint32_t &iOffset, uint32_t iRange) const |
void | DrawChunk (C4Landscape *, int32_t tx, int32_t ty, int32_t wdt, int32_t hgt, uint8_t mcol, uint8_t mcolBkg, C4MaterialCoreShape Shape, uint32_t cro) |
void | DrawSmoothOChunk (C4Landscape *, int32_t tx, int32_t ty, int32_t wdt, int32_t hgt, uint8_t mcol, uint8_t mcolBkg, int flip, uint32_t cro) |
void | ChunkOZoom (C4Landscape *, const CSurface8 &sfcMap, const CSurface8 &sfcMapBkg, int32_t iMapX, int32_t iMapY, int32_t iMapWdt, int32_t iMapHgt, uint8_t iTexture, int32_t iOffX=0, int32_t iOffY=0) |
bool | TexOZoom (C4Landscape *, const CSurface8 &sfcMap, const CSurface8 &sfcMapBkg, int32_t iMapX, int32_t iMapY, int32_t iMapWdt, int32_t iMapHgt, DWORD *dwpTextureUsage, int32_t iToX=0, int32_t iToY=0) |
bool | MapToSurface (C4Landscape *, const CSurface8 &sfcMap, const CSurface8 &sfcMapBkg, int32_t iMapX, int32_t iMapY, int32_t iMapWdt, int32_t iMapHgt, int32_t iToX, int32_t iToY, int32_t iToWdt, int32_t iToHgt, int32_t iOffX, int32_t iOffY) |
bool | MapToLandscape (C4Landscape *d, const CSurface8 &sfcMap, const CSurface8 &sfcMapBkg, int32_t iMapX, int32_t iMapY, int32_t iMapWdt, int32_t iMapHgt, int32_t iOffsX=0, int32_t iOffsY=0, bool noClear=false) |
bool | InitBorderPix () |
bool | GetMapColorIndex (const char *szMaterial, const char *szTexture, BYTE &rbyCol) const |
bool | CreateMap (CSurface8 *&sfcMap, CSurface8 *&sfcMapBkg) |
bool | CreateMapS2 (C4Group &ScenFile, CSurface8 *&sfcMap, CSurface8 *&sfcMapBkg) |
bool | Mat2Pal () |
void | UpdatePixCnt (const C4Landscape *, const C4Rect &Rect, bool fCheck=false) |
void | UpdateMatCnt (const C4Landscape *, C4Rect Rect, bool fPlus) |
void | PrepareChange (const C4Landscape *d, const C4Rect &BoundingBox, bool updateMatCnt=true) |
void | FinishChange (C4Landscape *d, C4Rect BoundingBox, bool updateMatAndPixCnt=true) |
bool | DrawLineLandscape (int32_t iX, int32_t iY, int32_t iGrade, uint8_t line_color, uint8_t line_color_bkg) |
bool | DrawLineMap (int32_t iX, int32_t iY, int32_t iRadius, uint8_t line_color, uint8_t line_color_bkg) |
uint8_t * | GetBridgeMatConversion (const C4Landscape *d, int32_t for_material_col) const |
bool | SaveInternal (const C4Landscape *d, C4Group &hGroup) const |
bool | SaveDiffInternal (const C4Landscape *d, C4Group &hGroup, bool fSyncSave) const |
int32_t | ForPolygon (C4Landscape *d, int *vtcs, int length, const std::function< bool(int32_t, int32_t)> &callback, C4MaterialList *mats_count=nullptr, uint8_t col=0, uint8_t colBkg=0, uint8_t *conversion_table=nullptr) |
std::unique_ptr< CSurface8 > | CreateDefaultBkgSurface (CSurface8 &sfcFg, bool msbAsIft) const |
void | DigMaterial2Objects (int32_t tx, int32_t ty, C4MaterialList *mat_list, C4Object *pCollect=nullptr) |
void | BlastMaterial2Objects (int32_t tx, int32_t ty, C4MaterialList *mat_list, int32_t caused_by, int32_t str, C4ValueArray *out_objects) |
bool | DigFreePix (C4Landscape *d, int32_t tx, int32_t ty) |
bool | DigFreePixNoInstability (C4Landscape *d, int32_t tx, int32_t ty) |
bool | BlastFreePix (C4Landscape *d, int32_t tx, int32_t ty) |
bool | ShakeFreePix (C4Landscape *d, int32_t tx, int32_t ty) |
C4ValueArray * | PrepareFreeShape (C4Rect &BoundingBox, C4Object *by_object) |
void | PostFreeShape (C4ValueArray *dig_objects, C4Object *by_object) |
BYTE | DefaultBkgMat (BYTE fg) const |
Public Attributes | |
std::unique_ptr< CSurface8 > | Surface8 |
std::unique_ptr< CSurface8 > | Surface8Bkg |
std::unique_ptr< CSurface8 > | Map |
std::unique_ptr< CSurface8 > | MapBkg |
std::unique_ptr< C4LandscapeRender > | pLandscapeRender |
std::vector< uint8_t > | TopRowPix |
std::vector< uint8_t > | BottomRowPix |
std::vector< uint8_t > | LeftColPix |
std::vector< uint8_t > | RightColPix |
int32_t | Pix2Mat [C4M_MaxTexIndex] |
int32_t | Pix2Dens [C4M_MaxTexIndex] |
int32_t | Pix2Place [C4M_MaxTexIndex] |
bool | Pix2Light [C4M_MaxTexIndex] |
int32_t | PixCntPitch = 0 |
std::vector< uint8_t > | PixCnt |
std::array< C4Rect, C4LS_MaxRelights > | Relights |
std::array< std::unique_ptr< uint8_t[]>, C4M_MaxTexIndex > | BridgeMatConversion |
LandscapeMode | mode = LandscapeMode::Undefined |
int32_t | Width = 0 |
int32_t | Height = 0 |
int32_t | MapWidth = 0 |
int32_t | MapHeight = 0 |
int32_t | MapZoom = 0 |
std::array< DWORD, C4MaxMaterial > | MatCount {} |
std::array< DWORD, C4MaxMaterial > | EffectiveMatCount {} |
bool | NoScan = false |
int32_t | ScanX = 0 |
int32_t | ScanSpeed = 2 |
C4Real | Gravity = DefaultGravAccel |
uint32_t | Modulation = 0 |
int32_t | MapSeed = 0 |
C4Sky | Sky |
std::unique_ptr< C4MapCreatorS2 > | pMapCreator |
bool | fMapChanged = false |
std::unique_ptr< BYTE[]> | pInitial |
std::unique_ptr< BYTE[]> | pInitialBkg |
std::unique_ptr< C4FoW > | pFoW |
Definition at line 52 of file C4Landscape.cpp.
bool C4Landscape::P::BlastFreePix | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty | ||
) |
Definition at line 737 of file C4Landscape.cpp.
References C4MaterialCore::BlastFree, C4Material::BlastShiftTo, C4Landscape::CheckInstabilityRange(), C4Landscape::ClearPix(), C4Landscape::GetMat(), C4MaterialMap::Map, MaterialMap, MatTex2PixCol(), MatValid(), C4Landscape::SetPix2(), and C4Landscape::Transparent.
void C4Landscape::P::BlastMaterial2Objects | ( | int32_t | tx, |
int32_t | ty, | ||
C4MaterialList * | mat_list, | ||
int32_t | caused_by, | ||
int32_t | str, | ||
C4ValueArray * | out_objects | ||
) |
Definition at line 641 of file C4Landscape.cpp.
References C4MaterialList::Amount, C4MaterialCore::Blast2Object, C4MaterialCore::Blast2ObjectRatio, C4MaterialCore::Blast2PXSRatio, C4PXSSystem::Cast(), C4Game::CastObjects(), Game, C4MaterialMap::Map, MaterialMap, NO_OWNER, C4ID::None, C4MaterialMap::Num, and PXS.
void C4Landscape::P::ChunkOZoom | ( | C4Landscape * | d, |
const CSurface8 & | sfcMap, | ||
const CSurface8 & | sfcMapBkg, | ||
int32_t | iMapX, | ||
int32_t | iMapY, | ||
int32_t | iMapWdt, | ||
int32_t | iMapHgt, | ||
uint8_t | iTexture, | ||
int32_t | iOffX = 0 , |
||
int32_t | iOffY = 0 |
||
) |
Definition at line 2187 of file C4Landscape.cpp.
References CSurface8::_GetPix(), C4M_Flat, C4M_Octagon, C4M_Smooth, C4M_Smoother, C4Game::C4S, C4TextureShape::Draw(), C4SLandscape::FlatChunkShapes, Game, C4TextureMap::GetEntry(), C4TexMapEntry::GetMaterial(), C4Texture::GetMaterialShape(), CSurface8::GetPix(), CSurface8::GetSurfaceSize(), C4TextureMap::GetTexture(), C4TexMapEntry::GetTextureName(), C4Scenario::Landscape, C4ScriptGuiWindowPropertyName::left, C4MaterialCore::MapChunkType, C4MaterialCore::MinShapeOverlap, C4ScriptGuiWindowPropertyName::right, and TextureMap.
uint32_t C4Landscape::P::ChunkyRandom | ( | uint32_t & | iOffset, |
uint32_t | iRange | ||
) | const |
Definition at line 2117 of file C4Landscape.cpp.
void C4Landscape::P::ClearMatCount | ( | ) |
Definition at line 1931 of file C4Landscape.cpp.
std::unique_ptr< CSurface8 > C4Landscape::P::CreateDefaultBkgSurface | ( | CSurface8 & | sfcFg, |
bool | msbAsIft | ||
) | const |
Definition at line 1101 of file C4Landscape.cpp.
References CSurface8::_GetPix(), CSurface8::_SetPix(), CSurface8::Hgt, and CSurface8::Wdt.
Definition at line 2404 of file C4Landscape.cpp.
References C4Game::C4S, C4MapCreator::Create(), Game, C4SLandscape::GetMapSize(), C4Scenario::Landscape, C4Game::StartupPlayerCount, and TextureMap.
bool C4Landscape::P::CreateMapS2 | ( | C4Group & | ScenFile, |
CSurface8 *& | sfcMap, | ||
CSurface8 *& | sfcMapBkg | ||
) |
Definition at line 2427 of file C4Landscape.cpp.
References C4Group::AccessEntry(), C4CFN_DynLandscape, C4Game::C4S, Game, C4Scenario::Landscape, MaterialMap, C4Game::StartupPlayerCount, and TextureMap.
Definition at line 1096 of file C4Landscape.cpp.
References C4TextureMap::DefaultBkgMatTex(), and TextureMap.
bool C4Landscape::P::DigFreePix | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty | ||
) |
Definition at line 723 of file C4Landscape.cpp.
References C4Landscape::CheckInstabilityRange(), C4Landscape::ClearPix(), C4MaterialCore::DigFree, C4Landscape::GetMat(), C4MaterialMap::Map, MaterialMap, and MatValid().
bool C4Landscape::P::DigFreePixNoInstability | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty | ||
) |
Definition at line 711 of file C4Landscape.cpp.
References C4Landscape::ClearPix(), C4MaterialCore::DigFree, C4Landscape::GetMat(), C4MaterialMap::Map, MaterialMap, and MatValid().
void C4Landscape::P::DigMaterial2Objects | ( | int32_t | tx, |
int32_t | ty, | ||
C4MaterialList * | mat_list, | ||
C4Object * | pCollect = nullptr |
||
) |
Definition at line 671 of file C4Landscape.cpp.
References C4MaterialList::Amount, C4Object::AssignRemoval(), C4VObj(), C4PropList::Call(), C4Object::Collect(), C4Object::Contained, C4Object::Controller, C4Game::CreateObject(), C4MaterialCore::Dig2Object, C4MaterialCore::Dig2ObjectCollect, C4MaterialCore::Dig2ObjectRatio, Game, C4MaterialMap::Map, MaterialMap, NO_OWNER, C4ID::None, C4MaterialMap::Num, PSF_DigOutObject, PSF_OnDugOut, and C4PropList::Status.
int32_t C4Landscape::P::DoScan | ( | C4Landscape * | d, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | mat, | ||
int32_t | dir | ||
) |
Definition at line 274 of file C4Landscape.cpp.
References C4Landscape::_GetMat(), C4Landscape::_GetPix(), C4MaterialCore::AboveTempConvert, C4MaterialCore::AboveTempConvertDir, C4Material::AboveTempConvertTo, Abs(), AddDbgRec(), C4MaterialCore::BelowTempConvert, C4MaterialCore::BelowTempConvertDir, C4Material::BelowTempConvertTo, C4Landscape::CheckInstabilityRange(), Config, C4ConfigGeneral::DebugRec, DEBUGREC_MATSCAN, C4MaterialCore::Density, DensitySolid(), C4Config::General, C4TextureMap::GetEntry(), C4Landscape::GetHeight(), C4TexMapEntry::GetMaterialIndex(), C4Weather::GetTemperature(), C4Landscape::GetWidth(), Landscape, C4MaterialMap::Map, MaterialMap, MatTex2PixCol(), PixCol2Mat(), RCT_MatScanDo, C4Landscape::SetPix2(), C4MaterialCore::TempConvStrength, TextureMap, C4Landscape::Transparent, and Weather.
Referenced by ExecuteScan().
void C4Landscape::P::DrawChunk | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty, | ||
int32_t | wdt, | ||
int32_t | hgt, | ||
uint8_t | mcol, | ||
uint8_t | mcolBkg, | ||
C4MaterialCoreShape | Shape, | ||
uint32_t | cro | ||
) |
Definition at line 2124 of file C4Landscape.cpp.
References C4M_Flat, C4M_Octagon, C4M_Rough, C4M_Smooth, C4M_Smoother, C4M_TopFlat, and C4Landscape::Transparent.
bool C4Landscape::P::DrawLineLandscape | ( | int32_t | iX, |
int32_t | iY, | ||
int32_t | iGrade, | ||
uint8_t | line_color, | ||
uint8_t | line_color_bkg | ||
) |
Definition at line 3471 of file C4Landscape.cpp.
bool C4Landscape::P::DrawLineMap | ( | int32_t | iX, |
int32_t | iY, | ||
int32_t | iRadius, | ||
uint8_t | line_color, | ||
uint8_t | line_color_bkg | ||
) |
Definition at line 3478 of file C4Landscape.cpp.
void C4Landscape::P::DrawSmoothOChunk | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty, | ||
int32_t | wdt, | ||
int32_t | hgt, | ||
uint8_t | mcol, | ||
uint8_t | mcolBkg, | ||
int | flip, | ||
uint32_t | cro | ||
) |
Definition at line 2162 of file C4Landscape.cpp.
void C4Landscape::P::ExecuteScan | ( | C4Landscape * | d | ) |
Definition at line 220 of file C4Landscape.cpp.
References C4Landscape::_GetMat(), C4MaterialCore::AboveTempConvert, C4Material::AboveTempConvertTo, AddDbgRec(), C4MaterialCore::BelowTempConvert, C4Material::BelowTempConvertTo, Config, C4ConfigGeneral::DebugRec, DEBUGREC_MATSCAN, DoScan(), C4Config::General, C4Weather::GetTemperature(), Height, C4MaterialMap::Map, MatCount, MaterialMap, C4MaterialMap::Num, RCT_MatScan, ScanSpeed, ScanX, Weather, and Width.
void C4Landscape::P::FinishChange | ( | C4Landscape * | d, |
C4Rect | BoundingBox, | ||
bool | updateMatAndPixCnt = true |
||
) |
Definition at line 3927 of file C4Landscape.cpp.
References C4SolidMask::CheckConsistency(), C4SolidMask::First, C4Rect::Hgt, C4Rect::Intersect(), C4SolidMask::Next, and C4Rect::Wdt.
int32_t C4Landscape::P::ForPolygon | ( | C4Landscape * | d, |
int * | vtcs, | ||
int | length, | ||
const std::function< bool(int32_t, int32_t)> & | callback, | ||
C4MaterialList * | mats_count = nullptr , |
||
uint8_t | col = 0 , |
||
uint8_t | colBkg = 0 , |
||
uint8_t * | conversion_table = nullptr |
||
) |
Definition at line 1216 of file C4Landscape.cpp.
References C4ScriptGuiWindowPropertyName::bottom, QuickPolyBuf, QuickPolyBufSize, C4ScriptGuiWindowPropertyName::top, and CPolyEdge::y.
uint8_t * C4Landscape::P::GetBridgeMatConversion | ( | const C4Landscape * | d, |
int32_t | for_material_col | ||
) | const |
Definition at line 3864 of file C4Landscape.cpp.
References C4M_MaxTexIndex, C4Landscape::GetPixDensity(), C4Landscape::GetPixMat(), MatDensity(), MaterialMap, and C4MaterialMap::Num.
bool C4Landscape::P::GetMapColorIndex | ( | const char * | szMaterial, |
const char * | szTexture, | ||
BYTE & | rbyCol | ||
) | const |
Definition at line 3400 of file C4Landscape.cpp.
References C4TLS_MatSky, C4TextureMap::GetIndex(), SEqual(), and TextureMap.
bool C4Landscape::P::InitBorderPix | ( | ) |
Definition at line 2024 of file C4Landscape.cpp.
References C4SLandscape::AutoScanSideOpen, C4SLandscape::BottomOpen, C4Game::C4S, Game, C4Scenario::Landscape, C4SLandscape::LeftOpen, MCVehic, C4SLandscape::RightOpen, C4SLandscape::TopOpen, CPolyEdge::x, and CPolyEdge::y.
bool C4Landscape::P::MapToLandscape | ( | C4Landscape * | d, |
const CSurface8 & | sfcMap, | ||
const CSurface8 & | sfcMapBkg, | ||
int32_t | iMapX, | ||
int32_t | iMapY, | ||
int32_t | iMapWdt, | ||
int32_t | iMapHgt, | ||
int32_t | iOffsX = 0 , |
||
int32_t | iOffsY = 0 , |
||
bool | noClear = false |
||
) |
Definition at line 2369 of file C4Landscape.cpp.
References CSurface8::GetSurfaceSize(), C4Rect::Hgt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
bool C4Landscape::P::MapToSurface | ( | C4Landscape * | d, |
const CSurface8 & | sfcMap, | ||
const CSurface8 & | sfcMapBkg, | ||
int32_t | iMapX, | ||
int32_t | iMapY, | ||
int32_t | iMapWdt, | ||
int32_t | iMapHgt, | ||
int32_t | iToX, | ||
int32_t | iToY, | ||
int32_t | iToWdt, | ||
int32_t | iToHgt, | ||
int32_t | iOffX, | ||
int32_t | iOffY | ||
) |
Definition at line 2341 of file C4Landscape.cpp.
References C4M_MaxTexIndex, MaterialMap, C4MaterialMap::max_shape_height, C4MaterialMap::max_shape_width, C4Draw::NoPrimaryClipper(), and pDraw.
bool C4Landscape::P::Mat2Pal | ( | ) |
Definition at line 4238 of file C4Landscape.cpp.
References C4M_MaxTexIndex, C4TextureMap::GetEntry(), C4TexMapEntry::GetPattern(), C4TexMapEntry::isNull(), MatTex2PixCol(), C4Pattern::PatternClr(), and TextureMap.
void C4Landscape::P::PostFreeShape | ( | C4ValueArray * | dig_objects, |
C4Object * | by_object | ||
) |
Definition at line 530 of file C4Landscape.cpp.
References C4PropList::Call(), C4Object::Contained, GBackSolid(), C4ValueArray::GetItem(), C4Value::getObj(), C4ValueArray::GetSize(), C4Object::GetX(), C4Object::GetY(), PSF_DigOutObject, PSF_OnDugOut, and C4PropList::Status.
void C4Landscape::P::PrepareChange | ( | const C4Landscape * | d, |
const C4Rect & | BoundingBox, | ||
bool | updateMatCnt = true |
||
) |
Definition at line 3914 of file C4Landscape.cpp.
References C4SolidMask::Last, and C4SolidMask::Prev.
C4ValueArray * C4Landscape::P::PrepareFreeShape | ( | C4Rect & | BoundingBox, |
C4Object * | by_object | ||
) |
Definition at line 519 of file C4Landscape.cpp.
References C4FindObject::FindMany(), C4Object::Layer, Objects, OCF_InSolid, and C4GameObjects::Sectors.
bool C4Landscape::P::SaveDiffInternal | ( | const C4Landscape * | d, |
C4Group & | hGroup, | ||
bool | fSyncSave | ||
) | const |
Definition at line 1742 of file C4Landscape.cpp.
References C4Config::AtTempPath(), C4CFN_DiffLandscape, C4CFN_DiffLandscapeBkg, C4CFN_TempLandscape, C4CFN_TempLandscapeBkg, C4M_MaxTexIndex, Config, C4Group::Move(), C4Landscape::SaveMap(), C4Landscape::SaveTextures(), CPolyEdge::x, and CPolyEdge::y.
bool C4Landscape::P::SaveInternal | ( | const C4Landscape * | d, |
C4Group & | hGroup | ||
) | const |
Definition at line 1701 of file C4Landscape.cpp.
References _MAX_PATH_LEN, C4Config::AtTempPath(), C4CFN_LandscapeBg, C4CFN_LandscapeFg, C4CFN_TempLandscape, C4CFN_TempLandscapeBkg, Config, MakeTempFilename(), C4Group::Move(), C4Landscape::SaveMap(), C4Landscape::SaveTextures(), and SCopy().
bool C4Landscape::P::ShakeFreePix | ( | C4Landscape * | d, |
int32_t | tx, | ||
int32_t | ty | ||
) |
Definition at line 757 of file C4Landscape.cpp.
References C4Landscape::CheckInstabilityRange(), C4Landscape::ClearPix(), C4PXSSystem::Create(), C4MaterialCore::DigFree, C4Landscape::GetMat(), itofix(), C4MaterialMap::Map, MaterialMap, MatValid(), and PXS.
bool C4Landscape::P::TexOZoom | ( | C4Landscape * | d, |
const CSurface8 & | sfcMap, | ||
const CSurface8 & | sfcMapBkg, | ||
int32_t | iMapX, | ||
int32_t | iMapY, | ||
int32_t | iMapWdt, | ||
int32_t | iMapHgt, | ||
DWORD * | dwpTextureUsage, | ||
int32_t | iToX = 0 , |
||
int32_t | iToY = 0 |
||
) |
Definition at line 2325 of file C4Landscape.cpp.
References C4TextureMap::Order, and TextureMap.
void C4Landscape::P::UpdateMatCnt | ( | const C4Landscape * | d, |
C4Rect | Rect, | ||
bool | fPlus | ||
) |
Definition at line 4275 of file C4Landscape.cpp.
References C4Landscape::_GetMat(), C4Landscape::GetMatHeight(), C4Rect::Hgt, C4Rect::Intersect(), C4MaterialMap::Map, MaterialMap, C4MaterialCore::MinHeightCount, C4Rect::Wdt, CPolyEdge::x, C4Rect::x, CPolyEdge::y, and C4Rect::y.
void C4Landscape::P::UpdatePixCnt | ( | const C4Landscape * | d, |
const C4Rect & | Rect, | ||
bool | fCheck = false |
||
) |
Definition at line 4258 of file C4Landscape.cpp.
References C4Landscape::_GetDensity(), C4Rect::Hgt, iCnt, C4Rect::Wdt, CPolyEdge::x, C4Rect::x, CPolyEdge::y, and C4Rect::y.
std::vector<uint8_t> C4Landscape::P::BottomRowPix |
Definition at line 60 of file C4Landscape.cpp.
|
mutable |
Definition at line 66 of file C4Landscape.cpp.
std::array<DWORD, C4MaxMaterial> C4Landscape::P::EffectiveMatCount {} |
Definition at line 72 of file C4Landscape.cpp.
bool C4Landscape::P::fMapChanged = false |
Definition at line 81 of file C4Landscape.cpp.
C4Real C4Landscape::P::Gravity = DefaultGravAccel |
Definition at line 76 of file C4Landscape.cpp.
int32_t C4Landscape::P::Height = 0 |
Definition at line 69 of file C4Landscape.cpp.
Referenced by ExecuteScan().
std::vector<uint8_t> C4Landscape::P::LeftColPix |
Definition at line 60 of file C4Landscape.cpp.
std::unique_ptr<CSurface8> C4Landscape::P::Map |
Definition at line 56 of file C4Landscape.cpp.
std::unique_ptr<CSurface8> C4Landscape::P::MapBkg |
Definition at line 57 of file C4Landscape.cpp.
int32_t C4Landscape::P::MapHeight = 0 |
Definition at line 70 of file C4Landscape.cpp.
int32_t C4Landscape::P::MapSeed = 0 |
Definition at line 78 of file C4Landscape.cpp.
int32_t C4Landscape::P::MapWidth = 0 |
Definition at line 70 of file C4Landscape.cpp.
int32_t C4Landscape::P::MapZoom = 0 |
Definition at line 70 of file C4Landscape.cpp.
std::array<DWORD, C4MaxMaterial> C4Landscape::P::MatCount {} |
Definition at line 71 of file C4Landscape.cpp.
Referenced by ExecuteScan().
LandscapeMode C4Landscape::P::mode = LandscapeMode::Undefined |
Definition at line 68 of file C4Landscape.cpp.
uint32_t C4Landscape::P::Modulation = 0 |
Definition at line 77 of file C4Landscape.cpp.
bool C4Landscape::P::NoScan = false |
Definition at line 74 of file C4Landscape.cpp.
std::unique_ptr<C4FoW> C4Landscape::P::pFoW |
Definition at line 84 of file C4Landscape.cpp.
std::unique_ptr<BYTE[]> C4Landscape::P::pInitial |
Definition at line 82 of file C4Landscape.cpp.
std::unique_ptr<BYTE[]> C4Landscape::P::pInitialBkg |
Definition at line 83 of file C4Landscape.cpp.
int32_t C4Landscape::P::Pix2Dens |
Definition at line 61 of file C4Landscape.cpp.
bool C4Landscape::P::Pix2Light |
Definition at line 62 of file C4Landscape.cpp.
int32_t C4Landscape::P::Pix2Mat |
Definition at line 61 of file C4Landscape.cpp.
int32_t C4Landscape::P::Pix2Place |
Definition at line 61 of file C4Landscape.cpp.
std::vector<uint8_t> C4Landscape::P::PixCnt |
Definition at line 64 of file C4Landscape.cpp.
int32_t C4Landscape::P::PixCntPitch = 0 |
Definition at line 63 of file C4Landscape.cpp.
std::unique_ptr<C4LandscapeRender> C4Landscape::P::pLandscapeRender |
Definition at line 58 of file C4Landscape.cpp.
std::unique_ptr<C4MapCreatorS2> C4Landscape::P::pMapCreator |
Definition at line 80 of file C4Landscape.cpp.
std::array<C4Rect, C4LS_MaxRelights> C4Landscape::P::Relights |
Definition at line 65 of file C4Landscape.cpp.
std::vector<uint8_t> C4Landscape::P::RightColPix |
Definition at line 60 of file C4Landscape.cpp.
int32_t C4Landscape::P::ScanSpeed = 2 |
Definition at line 75 of file C4Landscape.cpp.
Referenced by ExecuteScan().
int32_t C4Landscape::P::ScanX = 0 |
Definition at line 75 of file C4Landscape.cpp.
Referenced by ExecuteScan().
C4Sky C4Landscape::P::Sky |
Definition at line 79 of file C4Landscape.cpp.
std::unique_ptr< CSurface8 > C4Landscape::P::Surface8 |
Definition at line 54 of file C4Landscape.cpp.
std::unique_ptr<CSurface8> C4Landscape::P::Surface8Bkg |
Definition at line 55 of file C4Landscape.cpp.
std::vector<uint8_t> C4Landscape::P::TopRowPix |
Definition at line 60 of file C4Landscape.cpp.
int32_t C4Landscape::P::Width = 0 |
Definition at line 69 of file C4Landscape.cpp.
Referenced by ExecuteScan().