|
static void | SetupStatueList () |
|
static void | PlaceStatueTrap (int x, int y) |
|
static EntitySource_ShakeTree | GetNPCSource_ShakeTree (int x, int y) |
|
static bool | EmptyLiquid (int x, int y) |
|
static bool | PlaceLiquid (int x, int y, byte liquidType, byte amount) |
|
static unsafe void | PlayLiquidChangeSound (TileChangeType eventType, int x, int y, int count=1) |
|
static unsafe TileChangeType | GetLiquidChangeType (int liquidType, int otherLiquidType) |
|
static bool | MoveTownNPC (int x, int y, int n) |
|
static void | moveRoom (int x, int y, int n) |
|
static bool | IsNPCEvictable (int n) |
|
static void | kickOut (int n) |
|
static bool | IsThereASpawnablePrioritizedTownNPC (int x, int y, ref bool canSpawnNewTownNPC) |
|
static bool | IsThereASpawnablePrioritizedTownNPC_Old (int x, int y) |
|
static bool | CheckSpecialTownNPCSpawningConditions (int type) |
|
static void | UnspawnTravelNPC () |
|
static void | SpawnTravelNPC () |
|
static TownNPCSpawnResult | SpawnTownNPC (int x, int y) |
|
static void | CheckAchievement_RealEstateAndTownSlimes () |
|
static bool | RoomNeeds (int npcType) |
|
static void | QuickFindHome (int npc) |
|
static void | CountTileTypesInArea (int[] tileTypeCounts, int startX, int endX, int startY, int endY) |
|
static int | GetTileTypeCountByCategory (int[] tileTypeCounts, TileScanGroup group) |
|
static void | ScoreRoom (int ignoreNPC=-1, int npcTypeAskingToScoreRoom=-1) |
|
static void | Housing_GetTestedRoomBounds (out int startX, out int endX, out int startY, out int endY) |
|
static bool | StartRoomCheck (int x, int y) |
|
static void | CheckRoom (int x, int y) |
|
static void | dropMeteor () |
|
static bool | meteor (int i, int j, bool ignorePlayers=false) |
|
static void | setWorldSize () |
|
static int | GetWorldSize () |
|
static void | worldGenCallback (object threadContext) |
|
static void | CreateNewWorld (GenerationProgress progress=null) |
|
static void | JustQuit () |
|
static void | SaveAndQuitCallBack (object threadContext) |
|
static void | SaveAndQuit () |
|
static void | RenameWorld (WorldFileData data, string newName, Action< string > callback=null) |
|
static void | RenameWorldCallBack (object threadContext) |
|
static void | playWorldCallBack (object threadContext) |
|
static void | JoinLocalWorld () |
|
static void | joinLocalWorldCallBack (object threadContext) |
|
static void | FinaliseOnMainThread (object threadContext) |
|
static void | playWorld () |
|
static void | saveAndPlayCallBack (object threadContext) |
|
static void | saveAndPlay () |
|
static void | saveToonWhilePlayingCallBack (object threadContext) |
|
static void | saveToonWhilePlaying () |
|
static void | serverLoadWorldCallBack () |
|
static ManagedThread | serverLoadWorld () |
|
static void | clearWorld () |
|
static void | setBG (int bg, int style) |
|
static void | RandomizeWeather () |
|
static void | RandomizeMoonState (UnifiedRandom random, bool garenteeNewStyle=false) |
|
static void | RandomizeBackgroundBasedOnPlayer (UnifiedRandom random, Player player) |
|
static void | RandomizeBackgrounds (UnifiedRandom random) |
|
static bool | IsBackgroundConsideredTheSame (int oldBG, int newBG) |
|
static void | RandomizeTreeStyle () |
|
static void | RandomizeCaveBackgrounds () |
|
static bool | mayanTrap (int x2, int y2) |
|
static bool | placeLavaTrap (int x, int y) |
|
static bool | IsTileNearby (int x, int y, int type, int distance) |
|
static bool | placeTrap (int x2, int y2, int type=-1) |
|
static int | countWires (int x, int y, int size) |
|
static int | countTiles (int x, int y, bool jungle=false, bool lavaOk=false) |
|
static void | nextCount (int x, int y, bool jungle=false, bool lavaOk=false) |
|
static int | countDirtTiles (int x, int y) |
|
static void | nextDirtCount (int x, int y) |
|
static bool | InWorld (int x, int y, int fluff=0) |
|
static void | gemCave (int x, int y) |
|
static int | randGem () |
|
static ushort | randGemTile () |
|
static void | randMoss (bool justNeon=false) |
|
static void | neonMossBiome (int i, int j, int maxY=99999) |
|
static void | setMoss (int x, int y) |
|
static void | FillWallHolesInArea (Rectangle worldCoordsArea) |
|
static void | tileCountAndDestroy () |
|
static int | tileCounter (int x, int y) |
|
static void | tileCounterNext (int x, int y) |
|
static void | tileCounterKill () |
|
static bool | checkUnderground (int x, int y) |
|
static int | GetNextJungleChestItem () |
|
static void | OreHelper (int X, int Y) |
|
static bool | StonePatch (int X, int Y) |
|
static bool | ShellPile (int X, int Y) |
|
static bool | MarblePileWithStatues (int X, int Y) |
|
static bool | Statue (int x, int y, byte paint) |
|
static bool | OrePatch (int X, int Y) |
|
static bool | PlaceOasis (int X, int Y) |
|
static bool | BiomeTileCheck (int x, int y) |
|
static bool | oceanDepths (int x, int y) |
|
static void | UpdateDesertHiveBounds (int x, int y) |
|
static bool | ValidateTypes () |
|
static void | GenerateWorld (int seed, GenerationProgress customProgressObject=null) |
|
static bool | IsItATrap (Tile tile) |
|
static bool | IsItATrigger (Tile tile) |
|
static void | ClearAllBrokenTraps () |
|
static void | ClearBrokenTraps (Point startTileCoords, List< Point > pointsWeAlreadyWentOver) |
|
static void | QueuePostGenAction (Action< StructureMap > action) |
|
static void | ConsumePostGenActions (StructureMap structures) |
|
static Point | RandomRectanglePoint (Rectangle rectangle) |
|
static Point | RandomRectanglePoint (int x, int y, int width, int height) |
|
static Point | RandomWorldPoint (int padding) |
|
static Point | RandomWorldPoint (int top=0, int right=0, int bottom=0, int left=0) |
|
static bool | GrowPalmTree (int i, int y) |
|
static bool | IsPalmOasisTree (int x) |
|
static bool | GrowEpicTree (int i, int y) |
|
static bool | Pyramid (int i, int j) |
|
static bool | GrowLivingTree (int i, int j, bool patch=false) |
|
static bool | GrowDungeonTree (int i, int j, bool patch=false) |
|
static void | TreeGrowFXCheck (int x, int y) |
|
static void | GetTreeLeaf (int x, Tile topTile, Tile t, ref int treeHeight, out int treeFrame, out int passStyle) |
|
static void | TreeGrowFX (int x, int y, int height, int treeGore, bool hitTree=false) |
|
static bool | IsTileALeafyTreeTop (int i, int j) |
|
static bool | IsTileTypeFitForTree (ushort type) |
|
static bool | GrowTree (int i, int y) |
|
static bool | DefaultTreeWallTest (int wallType) |
|
static bool | GemTreeWallTest (int wallType) |
|
static bool | GemTreeGroundTest (int tileType) |
|
static bool | VanityTreeGroundTest (int tileType) |
|
static bool | AshTreeGroundTest (int tileType) |
|
static bool | TryGrowingTreeByType (int treeTileType, int checkedX, int checkedY) |
|
static bool | GrowTreeWithSettings (int checkedX, int checkedY, WorldGen.GrowTreeSettings settings) |
|
static void | GrowUndergroundTree (int i, int y) |
|
static bool | GrowShroom (int i, int y) |
|
static void | AddTrees (bool undergroundOnly=false) |
|
static void | ExplodeMine (int i, int j, bool fromWiring) |
|
static bool | EmptyTileCheck (int startX, int endX, int startY, int endY, int ignoreID=-1) |
|
static void | StartHardmode () |
|
static void | TryProtectingSpawnedItems () |
|
static void | UndoSpawnedItemProtection () |
|
static void | smCallBack (object threadContext) |
|
static bool | PlaceDoor (int i, int j, int type, int style=0) |
|
static bool | CloseDoor (int i, int j, bool forced=false) |
|
static bool | AddLifeCrystal (int i, int j) |
|
static void | AddShadowOrb (int x, int y) |
|
static void | AddHellHouses () |
|
static void | HellFort (int i, int j, ushort tileType=75, byte wallType=14) |
|
static void | HellHouse (int i, int j, byte type=76, byte wall=13) |
|
static void | HellRoom (int i, int j, int width, int height, byte type=76, byte wall=13) |
|
static void | templeCleaner (int x, int y) |
|
static Vector2D | templePather (Vector2D templePath, int destX, int destY) |
|
static void | outerTempled (int x, int y) |
|
static void | makeTemple (int x, int y) |
|
static void | templePart2 () |
|
static bool | nearPicture (int x, int y) |
|
static bool | nearPicture2 (int x, int y) |
|
static void | ShimmerRemoveWater () |
|
static bool | ShimmerMakeBiome (int X, int Y) |
|
static void | Shimmerator (int x, int y, bool jungle=false, bool lavaOk=false) |
|
static void | ShimmeratorNext (int x, int y) |
|
static void | MakeDungeon (int x, int y) |
|
static PaintingEntry | RandBonePicture () |
|
static PaintingEntry | RandHellPicture () |
|
static PaintingEntry | RandHousePictureDesert () |
|
static PaintingEntry | RandHousePicture () |
|
static PaintingEntry | RandPictureTile () |
|
static void | DungeonStairs (int i, int j, ushort tileType, int wallType) |
|
static bool | PlaceSandTrap (int i, int j) |
|
static bool | DungeonPitTrap (int i, int j, ushort tileType, int wallType) |
|
static void | DungeonHalls (int i, int j, ushort tileType, int wallType, bool forceX=false) |
|
static void | DungeonRoom (int i, int j, ushort tileType, int wallType) |
|
static void | DungeonEnt (int i, int j, ushort tileType, int wallType) |
|
static bool | AddBuriedChest (Point point, int contain=0, bool notNearOtherChests=false, int Style=-1) |
|
static bool | IsChestRigged (int x, int y) |
|
static bool | AddBuriedChest (int i, int j, int contain=0, bool notNearOtherChests=false, int Style=-1, bool trySlope=false, ushort chestTileType=0) |
|
static void | UnlockDoor (int i, int j) |
|
static bool | OpenDoor (int i, int j, int direction) |
|
static void | Check1xX (int x, int j, short type) |
|
static void | Check2xX (int i, int j, ushort type) |
|
static bool | IsBelowANonHammeredPlatform (int x, int y) |
|
static void | PlaceTight (int x, int y, bool spiders=false) |
|
static void | PlaceUncheckedStalactite (int x, int y, bool preferSmall, int variation, bool spiders) |
|
static bool | UpdateStalagtiteStyle (int x, int j) |
|
static void | CheckTight (int x, int j) |
|
static void | Place1xX (int x, int y, ushort type, int style=0) |
|
static int | checkXmasTreeDrop (int x, int y, int obj) |
|
static void | dropXmasTree (int x, int y, int obj) |
|
static void | setXmasTree (int x, int y, int obj, int style) |
|
static int | PlaceXmasTree_Direct (int x, int y, int type, int style, int dir, int alternate) |
|
static void | PlaceXmasTree (int x, int y, ushort type=171) |
|
static void | CheckXmasTree (int x, int y) |
|
static void | Place2xX (int x, int y, ushort type, int style=0) |
|
static int | GetItemDrop_Benches (int style) |
|
static int | GetItemDrop_PicnicTables (int style) |
|
static int | GetItemDrop_Chair (int style) |
|
static int | GetItemDrop_Toilet (int style) |
|
static void | Check1x2 (int x, int j, ushort type) |
|
static void | CheckOnTable1x1 (int x, int y, int type) |
|
static void | CheckSign (int x, int y, ushort type) |
|
static bool | PlaceSign (int x, int y, ushort type, int Style=0) |
|
static bool | Place2x2Horizontal (int x, int y, ushort type, int Style=0) |
|
static Microsoft.Xna.Framework.Graphics.Color | paintColor (int color) |
|
static Microsoft.Xna.Framework.Graphics.Color | coatingColor (int coating) |
|
static List< Microsoft.Xna.Framework.Graphics.Color > | coatingColors (Tile tile, bool block) |
|
static void | paintEffect (int x, int y, byte color, byte oldColor) |
|
static void | paintCoatEffect (int x, int y, byte paintCoatId, List< Microsoft.Xna.Framework.Graphics.Color > oldColors) |
|
static bool | paintTile (int x, int y, byte color, bool broadCast=false) |
|
static bool | paintCoatTile (int x, int y, byte paintCoatId, bool broadcast=false) |
|
static bool | paintCoatWall (int x, int y, byte paintCoatId, bool broadcast=false) |
|
static bool | paintWall (int x, int y, byte color, bool broadCast=false) |
|
static void | Place3x3Wall (int x, int y, ushort type, int style) |
|
static void | Check3x3Wall (int x, int y) |
|
static void | Place2x3Wall (int x, int y, ushort type, int style) |
|
static void | Check2x3Wall (int x, int y) |
|
static void | Place3x2Wall (int x, int y, ushort type, int style) |
|
static void | Check3x2Wall (int x, int y) |
|
static void | Place4x3Wall (int x, int y, ushort type, int style) |
|
static void | Check4x3Wall (int x, int y) |
|
static void | Place6x4Wall (int x, int y, ushort type, int style) |
|
static void | Check6x4Wall (int x, int y) |
|
static void | Place1x1 (int x, int y, int type, int style=0) |
|
static void | Check1x1 (int x, int y, int type) |
|
static void | CheckGolf1x1 (int x, int y, int type) |
|
static void | CheckLogicTiles (int x, int y, int type) |
|
static void | PlaceLogicTiles (int x, int y, int type, int style=0) |
|
static void | PlaceOnTable1x1 (int x, int y, int type, int style=0) |
|
static bool | PlaceAlch (int x, int y, int style) |
|
static void | GrowSpike (int i, int j, ushort spikeType, ushort landType) |
|
static void | GrowAlch (int x, int y) |
|
static void | PlantAlch () |
|
static void | CheckAlch (int x, int y) |
|
static void | CheckBanner (int x, int j, byte type) |
|
static void | PlaceBanner (int x, int y, ushort type, int style=0) |
|
static void | PlaceMan (int i, int j, int dir) |
|
static void | PlaceWoman (int i, int j, int dir) |
|
static void | CheckWeaponsRack (int i, int j) |
|
static void | ToggleGemLock (int i, int j, bool on) |
|
static void | CheckMan (int i, int j) |
|
static void | CheckWoman (int i, int j) |
|
static void | Place1x2 (int x, int y, ushort type, int style) |
|
static void | Place1x2Top (int x, int y, ushort type, int style) |
|
static void | Check1x2Top (int x, int j, ushort type) |
|
static bool | PlaceSmallPile (int i, int j, int X, int Y, ushort type=185) |
|
static void | CheckPile (int i, int y) |
|
static void | Check2x1 (int i, int y, ushort type) |
|
static void | Place2x1 (int x, int y, ushort type, int style=0) |
|
static void | Check4x2 (int i, int j, int type) |
|
static void | PlaceOasisPlant (int X, int Y, ushort type=530) |
|
static void | CheckOasisPlant (int i, int j, int type=530) |
|
static void | GetCactusType (int tileX, int tileY, int frameX, int frameY, out bool evil, out bool good, out bool crimson) |
|
static void | GetBiomeInfluence (int startX, int endX, int startY, int endY, out int corruptCount, out int crimsonCount, out int hallowedCount) |
|
static void | PlaceJunglePlant (int X2, int Y2, ushort type, int styleX, int styleY) |
|
static void | CheckJunglePlant (int i, int j, int type) |
|
static void | CheckSuper (int x, int y, int type) |
|
static void | Check2x2 (int i, int j, int type) |
|
static bool | CheckBoulderChest (int i, int j) |
|
static bool | IsAContainer (Tile t) |
|
static void | OreRunner (int i, int j, double strength, int steps, ushort type) |
|
static void | SmashAltar (int i, int j) |
|
static void | Check3x1 (int i, int j, int type) |
|
static void | Check3x2 (int i, int j, int type) |
|
static void | Check3x4 (int i, int j, int type) |
|
static void | Check5x4 (int i, int j, int type) |
|
static void | Check6x3 (int i, int j, int type) |
|
static void | Place6x3 (int x, int y, ushort type, int direction=-1, int style=0) |
|
static void | Place4x2 (int x, int y, ushort type, int direction=-1, int style=0) |
|
static void | ShootFromCannon (int x, int y, int angle, int ammo, int Damage, float KnockBack, int owner, bool fromWire) |
|
static bool | BunnyCannonCanFire () |
|
static void | SwitchCannon (int i, int j) |
|
static void | CheckCannon (int i, int j, int type) |
|
static void | PlaceCannon (int x, int y, ushort type, int style=0) |
|
static void | SwitchMB (int i, int j) |
|
static void | SwitchMonolith (int i, int j) |
|
static void | SwitchFountain (int i, int j) |
|
static void | CheckMB (int i, int j, int type) |
|
static void | PlaceMB (int X, int y, ushort type, int style) |
|
static void | Place2x2 (int x, int y, ushort type, int style) |
|
static bool | PlaceObject (int x, int y, int type, bool mute=false, int style=0, int alternate=0, int random=-1, int direction=-1) |
|
static bool | ShiftTrapdoor (int x, int y, bool playerAbove, int onlyCloseOrOpen=-1) |
|
static void | CheckTrapDoor (int x, int y, int type) |
|
static void | CheckTallGate (int x, int y, int type) |
|
static bool | ShiftTallGate (int x, int y, bool closing, bool forced=false) |
|
static Point | GetTopLeftAndStyles (ref int x, ref int y, int w, int h, int frameXinc, int frameYinc) |
|
static bool | CheckTileFrames (int type, int sx, int sy, int w, int h, int styleX, int frameXinc, int styleY, int frameYinc) |
|
static bool | CheckTileAnchors (int sx, int sy, int w, int h, int mode, AnchorType anchor) |
|
static bool | AnchorValid (Tile tileCache, AnchorType anchor) |
|
static bool | CanPlaceSink (int x, int y, ushort type, int style) |
|
static void | Place3x4 (int x, int y, ushort type, int style) |
|
static void | Place5x4 (int x, int y, ushort type, int style) |
|
static void | Place3x1 (int x, int y, ushort type, int style=0) |
|
static void | Place3x2 (int x, int y, ushort type, int style=0) |
|
static void | Place2x2Style (int x, int y, ushort type, int style=0) |
|
static bool | NearFriendlyWall (int x, int y) |
|
static void | Check2x2Style (int i, int j, int type) |
|
static void | PlacePumpkin (int x, int superY) |
|
static void | GrowPumpkin (int i, int j, int type) |
|
static void | FixHearts () |
|
static void | DestroyHeart (int i, int j) |
|
static void | FixHeart (int i, int j) |
|
static void | FixChands () |
|
static void | FixChand (int i, int j) |
|
static void | PlaceChand (int x, int y, ushort type, int style=0) |
|
static void | CheckChand (int i, int j, int type) |
|
static void | Check3x3 (int i, int j, int type) |
|
static void | Check2x5 (int i, int j, int type) |
|
static void | Check3x5 (int i, int j, int type) |
|
static void | Check3x6 (int i, int j, int type) |
|
static void | Place3x3 (int x, int y, ushort type, int style=0) |
|
static void | PlaceSunflower (int x, int y, ushort type=27) |
|
static void | FixSunflowers () |
|
static void | FixSunflower (int i, int j) |
|
static void | CheckSunflower (int i, int j, int type=27) |
|
static void | CheckDye (int x, int y) |
|
static void | CheckRockGolemHead (int x, int y) |
|
static void | CheckStinkbugBlocker (int x, int y) |
|
static bool | AttemptReorientingStinkbugBlocker (int x, int y, int wall, ref int style) |
|
static void | CheckGnome (int x, int j) |
|
static void | PlaceGnome (int x, int y, int style) |
|
static void | PlaceDye (int x, int y, int style) |
|
static bool | PlacePot (int x, int y, ushort type=28, int style=0) |
|
static bool | CheckCactus (int i, int j) |
|
static void | PlantCactus (int i, int j) |
|
static void | CheckOrb (int i, int j, int type) |
|
static void | CheckPalmTree (int i, int j) |
|
static void | CheckTreeWithSettings (int x, int y, WorldGen.CheckTreeSettings settings) |
|
static void | CheckTree (int i, int j) |
|
static bool | TileIsExposedToAir (int x, int y) |
|
static bool | TryKillingTreesAboveIfTheyWouldBecomeInvalid (int i, int j, int newFloorType) |
|
static void | Convert (int i, int j, int conversionType, int size=4) |
|
static void | CactusFrame (int i, int j) |
|
static void | GrowCactus (int i, int j) |
|
static void | CheckPot (int i, int j, int type=28) |
|
static int | PlaceChest (int x, int y, ushort type=21, bool notNearOtherChests=false, int style=0) |
|
static void | PlaceChestDirect (int x, int y, ushort type, int style, int id) |
|
static void | PlaceDresserDirect (int x, int y, ushort type, int style, int id) |
|
static void | CheckChest (int i, int j, int type) |
|
static bool | PlaceActuator (int i, int j) |
|
static bool | KillActuator (int i, int j) |
|
static bool | PlaceWire (int i, int j) |
|
static bool | KillWire (int i, int j) |
|
static bool | PlaceWire2 (int i, int j) |
|
static bool | KillWire2 (int i, int j) |
|
static bool | PlaceWire3 (int i, int j) |
|
static bool | KillWire3 (int i, int j) |
|
static bool | PlaceWire4 (int i, int j) |
|
static bool | KillWire4 (int i, int j) |
|
static bool | IsFitToPlaceFlowerIn (int x, int y, int typeAttemptedToPlace) |
|
static void | CheckBamboo (int x, int y) |
|
static void | PlaceUnderwaterPlant (ushort type, int x, int y) |
|
static bool | CanUnderwaterPlantGrowHere (ushort type, int x, int y, bool ignoreSelf) |
|
static void | CheckUnderwaterPlant (ushort type, int x, int y) |
|
static Point | PlaceCatTail (int x, int j) |
|
static void | CheckCatTail (int x, int j) |
|
static void | GrowCheckSeaweed (int x, int y) |
|
static void | GrowCatTail (int x, int j) |
|
static bool | PlaceLilyPad (int x, int j) |
|
static void | CheckLilyPad (int x, int y) |
|
static bool | TryKillingReplaceableTile (int x, int y, int tileType) |
|
static unsafe bool | PlaceTile (int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0) |
|
static void | KillWall (int i, int j, bool fail=false) |
|
static void | LaunchRocket (int x, int y, bool fromWiring) |
|
static void | LaunchRocketSmall (int x, int y, bool fromWiring) |
|
static bool | CanKillTile (int i, int j, WorldGen.SpecialKillTileContext context) |
|
static bool | CanKillTile (int i, int j) |
|
static bool | CanKillTile (int i, int j, out bool blockDamaged) |
|
static bool | IsTileReplacable (int x, int y) |
|
static int | CheckTileBreakability (int x, int y) |
|
static bool | CheckTileBreakability2_ShouldTileSurvive (int x, int y) |
|
static bool | ReplaceWall (int x, int y, ushort targetWall) |
|
static bool | ReplaceTile (int x, int y, ushort targetType, int targetStyle) |
|
static bool | WouldTileReplacementBeBlockedByLiquid (int x, int y, int liquidType) |
|
static bool | WouldTileReplacementWork (ushort attemptingToReplaceWith, int x, int y) |
|
static bool | GetAshTreeFoliageData (int i, int j, int xoffset, ref int treeFrame, ref int treeStyle, out int floorY, out int topTextureFrameWidth, out int topTextureFrameHeight) |
|
static bool | GetVanityTreeFoliageData (int i, int j, int xoffset, ref int treeFrame, ref int treeStyle, out int floorY, out int topTextureFrameWidth, out int topTextureFrameHeight) |
|
static bool | GetGemTreeFoliageData (int i, int j, int xoffset, ref int treeFrame, ref int treeStyle, out int floorY, out int topTextureFrameWidth, out int topTextureFrameHeight) |
|
static bool | GetCommonTreeFoliageData (int i, int j, int xoffset, ref int treeFrame, ref int treeStyle, out int floorY, out int topTextureFrameWidth, out int topTextureFrameHeight) |
|
static int | GetHollowTreeFoliageStyle () |
|
static int | GetTreeFrame (Tile t) |
|
static TreeTypes | GetTreeType (int tileType) |
|
static bool | IsThisAMushroomTree (int i, int j) |
|
static void | ResetTreeShakes () |
|
static void | GetTreeBottom (int i, int j, out int x, out int y) |
|
static unsafe void | KillTile (int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false) |
|
static void | KillTile_GetItemDrops (int x, int y, Tile tileCache, out int dropItem, out int dropItemStack, out int secondaryItem, out int secondaryItemStack, bool includeLargeObjectDrops=false) |
|
static bool | IsHarvestableHerbWithSeed (int type, int style) |
|
static void | KillTile_PlaySounds (int i, int j, bool fail, Tile tileCache) |
|
static ? Rectangle | GetTileVisualHitbox (int x, int y) |
|
static int | KillTile_GetTileDustAmount (bool fail, Tile tileCache) |
|
static int | KillTile_MakeTileDust (int i, int j, Tile tileCache) |
|
static bool | IsOpenDoorAnchorFrame (int x, int y) |
|
static bool | IsLockedDoor (int x, int y) |
|
static bool | IsLockedDoor (Tile t) |
|
static void | DropDoorItem (int x, int y, int doorStyle) |
|
static IEntitySource | GetItemSource_FromTileBreak (int x, int y) |
|
static IEntitySource | GetItemSource_FromWallBreak (int x, int y) |
|
static IEntitySource | GetItemSource_FromTreeShake (int x, int y) |
|
static bool | PlayerLOS (int x, int y) |
|
static void | ChlorophyteDefense (int x, int y) |
|
static bool | Chlorophyte (int i, int j) |
|
static int | CountNearBlocksTypes (int i, int j, int radius, int cap, ushort tiletypes) |
|
static void | hardUpdateWorld (int i, int j) |
|
static bool | SolidTile (short tileSHeader, ushort tileType) |
|
static bool | SolidTile (Tile testTile) |
|
static bool | TileEmpty (int i, int j) |
|
static bool | SolidOrSlopedTile (Tile tile) |
|
static int | TileType (int x, int y) |
|
static bool | SolidOrSlopedTile (int x, int y) |
|
static bool | IsRope (int x, int y) |
|
static bool | SolidTile (Point p) |
|
static bool | SolidTile (int i, int j, bool noDoors=false) |
|
static bool | SolidTile (Tile tileCache, bool noDoors=false) |
|
static bool | SolidTile2 (Tile testTile) |
|
static bool | PlatformProperTopFrame (short frameX) |
|
static bool | SolidTileAllowBottomSlope (int i, int j) |
|
static bool | ActiveAndWalkableTile (int i, int j) |
|
static bool | SolidTileAllowTopSlope (int i, int j) |
|
static bool | SolidTileAllowLeftSlope (int i, int j) |
|
static bool | SolidTileAllowRightSlope (int i, int j) |
|
static bool | TopEdgeCanBeAttachedTo (int i, int j) |
|
static bool | RightEdgeCanBeAttachedTo (int i, int j) |
|
static bool | LeftEdgeCanBeAttachedTo (int i, int j) |
|
static bool | BottomEdgeCanBeAttachedTo (int i, int j) |
|
static bool | SolidTile3 (int i, int j) |
|
static bool | SolidTile3 (Tile t) |
|
static bool | SolidTile2 (int i, int j) |
|
static bool | SolidTileNoAttach (int i, int j) |
|
static void | MineHouse (int i, int j) |
|
static void | CountTiles (int X) |
|
static void | AddUpAlignmentCounts (bool clearCounts=false) |
|
static bool | checkPlantDye (int i, int j, bool exoticPlant=false) |
|
static void | plantDye (int i, int j, bool exoticPlant=false) |
|
static void | UpdateWorld () |
|
static int | GetWorldUpdateRate () |
|
static bool | AttemptToGrowTreeFromSapling (int x, int y, bool underground) |
|
static void | DontStarveTryWateringTile (int x, int y) |
|
static bool | HasAnyWireNearby (int sourceX, int sourceY, int boxSpread) |
|
static bool | IsSafeFromRain (int startX, int startY) |
|
static bool | TryToggleLight (int x, int y, bool? forcedState, bool skipWires) |
|
static bool | GeneratePlanteraBulbOnAllMechsDefeated () |
|
static void | SpreadDesertWalls (int wallDist, int i, int j) |
|
static void | PlaceWall (int i, int j, int type, bool mute=false) |
|
static void | SpreadGrass (int i, int j, int dirt=0, int grass=2, bool repeat=true, TileColorCache color=default(TileColorCache)) |
|
static void | ChasmRunnerSideways (int i, int j, int direction, int steps) |
|
static void | CrimStart (int i, int j) |
|
static void | CrimPlaceHearts () |
|
static void | CrimEnt (Vector2D position, int crimDir) |
|
static void | CrimVein (Vector2D position, Vector2D velocity) |
|
static void | ChasmRunner (int i, int j, int steps, bool makeOrb=false) |
|
static void | ExecuteThreadTime () |
|
static void | SpawnPlanteraThorns (Microsoft.Xna.Framework.Vector2 position) |
|
static void | GERunner (int i, int j, double speedX=0.0, double speedY=0.0, bool good=true) |
|
static void | oceanCave (int i, int j) |
|
static void | WavyCaverer (int startX, int startY, double waveStrengthScalar, double wavePercentScalar, int steps, int type) |
|
static void | TileRunner (int i, int j, double strength, int steps, int type, bool addTile=false, double speedX=0.0, double speedY=0.0, bool noYChange=false, bool overRide=true, int ignoreTileType=-1) |
|
static void | DirtyRockRunner (int i, int j) |
|
static void | MudWallRunner (int i, int j) |
|
static void | SnowCloudIsland (int i, int j) |
|
static void | DesertCloudIsland (int i, int j) |
|
static void | CloudIsland (int i, int j) |
|
static bool | WillWaterPlacedHereStayPut (int x, int y) |
|
static void | CloudLake (int i, int j) |
|
static void | FloatingIsland (int i, int j) |
|
static void | Caverer (int X, int Y) |
|
static Vector2D | digTunnel (double X, double Y, double xDir, double yDir, int Steps, int Size, bool Wet=false) |
|
static void | IslandHouse (int i, int j, int islandStyle) |
|
static void | Mountinater (int i, int j) |
|
static void | MakeWateryIceThing (int i, int j) |
|
static void | Lakinater (int i, int j, double strengthMultiplier=1.0) |
|
static void | SonOfLakinater (int i, int j, double strengthMultiplier=1.0) |
|
static void | ShroomPatch (int i, int j) |
|
static void | Cavinator (int i, int j, int steps) |
|
static void | CaveOpenater (int i, int j) |
|
static void | DiamondTileFrame (int i, int j) |
|
static unsafe void | SquareTileFrame (int i, int j, bool resetFrame=true) |
|
static void | SquareWallFrame (int i, int j, bool resetFrame=true) |
|
static void | SectionTileFrameWithCheck (int startX, int startY, int endX, int endY) |
|
static void | RefreshSections (int startX, int startY, int endX, int endY) |
|
static void | RefreshSection (int sectionX, int sectionY) |
|
static void | RefreshStrip (int xStart, int yStart, int xEnd, int yEnd, ref int totalEcho, ref int totalFramed) |
|
static void | Reframe (int x, int y, bool resetFrame=false) |
|
static void | SectionTileFrame (int sectionStartX, int sectionStartY, int sectionEndXInclusive, int sectionEndYInclusive) |
|
static void | GetSectionBounds (int sectionStartX, int sectionStartY, int sectionEndXInclusive, int sectionEndYInclusive, out int tileStartX, out int tileEndX, out int tileStartY, out int tileEndY) |
|
static void | RangeFrame (int startX, int startY, int endX, int endY) |
|
static void | WaterCheck () |
|
static void | EveryTileFrame () |
|
static void | PlantCheck (int x, int y) |
|
static bool | CanPoundTile (int x, int y) |
|
static bool | SlopeTile (int i, int j, int slope=0, bool noEffects=false) |
|
static bool | PoundTile (int i, int j) |
|
static void | PoundPlatform (int x, int y) |
|
static int | PlatformProperSides (int x, int y, bool acceptNonOpposing=false) |
|
static bool | CacheUpdateMapTile (int i, int j, bool addToList=true) |
|
static void | PerformCachedMapTileUpdates () |
|
static unsafe bool | UpdateMapTile (int i, int j, bool addToList=true) |
|
static void | TileMergeAttemptFrametest (int i, int j, int myType, int lookfor, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static void | TileMergeAttemptFrametest (int i, int j, int myType, bool[] lookfor, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static void | TileMergeAttempt (int myType, int lookfor, ref int up, ref int down, ref int left, ref int right) |
|
static void | TileMergeAttempt (int myType, bool[] lookfor, ref int up, ref int down, ref int left, ref int right) |
|
static void | TileMergeAttempt (int myType, int lookfor, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static void | TileMergeAttempt (int myType, bool[] lookfor, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static void | TileMergeAttempt (int myType, bool[] lookfor, bool[] exclude, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static void | TileMergeAttemptWeird (int myType, int changeTo, bool[] exclude, ref int up, ref int down, ref int left, ref int right, ref int upLeft, ref int upRight, ref int downLeft, ref int downRight) |
|
static int | GetTileMossColor (int tileType) |
|
static void | CheckFoodPlatter (int x, int y, int type) |
|
static void | TileFrameDoWork (int i, int j, bool resetFrame, bool noBreak, ref bool mapCheck) |
|
static void | TileFrame (int i, int j, bool resetFrame=false, bool noBreak=false) |
|
static void | CheckTorch (int x, int y) |
|
static void | CheckProjectilePressurePad (int i, int j) |
|
static bool | IsTreeType (int tree) |
|
static int | CanPlaceProjectilePressurePad (int x, int y, int type=442, int style=0, int direction=0, int alternate=0) |
|
static bool | BlockBelowMakesSandConvertIntoHardenedSand (int i, int j) |
|
static bool | BlockBelowMakesSandFall (int i, int j) |
|
static bool | AllowsSandfall (Tile tileTopCache) |
|
static void | TriggerLunarApocalypse () |
|
static void | UpdateLunarApocalypse () |
|
static void | StartImpendingDoom (int countdownTime) |
|
static void | GetRidOfCultists () |
|
static void | MessageLunarApocalypse () |
|
static void | BroadcastText (NetworkText text, Microsoft.Xna.Framework.Vector4 color) |
|
static void | BroadcastText (NetworkText text, Microsoft.Xna.Framework.Vector3 color) |
|
static void | BroadcastText (NetworkText text, int r, int g, int b) |
|
static void | BroadcastText (NetworkText text, byte r, byte g, byte b) |
|
static void | BroadcastText (NetworkText text, Microsoft.Xna.Framework.Graphics.Color color) |
|
static bool | CanCutTile (int x, int y, TileCuttingContext context) |
|
static bool | InAPlaceWithWind (Microsoft.Xna.Framework.Vector2 position, int width, int height) |
|
static bool | DoesWindBlowAtThisHeight (int tileY) |
|
static bool | InAPlaceWithWind (int x, int y, int width, int height) |
|
static int[] | CountTileTypesInWorld (params int[] oreTypes) |
|