1using System.Collections.Generic;
 
    2using CreativeSpore.SuperTilemapEditor;
 
   20            HashSet<int> hashSet = 
new HashSet<int>();
 
   25                    hashSet.Add(value.
icon);
 
   28            foreach (
int item in hashSet)
 
   33                uIButton.
icon.Rect().localScale = 
new Vector3(2f, 2f, 1f);
 
   34                uIButton.SetOnClick(delegate
 
   37                    EClass._zone.icon = _i;
 
   38                    EClass.
ui.contextMenu.currentMenu.Hide();
 
   42            uIContextMenu4.Show();
 
   45        p.
TrySetAct(
"actChangeBlockHeight", delegate
 
   50                EClass._map.config.blockHeight = b * 0.1f;
 
   51            }, 0f, 40f, isInt: 
true, hideOther: 
false);
 
   52            uIContextMenu3.
Show();
 
   57            p.
TrySetAct(
"actChangeSkyBlockHeight", delegate
 
   62                    EClass._map.config.skyBlockHeight = (int)b;
 
   63                }, 1f, 20f, isInt: 
true, hideOther: 
false);
 
   64                uIContextMenu2.
Show();
 
   71            List<MapBG> list2 = 
Util.EnumToList<
MapBG>();
 
   72            for (
int j = 0; j < list2.Count; j++)
 
   74                layerList2.
Add(list2[j].ToString(), delegate(
int a)
 
   76                    EClass._map.config.bg = list2[a];
 
   83        p.
TrySetAct(
"actChangeShadowStrength", delegate
 
   86            uIContextMenu.
AddSlider(
"adjustment", (
float a) => a + 
"%", EClass._map.config.shadowStrength * 100f, delegate(
float b)
 
   88                EClass._map.config.shadowStrength = b * 0.01f;
 
   90            }, 0f, 400f, isInt: 
true, hideOther: 
false);
 
   94        p.
TrySetAct(
"actChangeFogDensity", delegate
 
   98            for (
int i = 0; i < list.Count; i++)
 
  100                layerList.
Add(list[i].ToString(), delegate(
int a)
 
  102                    EClass._map.config.fog = list[a];
 
  109        p.
TrySetAct(
"actChangeSkyColor", delegate
 
  118        p.
TrySetAct(
"actChangeSeaColor", delegate
 
  127        bool flag = !EClass._map.IsIndoor || EClass._zone is 
Zone_Tent;
 
  132        p.
TrySetAct(
"actToggleMapRoof".lang((flag ? 
"on" : 
"off").lang()), delegate
 
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
static BaseGameScreen screen
void SetZone(int gx, int gy, Zone z, bool updateMesh=false)
void Show(bool autoClose=true)
void Add(string lang, Action< int > action)
SerializableColor colorSea
SerializableColor colorScreen
SerializableColor Set(Color color)
override void TrySetAct(ActPlan p)