|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| struct | WaterfallData |
Public Member Functions | |
| void | BindTo (Preferences preferences) |
| void | LoadContent () |
| bool | CheckForWaterfall (int i, int j) |
| void | FindWaterfalls (bool forced=false) |
| void | UpdateFrame () |
| void | Draw (SpriteBatch spriteBatch) |
Public Attributes | |
| int | maxWaterfallCount = 1000 |
Private Member Functions | |
| void | Configuration_OnLoad (Preferences preferences) |
| void | DrawWaterfall (int Style=0, float Alpha=1f) |
| void | DrawWaterfall (int waterfallType, int x, int y, float opacity, Vector2 position, Rectangle sourceRect, Color color, SpriteEffects effects) |
Static Private Member Functions | |
| static Color | StylizeColor (float alpha, int maxSteps, int waterfallType, int y, int s, Tile tileCache, Color aColor) |
| static float | GetAlpha (float Alpha, int maxSteps, int waterfallType, int y, int s, Tile tileCache) |
| static void | TrySparkling (int x, int y, int direction, Color aColor2) |
| static void | AddLight (int waterfallType, int x, int y) |
Private Attributes | |
| int | qualityMax |
| int | currentMax |
| WaterfallData[] | waterfalls = new WaterfallData[1000] |
| Asset< Texture2D >[] | waterfallTexture = new Asset<Texture2D>[26] |
| int | wFallFrCounter |
| int | regularFrame |
| int | wFallFrCounter2 |
| int | slowFrame |
| int | rainFrameCounter |
| int | rainFrameForeground |
| int | rainFrameBackground |
| int | snowFrameCounter |
| int | snowFrameForeground |
| int | findWaterfallCount |
| int | waterfallDist = 100 |
Static Private Attributes | |
| const int | minWet = 160 |
| const int | maxWaterfallCountDefault = 1000 |
| const int | maxLength = 100 |
| const int | maxTypes = 26 |
Definition at line 11 of file WaterfallManager.cs.