
Public Member Functions | |
| bool | AddFile (const char *filename, size_t basepath_length) |
| Try to add a graphics set with the given filename. | |
Static Public Member Functions | |
| static uint | DoScan () |
| Do the scan for OBGs. | |
Definition at line 427 of file gfxinit.cpp.
| bool OBGFileScanner::AddFile | ( | const char * | filename, | |
| size_t | basepath_length | |||
| ) | [virtual] |
Try to add a graphics set with the given filename.
| filename | the full path to the file to read | |
| basepath_length | amount of characters to chop of before to get a relative DATA_DIR filename |
Implements FileScanner.
Definition at line 445 of file gfxinit.cpp.
References FillGraphicsSetDetails(), IniFile::LoadFromDisk(), GraphicsSet::name, GraphicsSet::next, GraphicsSet::shortname, and GraphicsSet::version.
| static uint OBGFileScanner::DoScan | ( | ) | [inline, static] |
Do the scan for OBGs.
Definition at line 432 of file gfxinit.cpp.
References DATA_DIR, and FileScanner::Scan().
Referenced by FindGraphicsSets().
1.5.6