tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
This serves as the central class from which WaterStyle functions are supported and carried out. More...
Static Public Member Functions | |
static void | ChooseWaterStyle (ref int style) |
static void | DrawWaterfall (WaterfallManager waterfallManager, SpriteBatch spriteBatch) |
static void | DrawWatersToScreen (bool bg) |
static ModWaterStyle | GetWaterStyle (int style) |
Returns the ModWaterStyle with the given ID. More... | |
static void | LightColorMultiplier (int style, ref float r, ref float g, ref float b) |
static void | UpdateLiquidAlphas () |
Static Public Attributes | |
const int | vanillaWaterCount = Main.maxLiquidTypes |
The maximum amount of liquids in vanilla. More... | |
Properties | |
static int | WaterStyleCount [get] |
The number of water styles that exist in the game, both vanilla and modded. More... | |
Static Private Attributes | |
static int | nextWaterStyle = vanillaWaterCount |
This serves as the central class from which WaterStyle functions are supported and carried out.
Definition at line 12 of file WaterStyleLoader.cs.
|
static |
Definition at line 53 of file WaterStyleLoader.cs.
References Terraria.ModLoader.ModWaterStyle.ChooseWaterStyle(), Terraria.ModLoader.WorldHooks.ChooseWaterStyle(), and Terraria.ModLoader.ModWaterStyle.Type.
|
static |
Definition at line 109 of file WaterStyleLoader.cs.
References Terraria.ModLoader.ModWaterStyle.ChooseWaterfallStyle(), and Terraria.ModLoader.ModWaterStyle.Type.
|
static |
Definition at line 91 of file WaterStyleLoader.cs.
References Terraria.ModLoader.WaterStyleLoader.nextWaterStyle, and Terraria.ModLoader.WaterStyleLoader.vanillaWaterCount.
|
static |
Returns the ModWaterStyle with the given ID.
Definition at line 35 of file WaterStyleLoader.cs.
References Terraria.ModLoader.WaterStyleLoader.nextWaterStyle, and Terraria.ModLoader.WaterStyleLoader.vanillaWaterCount.
Referenced by Terraria.ModLoader.WaterStyleLoader.LightColorMultiplier().
|
static |
Definition at line 118 of file WaterStyleLoader.cs.
References Terraria.ModLoader.WaterStyleLoader.GetWaterStyle(), and Terraria.ModLoader.ModWaterStyle.LightColorMultiplier().
|
static |
Definition at line 62 of file WaterStyleLoader.cs.
References Terraria.ModLoader.ModWaterStyle.Type, and Terraria.ModLoader.WaterStyleLoader.vanillaWaterCount.
|
staticprivate |
Definition at line 18 of file WaterStyleLoader.cs.
Referenced by Terraria.ModLoader.WaterStyleLoader.DrawWatersToScreen(), and Terraria.ModLoader.WaterStyleLoader.GetWaterStyle().
|
static |
The maximum amount of liquids in vanilla.
Definition at line 17 of file WaterStyleLoader.cs.
Referenced by Terraria.ModLoader.WaterStyleLoader.DrawWatersToScreen(), Terraria.ModLoader.WaterStyleLoader.GetWaterStyle(), and Terraria.ModLoader.WaterStyleLoader.UpdateLiquidAlphas().
|
staticget |
The number of water styles that exist in the game, both vanilla and modded.
Definition at line 24 of file WaterStyleLoader.cs.