MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / CreateConvert

Method CreateConvert

src/Utilities/Constructs.cpp:101–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void CustomPalette::CreateConvert()
102{
103 ConvertClass* buffer = nullptr;
104 if (this->Mode == PaletteMode::Temperate)
105 {
106 buffer = GameCreate<ConvertClass>(
107 *this->Palette.get(), FileSystem::TEMPERAT_PAL, DSurface::Primary,
108 53, false);
109 }
110 else
111 {
112 buffer = GameCreate<ConvertClass>(
113 *this->Palette.get(), *this->Palette.get(), DSurface::Alternate,
114 1, false);
115 }
116 this->Convert.reset(buffer);
117}
118
119
120PhobosPCXFile& PhobosPCXFile::operator = (const char* pFilename)

Callers 2

LoadFromINIMethod · 0.95
LoadMethod · 0.95

Calls 2

resetMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected