14 internal static IDictionary<string, int> backgrounds =
new Dictionary<string, int>();
This is the class that keeps track of all modded background textures and their slots/IDs.
const int vanillaBackgroundTextureCount
static int GetBackgroundSlot(string texture)
Returns the slot/ID of the background texture with the given name.
Manages content added by mods. Liasons between mod content and Terraria's arrays and oversees the Loa...
static Texture2D GetTexture(string name)
Gets the texture with the specified name. The name is in the format of "ModFolder/OtherFolders/FileNa...