|
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 void | PlayLiquidChangeSound (TileChangeType eventType, int x, int y, int count=1) |
|
static 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 Task | CreateNewWorld (GenerationProgress progress=null) |
|
static void | JustQuit () |
|
static void | SaveAndQuitCallBack (object threadContext) |
|
static void | SaveAndQuit (Action callback=null) |
|
static void | RenameWorld (WorldFileData data, string newName, Action< string > callback=null) |
|
static void | RenameWorldCallBack (object threadContext) |
|
static void | playWorldCallBack (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 Task | 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 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, 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 | 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 Color | paintColor (int color) |
|
static Color | coatingColor (int coating) |
|
static List< 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< 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, 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 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, 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 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=0, params int[] tiletypes) |
|
static void | hardUpdateWorld (int i, int j) |
|
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 | 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 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 | SpawnPlanteraThorns (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 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 | 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 | 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, Vector4 color) |
|
static void | BroadcastText (NetworkText text, 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, Color color) |
|
static bool | CanCutTile (int x, int y, TileCuttingContext context) |
|
static bool | InAPlaceWithWind (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) |
|
|
static EntitySource_TileBreak | GetProjectileSource_TileBreak (int x, int y) |
|
static EntitySource_TileBreak | GetNPCSource_TileBreak (int x, int y) |
|
static EntitySource_ShakeTree | GetProjectileSource_ShakeTree (int x, int y) |
|
static EntitySource_ShakeTree | GetItemSource_ShakeTree (int x, int y) |
|
static IEntitySource | GetProjectileSource_PlayerOrWires (int x, int y, bool fromWiring, Player player) |
|
static int | FindAHomelessNPC () |
|
static bool | IsRoomConsideredAlreadyOccupied (int spawnTileX, int spawnTileY, int npcTypeToSpawn) |
|
static bool | IsRoomConsideredOccupiedForNPCIndex (int npc) |
|
static bool | ScoreRoom_IsThisRoomOccupiedBySomeone (int ignoreNPC=-1, int npcTypeAsking=-1) |
|
static bool | ScoreRoom_CanBeHomeSpot (int x, int y) |
|
static bool | Housing_CheckIfIsCeiling (int i, int j) |
|
static bool | Housing_CheckIfInRoom (int i, int j) |
|
static void | SetForestBGSet (int style, int[] mountainSet, int[] treeSet) |
|
static int | RollRandomForestBGStyle (UnifiedRandom random) |
|
static void | ResetGenerator () |
|
static bool | placeTNTBarrel (int x, int y) |
|
static int | FillWallHolesInColumn (int x, int startY, int endY) |
|
static bool | FillWallHolesInSpot (int originX, int originY, int maxWallsThreshold) |
|
static void | AddGenerationPass (string name, WorldGenLegacyMethod method) |
|
static void | AddGenerationPass (GenPass pass) |
|
static void | AddGenerationPass (string name, double weight, WorldGenLegacyMethod method) |
|
static void | ScanTileColumnAndRemoveClumps (int x) |
|
static Point | GetAdjustedFloorPosition (int x, int y) |
|
static void | Scan3By3 (int topLeftX, int topLeftY, out bool isEmpty, out bool hasFloor) |
|
static void | FinishTenthAnniversaryWorld () |
|
static void | PaintTheMushrooms () |
|
static void | PaintTheTrees () |
|
static void | PaintTheSand (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintThePurityGrass (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintThePyramids (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintTheTemple (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintTheClouds (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintTheDungeon (byte tilePaintColor, byte wallPaintColor) |
|
static void | PaintTheLivingTrees (byte livingTreePaintColor, byte livingTreeWallPaintColor) |
|
static void | ConvertSkyIslands (int convertType, bool growTrees) |
|
static void | ImproveAllChestContents () |
|
static void | GiveItemGoodPrefixes (Item item) |
|
static void | PrefixItemFromOptions (Item item, int[] options) |
|
static void | NotTheBees () |
|
static void | FinishNotTheBees () |
|
static void | FinishGetGoodWorld () |
|
static void | FinishNoTraps () |
|
static void | FinishDrunkGen () |
|
static void | FinishRemixWorld () |
|
static double | TuneOceanDepth (int count, double depth, bool floridaStyle=false) |
|
static bool | GrowLivingTree_HorizontalTunnel (int i, int j) |
|
static void | GrowDungeonTree_MakePassage (int j, int W, ref int minl, ref int minr, bool noSecretRoom=false) |
|
static void | GrowLivingTree_MakePassage (int j, int W, ref int minl, ref int minr, bool noSecretRoom=false) |
|
static void | GrowLivingTreePassageRoom (int minl, int minr, int Y) |
|
static void | TreeGrowFX_AshShake (int x, int y, int height, bool hitTree=false) |
|
static bool | EligibleForSpawnProtection (Item item) |
|
static void | ShimmerCleanUp () |
|
static void | ShimmerMakeBiomeOpening (int direction, int X, int Y, int caveOpenningSize) |
|
static void | Shimminate () |
|
static void | ShimmeratorNext (int x, int y) |
|
static void | MakeDungeon_Traps (ref int failCount, int failMax, ref int numAdd) |
|
static void | MakeDungeon_Lights (ushort tileType, ref int failCount, int failMax, ref int numAdd, int[] roomWall) |
|
static double | MakeDungeon_Banners (int[] roomWall, double count) |
|
static double | MakeDungeon_Pictures (int[] roomWall, double count) |
|
static double | MakeDungeon_GroundFurniture (int wallType) |
|
static bool | IsUndergroundDesert (int x, int y) |
|
static bool | IsDungeon (int x, int y) |
|
static void | GetDesiredStalagtiteStyle (int x, int j, out bool fail, out int desiredStyle, out int height, out int y) |
|
static void | GetStalagtiteStyle (int x, int y, out int style, out bool fail) |
|
static int | RollRandomSeaShellStyle () |
|
static bool | GrowMoreVines (int x, int y) |
|
static void | GrowGlowTulips () |
|
static void | MatureTheHerbPlants () |
|
static bool | OasisPlantWaterCheck (int x, int y, bool boost=false) |
|
static int | GetDresserItemDrop (int style) |
|
static int | GetCampfireItemDrop (int style) |
|
static void | SpawnThingsFromPot (int i, int j, int x2, int y2, int style) |
|
static int | GetChestItemDrop (int x, int y, int type) |
|
static bool | SeaOatWaterCheck (int x, int y) |
|
static bool | PlantSeaOat (int x, int y) |
|
static bool | CheckSeaOat (int x, int y) |
|
static bool | GrowSeaOat (int x, int y) |
|
static int | GetWaterDepth (int x, int y) |
|
static int | CountGrowingPlantTiles (int x, int y, int range, int type) |
|
static bool | PlaceBamboo (int x, int y) |
|
static bool | KillWall_CheckFailure (bool fail, Tile tileCache) |
|
static void | KillWall_PlaySounds (int i, int j, Tile tileCache) |
|
static void | KillWall_DropItems (int i, int j, Tile tileCache) |
|
static int | KillWall_GetItemDrops (Tile tileCache) |
|
static void | KillWall_MakeWallDust (int i, int j, Tile tileCache) |
|
static void | ReplaceTIle_DoActualReplacement (ushort targetType, int targetStyle, int topLeftX, int topLeftY, Tile t) |
|
static void | ReplaceTile_DoActualReplacement_Single (ushort targetType, int targetStyle, int topLeftX, int topLeftY, Tile t) |
|
static void | ReplaceTile_EliminateNaturalExtras (int x, int y) |
|
static void | ReplaceTile_DoActualReplacement_Area (ushort targetType, int targetStyle, int topLeftX, int topLeftY, int areaSizeX, int areaSizeY) |
|
static void | MoveReplaceTileAnchor (ref int x, ref int y, ushort targetType, Tile t) |
|
static bool | ReplaceTile_IsValidSolid (int type) |
|
static bool | ReplaceTile_IsValidTorch (int type) |
|
static bool | ReplaceTile_IsValidCampfire (int type) |
|
static bool | ReplaceTile_IsValidChest (int type) |
|
static bool | ReplaceTile_IsValidDresser (int type) |
|
static bool | ReplaceTile_IsValidPlatform (int type) |
|
static void | ShakeTree (int i, int j) |
|
static void | GetVineTop (int i, int j, out int x, out int y) |
|
static void | AttemptFossilShattering (int i, int j, Tile tileCache, bool fail) |
|
static Player | GetPlayerForTile (int x, int y) |
|
static void | KillTile_DropItems (int x, int y, Tile tileCache, bool includeLargeObjectDrops=false) |
|
static void | SetGemTreeDrops (int gemType, int seedType, Tile tileCache, ref int dropItem, ref int secondaryItem) |
|
static void | SetVanityTreeDrops (int dropType, Tile tileCache, ref int dropItem) |
|
static bool | KillTile_ShouldDropSeeds (int x, int y) |
|
static void | KillTile_GetTreeDrops (int i, int j, Tile tileCache, ref bool bonusWood, ref int dropItem, ref int secondaryItem) |
|
static void | KillTile_DropBait (int i, int j, Tile tileCache) |
|
static bool | nearbyChlorophyte (int i, int j) |
|
static int | MossConversion (int thisType, int otherType) |
|
static void | UpdateWorld_OvergroundTile (int i, int j, bool checkNPCSpawns, int wallDist) |
|
static bool | HasValidGroundForAbigailsFlowerBelowSpot (int x, int y) |
|
static bool | TryGrowingAbigailsFlower (int i, int j) |
|
static bool | NoNearbyAbigailsFlower (int i, int j) |
|
static bool | HasValidGroundForGlowTulipBelowSpot (int x, int y) |
|
static bool | TryGrowingGlowTulip (int i, int j) |
|
static bool | NoNearbyGlowTulips (int i, int j) |
|
static void | UpdateWorld_UndergroundTile (int i, int j, bool checkNPCSpawns, int wallDist) |
|
static void | GrowWeb (int i, int j) |
|
static bool | AttemptToGeneratePlanteraBulbAt (int i, int j, bool forceBulb) |
|
static void | UpdateWorld_GrassGrowth (int i, int j, int minI, int maxI, int minJ, int maxJ, bool underground) |
|
static void | TrySpawningTownNPC (int x, int y) |
|
static bool | badOceanCaveTiles (int x, int y) |
|
static void | StopMergingByInvsibility (ref int currentMerge, Tile block, bool wantedInvisibilityState) |
|
static bool | SpawnFallingBlockProjectile (int i, int j, Tile tileCache, Tile tileTopCache, Tile tileBottomCache, int type) |
|
static void | CheckProjectilePressurePad_GetPossiblePlacementDirections (int i, int j, out bool canUp, out bool canLeft, out bool canRight, out bool canDown) |
|
static void | CheckDoorOpen (int i, int j, Tile tileCache) |
|
static void | CheckDoorClosed (int i, int j, Tile tileCache, int type) |
|
static void | GetSandfallProjData (int type, out int projType, out int dmg) |
|