Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | OldMapHelper |
Static Public Member Functions | |
static void | Initialize () |
static void | ResetMapData () |
static bool | HasOption (int tileType, int option) |
static int | TileToLookup (int tileType, int option) |
static int | LookupCount () |
static Color | GetMapTileXnaColor (ref MapTile tile) |
static MapTile | CreateMapTile (int i, int j, byte Light) |
static void | GetTileBaseOption (int x, int y, int tileType, Tile tileCache, ref int baseOption) |
static void | SaveMap () |
static void | LoadMapVersion1 (BinaryReader fileIO, int release) |
static void | LoadMapVersion2 (BinaryReader fileIO, int release) |
Static Public Attributes | |
const int | drawLoopMilliseconds = 5 |
static int | maxUpdateTile = 1000 |
static int | numUpdateTile = 0 |
static short[] | updateTileX = new short[maxUpdateTile] |
static short[] | updateTileY = new short[maxUpdateTile] |
static int[] | tileOptionCounts |
static int[] | wallOptionCounts |
static ushort[] | tileLookup |
static ushort[] | wallLookup |
static bool | noStatusText = false |
Static Private Member Functions | |
static void | MapColor (ushort type, ref Color oldColor, byte colorType) |
static void | InternalSaveMap () |
Static Private Attributes | |
const int | HeaderEmpty = 0 |
const int | HeaderTile = 1 |
const int | HeaderWall = 2 |
const int | HeaderWater = 3 |
const int | HeaderLava = 4 |
const int | HeaderHoney = 5 |
const int | HeaderHeavenAndHell = 6 |
const int | HeaderBackground = 7 |
const int | Header2_ReadHeader3Bit = 1 |
const int | Header2Color1 = 2 |
const int | Header2Color2 = 4 |
const int | Header2Color3 = 8 |
const int | Header2Color4 = 16 |
const int | Header2Color5 = 32 |
const int | Header2ShimmerBit = 64 |
const int | Header2_UnusedBit8 = 128 |
const int | Header3_ReservedForHeader4Bit = 1 |
const int | Header3_UnusudBit2 = 2 |
const int | Header3_UnusudBit3 = 4 |
const int | Header3_UnusudBit4 = 8 |
const int | Header3_UnusudBit5 = 16 |
const int | Header3_UnusudBit6 = 32 |
const int | Header3_UnusudBit7 = 64 |
const int | Header3_UnusudBit8 = 128 |
const int | maxTileOptions = 12 |
const int | maxWallOptions = 2 |
const int | maxLiquidTypes = 4 |
const int | maxSkyGradients = 256 |
const int | maxDirtGradients = 256 |
const int | maxRockGradients = 256 |
static object | IOLock = new object() |
static ushort | tilePosition |
static ushort | wallPosition |
static ushort | liquidPosition |
static ushort | skyPosition |
static ushort | dirtPosition |
static ushort | rockPosition |
static ushort | hellPosition |
static Color[] | colorLookup |
static ushort[] | snowTypes |
static ushort | wallRangeStart |
static ushort | wallRangeEnd |
Definition at line 14 of file MapHelper.cs.