tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.IngameOptions Class Reference

Static Public Member Functions

static void Close ()
 
static void Draw (Main mainInstance, SpriteBatch sb)
 
static bool DrawLeftSide (SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float[] scales, float minscale=0.7f, float maxscale=0.8f, float scalespeed=0.01f)
 
static bool DrawRightSide (SpriteBatch sb, string txt, int i, Vector2 anchor, Vector2 offset, float scale, float colorScale, Color over=default(Color))
 
static bool DrawValue (SpriteBatch sb, string txt, int i, float scale, Color over=default(Color))
 
static float DrawValueBar (SpriteBatch sb, float scale, float perc, int lockState=0, Utils.ColorLerpMethod colorMethod=null)
 
static Rectangle GetExpectedRectangleForNotification (int itemIndex, Vector2 anchor, Vector2 offset, int areaWidth)
 
static void MouseOver ()
 
static void Open ()
 

Static Public Attributes

static int category
 
const int height = 480
 
static bool inBar
 
static int leftHover = -1
 
static float[] leftScale
 
static bool noSound
 
static bool notBar
 
static int oldLeftHover = -1
 
static int oldRightHover = -1
 
static int rightHover = -1
 
static int rightLock = -1
 
static float[] rightScale
 
static bool[] skipRightSlot = new bool[20]
 
static Vector2 valuePosition = Vector2.Zero
 
const int width = 670
 

Member Data Documentation

◆ leftScale

float [] Terraria.IngameOptions.leftScale
static
Initial value:
= new float[] {
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f
}

◆ rightScale

float [] Terraria.IngameOptions.rightScale
static
Initial value:
= new float[16] {
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f,
0.7f
}