2using System.Collections.Generic;
55 RenderParam renderParam = base.GetRenderParam(mat, dir, point, bridgeHeight);
59 Row row = ((
id == 5) ? base.sources.blocks.rows[mat.defBlock] :
this);
60 renderParam.tile = row.
_tiles[0];
69 public Dictionary<int, Row>
_rows =
new Dictionary<int, Row>();
118 foreach (
Row row
in rows)
126 foreach (
Row row
in rows)
134 foreach (
Row row
in rows)
143 foreach (
Row row
in rows)
158 Cell.blockList = rows;
160 foreach (
Row row
in rows)
163 row.sourceAutoFloor = (row.
autoFloor.IsEmpty() ? floors.rows[40] : floors.alias[row.
autoFloor]);
static int GetColorInt(ref Color matColor, int p)
override RenderParam GetRenderParam(SourceMaterial.Row mat, int dir, Point point=null, int bridgeHeight=-1)
override RenderData defaultRenderData
SourceFloor.Row sourceAutoFloor
override int GetTile(SourceMaterial.Row mat, int dir=0)
override void ValidatePref()
override void BackupPref()
override void RestorePref()
override void OnAfterImportData()
override void SetRow(Row r)
static RenderData FallbackRenderData
Dictionary< int, Row > _rows
static string[] GetStringArray(int id)
static string GetString(int id)
static bool GetBool(int id)
static int GetInt(int id)
static int[] GetIntArray(int id)
static TileTypeHalfBlock HalfBlock