Resolves a nested ~BLIT/~MASK image path to a texture already loaded by the caller, and
(~RC/~PAL) a named colour that is not hex. resolveTexture receives the raw argument text
exactly as written, nested modifiers included (unit.png~RC(magenta>red), not stripped down
to unit.png) - parsing and applying those is the caller's own recursive call into
parseImagePath/applyImageModifiers/applyTextureModifiers, not something this function
does on the caller's behalf, since a caller with no sibling asset resolver has nothing to
recurse into anyway.
Resolves a nested
~BLIT/~MASKimage path to a texture already loaded by the caller, and (~RC/~PAL) a named colour that is not hex.resolveTexturereceives the raw argument text exactly as written, nested modifiers included (unit.png~RC(magenta>red), not stripped down tounit.png) - parsing and applying those is the caller's own recursive call intoparseImagePath/applyImageModifiers/applyTextureModifiers, not something this function does on the caller's behalf, since a caller with no sibling asset resolver has nothing to recurse into anyway.