tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Drawing.TileDrawing Class Reference

Public Member Functions

 TileDrawing (TilePaintSystemV2 paintSystem)
 
void AddSpecialLegacyPoint (int x, int y)
 
void AddSpecialLegacyPoint (Point p)
 
void ClearCachedTileDraws (bool solidLayer)
 
void Draw (bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
 
void GetTileDrawData (int x, int y, Tile tileCache, ushort typeCache, ref short tileFrameX, ref short tileFrameY, out int tileWidth, out int tileHeight, out int tileTop, out int halfBrickHeight, out int addFrX, out int addFrY, out SpriteEffects tileSpriteEffect, out Texture2D glowTexture, out Rectangle glowSourceRect, out Color glowColor)
 
Texture2D GetTileDrawTexture (Tile tile, int tileX, int tileY)
 
Texture2D GetTileDrawTexture (Tile tile, int tileX, int tileY, int paintOverride)
 
void GetTileOutlineInfo (int x, int y, ushort typeCache, ref Color tileLight, ref Texture2D highlightTexture, ref Color highlightColor)
 
void PostDrawTiles (bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
 
void PreDrawTiles (bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
 
void PrepareForAreaDrawing (int firstTileX, int lastTileX, int firstTileY, int lastTileY, bool prepareLazily)
 
void PreparePaintForTilesOnScreen ()
 
void Update ()
 

Static Public Member Functions

static int GetTreeVariant (int x, int y)