Textures from Data\images\PanelSprites are currently hardcoded in exe and you can't swap them, unless physically.
Probably can find a pointer to bitmap in memory and store that in dll a dictionary (manualbar = 0x000xxxxxx (where pointer to Data\images\PanelSprites\manualbar32.png is stored))
then provide CScript like
SwapHudTexture slot = manualbar with = "custom_path\texture.png"
Then can have a menu to load custom panels. Can somehow extend that to theme support later (#22).
Textures from Data\images\PanelSprites are currently hardcoded in exe and you can't swap them, unless physically.
Probably can find a pointer to bitmap in memory and store that in dll a dictionary (manualbar = 0x000xxxxxx (where pointer to Data\images\PanelSprites\manualbar32.png is stored))
then provide CScript like SwapHudTexture slot = manualbar with = "custom_path\texture.png"
Then can have a menu to load custom panels. Can somehow extend that to theme support later (#22).