Shuttle console + FTL rework (#24430)
* Add shuttle interior drawing back Just do it per-tile she'll be right, at least it's done with 1 draw call. * Revamp shuttle console * Bunch of cleanup work * Lables sortito * dok * Pixel alignment and colours * Fix a bunch of drawing bugs * Shuttle map drawing * Drawing fixes * Map parallax working finally * weh * Commit all my stuff * mic * deez * Update everything * Xamlify everything * uh * Rudimentary blocker range * My enemies have succeeded * Bunch of changes to FTL * Heaps of cleanup * Fix FTL bugs * FTL * weewoo * FTL fallback * wew * weh * Basic FTL working * FTL working * FTL destination fixes * a * Exclusion zones * Fix drawing / FTL * Beacons working * Coordinates drawing * Fix unknown map names * Dorks beginning * State + docking cleanup start * Basic dock drawing * Bunch of drawing fixes * Batching / color fixes * Cleanup and beacons support * weh * weh * Begin pings * First draft at map objects * Map fixup * Faster drawing * Fix perf + FTL * Cached drawing * Fix drawing * Best I got * strips * Back to lists but with caching * Final optimisation * Fix dock bounds * Docking work * stinker * kobolds * Btns * Docking vis working * Fix docking pre-vis * canasses * Helldivers 2 * a * Array life * Fix * Fix TODOs * liltenhead feature club * dorking * Merge artifacts * Last-minute touchup
This commit is contained in:
@@ -437,7 +437,7 @@ public sealed class ArrivalsSystem : EntitySystem
|
||||
if (xform.MapUid != arrivalsXform.MapUid)
|
||||
{
|
||||
if (arrivals.IsValid())
|
||||
_shuttles.FTLTravel(uid, shuttle, arrivals, dock: true);
|
||||
_shuttles.FTLToDock(uid, shuttle, arrivals);
|
||||
|
||||
comp.NextArrivalsTime = _timing.CurTime + TimeSpan.FromSeconds(tripTime);
|
||||
}
|
||||
@@ -447,7 +447,7 @@ public sealed class ArrivalsSystem : EntitySystem
|
||||
var targetGrid = _station.GetLargestGrid(data);
|
||||
|
||||
if (targetGrid != null)
|
||||
_shuttles.FTLTravel(uid, shuttle, targetGrid.Value, dock: true);
|
||||
_shuttles.FTLToDock(uid, shuttle, targetGrid.Value);
|
||||
|
||||
// The ArrivalsCooldown includes the trip there, so we only need to add the time taken for
|
||||
// the trip back.
|
||||
@@ -567,7 +567,7 @@ public sealed class ArrivalsSystem : EntitySystem
|
||||
var arrivalsComp = EnsureComp<ArrivalsShuttleComponent>(component.Shuttle);
|
||||
arrivalsComp.Station = uid;
|
||||
EnsureComp<ProtectedGridComponent>(uid);
|
||||
_shuttles.FTLTravel(component.Shuttle, shuttleComp, arrivals, hyperspaceTime: RoundStartFTLDuration, dock: true);
|
||||
_shuttles.FTLToDock(component.Shuttle, shuttleComp, arrivals, hyperspaceTime: RoundStartFTLDuration);
|
||||
arrivalsComp.NextTransfer = _timing.CurTime + TimeSpan.FromSeconds(_cfgManager.GetCVar(CCVars.ArrivalsCooldown));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user