1using System.Collections.Generic;
45 if (listArea.Count == 0)
53 if (
index >= listArea.Count)
57 listArea[
index].Update();
85 bool flag = pos.sourceBlock.id != 0;
87 bool flag2 = EClass._map.IsIndoor || cell.
HasRoof;
112 cell.isWatered =
true;
197 if (
index >= list.Count)
202 list[
index].Update();
231 if (
index >= charas.Count)
236 if (
chara.IsAliveInCurrentZone && !
chara.IsPC)
238 chara.FindNewEnemy();
255 for (
int i = 0; i < charas.Count; i++)
262 chara.roundTimer += gameDelta;
263 float actTime =
chara.actTime;
264 if (
chara.roundTimer > actTime)
267 chara.roundTimer -= actTime;
273 if (i > charas.Count)
291 if (
index >= charas.Count)
296 for (
int num =
chara.conditions.Count - 1; num >= 0; num--)
298 if (num <
chara.conditions.Count)
324 if (
index >= things.Count)
329 if (
thing.fov !=
null)
331 thing.CalculateFOV();
333 if (
thing.trait.HaveUpdate)
335 thing.trait.Update();
393 bool flag = EClass.world.weather.CurrentCondition ==
Weather.
Condition.RainHeavy;
396 float mtpVolume = ((EClass._zone.lv <= -2) ? 0f : ((flag2 && !flag3) ? 0.5f : 1f));
399 for (
int i = 0; i < EClass.setting.weather.splashCount * ((!flag) ? 1 : 2); i++)
431 EClass.
Sound.Play(
"Ambience/Random/storm", mtpVolume);
493 if (Input.GetKey(KeyCode.LeftControl))
495 Debug.Log(tg.Name +
": Distance:" + hit2.Distance(tg.pos));
510 EClass.screen.tileMap.passGuideFloor.Add(p, 20f);
560 foreach (
Updater updater
in array)
562 text = text + updater.GetType().Name +
": " + updater.updatesPerFrame +
" / frame " + updater.maxCount +
" in " + updater.duration +
"sec \n";
static FactionBranch Branch
static BaseGameScreen screen
static SoundManager Sound
static GameSetting setting
HomeResourceManager resources
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
override LogicalPointManager manager
override float UpdateDuration
override void FixedUpdate()
virtual float UpdateDuration
virtual LogicalPointManager manager
override void FixedUpdate()
override void FixedUpdate()
override void FixedUpdate()
void SetUpdatesPerFrame(int _maxcount, float _duration)
virtual void FixedUpdate()
ConditionUpdater condition
FastSurfaceUpdater surfaceFast
static LayerCraft Instance
static LayerDragGrid Instance
HashSet< Point > refreshList
List< LogicalPoint > list
static bool IsVisible(Point p1, Point p2, Action< Point, bool > _onVisit=null)
void ForeachSphere(int _x, int _z, float r, Action< Point > action)
void RefreshSingleTile(int x, int z)
void SetLiquid(int x, int z, CellEffect effect=null)
void ModLiquid(int x, int z, int amount)
void SetEffect(int x, int z, CellEffect effect=null)
CellEffectManager effectManager
void Add(Point point, float tile=0f, float color=0f)
void RequestPathImmediate(PathProgress progress)
static PathManager Instance
List< PathFinderNode > nodes
ref Vector3 Position(int height)
Point Set(int _x, int _z)
ref Vector3 PositionTopdown()
void ModFire(int value, bool extinguish=false)
ref Vector3 PositionCenter()
Point Clamp(bool useBounds=false)
Dictionary< string, PropSet > raceMap
static int Range(int min, int max)
ParticleSystem psRainSplashWater
ParticleSystem psRainSplash
static void Play(string id, float mtp=1f)