ManaPlus
|
Functions | |
void | load () |
void | unload () |
void | loadPalette () |
const DyeColor * | getColor (const std::string &name) |
const DyeColor * PaletteDB::getColor | ( | const std::string & | name | ) |
Definition at line 109 of file palettedb.cpp.
References anonymous_namespace{palettedb.cpp}::mColors.
Referenced by DyePalette::DyePalette().
void PaletteDB::load | ( | ) |
Definition at line 40 of file palettedb.cpp.
References loadPalette(), Logger::log1(), logger, anonymous_namespace{palettedb.cpp}::mLoaded, and Net::unload().
Referenced by DbManager::loadDb().
void PaletteDB::loadPalette | ( | ) |
Definition at line 49 of file palettedb.cpp.
References CAST_U8, Configuration::getStringValue(), VirtFs::loadTextFile(), Logger::log(), logger, anonymous_namespace{palettedb.cpp}::mColors, anonymous_namespace{palettedb.cpp}::mLoaded, paths, and reportAlways.
Referenced by load().
void PaletteDB::unload | ( | ) |
Definition at line 103 of file palettedb.cpp.
References Logger::log1(), logger, and anonymous_namespace{palettedb.cpp}::mColors.
Referenced by DbManager::unloadDb().