terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Classes | |
struct | TrackHistory |
Public Member Functions | |
bool | Place (Point origin, int minLength, int maxLength) |
TrackGenerator () | |
Private Types | |
enum | TrackPlacementState { Available , Obstructed , Invalid } |
enum | TrackSlope : sbyte { Up = -1 , Straight , Down } |
enum | TrackMode : byte { Normal , Tunnel } |
Private Member Functions | |
void | PlacePath () |
void | CreateTrackStart (Point origin) |
bool | FindPath (int minLength, int maxLength) |
TrackGenerator.TrackPlacementState | CreateTunnel () |
void | AppendToHistory (TrackGenerator.TrackSlope slope, TrackGenerator.TrackMode mode=TrackGenerator.TrackMode.Normal) |
TrackGenerator.TrackPlacementState | TryRewriteHistoryToAvoidTiles () |
void | RewriteSlopeDirection (int index, TrackGenerator.TrackSlope slope) |
TrackGenerator.TrackPlacementState | GetHistorySegmentPlacementState (int startIndex, int length) |
void | SmoothTrack () |
void | DrawPause () |
Static Private Member Functions | |
static bool | CanSlopesTouch (TrackGenerator.TrackSlope leftSlope, TrackGenerator.TrackSlope rightSlope) |
static bool | FindSuitableOrigin (ref Point origin) |
static TrackGenerator.TrackPlacementState | CalculateStateForLocation (int x, int y) |
static bool | IsMinecartTrack (int x, int y) |
static bool | IsLocationInvalid (int x, int y) |
static | TrackGenerator () |
Private Attributes | |
readonly TrackGenerator.TrackHistory[] | _history |
readonly TrackGenerator.TrackHistory[] | _rewriteHistory |
int | _xDirection |
int | _length |
int | playerHeight |
Static Private Attributes | |
static readonly ushort[] | InvalidWalls |
static readonly ushort[] | InvalidTiles |
Definition at line 14 of file TrackGenerator.cs.