Map sectors show again, clients get their own machines and the train's swath, machines stay out of the ground
- Map: the sectors are wound the screen's way (most were wound the other way and culled, leaving a blank chart), kept inside the chart, and drawn as ball, sectors and marks layers; the scale bar is no longer sized mid-draw. - Players' save keys are replicated, so a client's garage finds its machines and their upgrades; two players under one key get separate ones. - The grass train sends its mowing to the clients; moving the depot or resizing the planet relays its line. - A hard floor under vehicle springs: hard landings, steep rises and hand-overs no longer sink a machine. - Tests: -demosink, -demorep host|client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -2957,6 +2957,11 @@ namespace GrassCutter
|
||||
yield return TwoPlayers(role == "host");
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Get("-demorep") is string rep)
|
||||
{
|
||||
yield return ReplicaDemo(rep == "host");
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Get("-democrowd") is string crowd)
|
||||
{
|
||||
yield return Crowd(crowd == "host");
|
||||
@ -3013,6 +3018,11 @@ namespace GrassCutter
|
||||
yield return Perf(int.Parse(perfSlot));
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Has("-demosink"))
|
||||
{
|
||||
yield return SinkDemo();
|
||||
yield break;
|
||||
}
|
||||
if (CommandLine.Has("-demotrain"))
|
||||
{
|
||||
yield return TrainDemo();
|
||||
|
||||
Reference in New Issue
Block a user