![]() |
Core Rules
WoTC AD&D 2nd Edition -- Drakein API Reference
|
Resolved image-file location for a part. More...
#include <IPart.h>
Public Attributes | |
| char | path [260] |
| int | index |
Resolved image-file location for a part.
Returned by IPart::GetImageLocation() after decoding the part's image_bitmap string against the platform configuration source (bitmaps_equip and userbmp keys; see IConfig.h).
path is empty when the part has no image set or the config key it would resolve against is itself empty. index is -1 for single-image bitmaps (CRE_-prefixed custom files) and for the no-image case; for sprite-sheet bitmaps (the numeric 1..700 range) it is the 0..49 offset within the sheet named by path.
| int CoreRules::IPart::ImageLoc::index |
| char CoreRules::IPart::ImageLoc::path[260] |