18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 16:27:11 +01:00
Commit Graph

4620 Commits

Author SHA1 Message Date
maj00r fc74ff0860 Merge origin/staging into feat/model-format-e4d build-feat-model-format-e4d 2026-11-30 00:32:49 +01:00
Hirek cabd53a01c Merge pull request #382 from pwarszawski/fix/gl46-text-displays
fix(gl46): station name boards show their text
2026-11-29 17:40:25 +00:00
Hirek fe45bb5811 Merge pull request #374 from pwarszawski/fix/glare-occlusion
fix(gl46): no more glares of light points through walls
2026-11-29 17:39:59 +00:00
Hirek d21ae35899 Merge pull request #373 from pwarszawski/fix/gl46-scenery-zero-normals
fix(gl46): scenery shapes and rail ends rendered black
2026-11-29 17:37:28 +00:00
Hirek 3a9b3e5681 Merge pull request #372 from pwarszawski/fix/cluster-cull-lamp-radius
fix(gl46): the radius of a lamp isn't a part of its brightness in the cluster culling
2026-11-29 17:37:11 +00:00
Hirek a2315990ca Merge pull request #550 from miloszunio/feat/debug-perflog
feat(debug): debug.perflog writes the times of the renderer to perf.txt while the game runs
2026-11-29 17:36:21 +00:00
Hirek f964f75ece Merge pull request #544 from MaSzyna-EU07/fix/staging-case-regressions
Fix two scenario cases broken on staging: the uuid of scene nodes, the AI stop on a gradient, an off-track coupling
2026-11-29 17:35:36 +00:00
Hirek b8f31859e9 Merge pull request #546 from MaSzyna-EU07/feat/derailment-trust-limits
physics.derailment new: trust the speed limit of the track (physics.derailment.trustlimits)
2026-11-29 17:35:05 +00:00
Hirek 4d1219e225 Merge pull request #554 from MaSzyna-EU07/cleanup/mover
Create vehicle-architecture.md
2026-11-29 17:33:37 +00:00
Hirek 5d5e271edb Create vehicle-architecture.md 2026-11-29 18:32:22 +01:00
jerrrrycho a8bd72cc7f Merge staging into fix/staging-case-regressions build-fix-staging-case-regressions 2026-11-29 18:04:00 +01:00
jerrrrycho c0e1f1c8fe Merge staging into feat/derailment-trust-limits build-feat-derailment-trust-limits 2026-11-29 18:04:00 +01:00
maj00r 0d095e225c fix(model): E4D review of #535: no guessed pass in the file, the header and the tree checked, unknown sections passed over
- The pass bits (0x30) BinInit guesses from a material when the E3D has none are marked (TSubModel::m_passguessed) and the
  converter leaves them out of legacy_flags and the primitive flags: it loads through the null renderer, whose materials
  all guess opaque, so the game makes the guess again with the real material.
- A vehicle's model isn't converted from its .t3d (dynamic 1): the game prepares it only after the vehicle marked its
  animated parts, so the .e3d the game makes of it is converted instead.
- read_header refuses a file_size smaller than the header, which made the hash check read outside the span.
- Sections seen twice are found with a set, not O(n^2); all the sections together may claim at most 2 GiB; a section the
  reader doesn't know and the model can do without is passed over before it is unpacked when keep_unknown is off.
- validate() checks that the parent of each node is the innermost node whose subtree holds it, so the tree of the ranges
  is the tree of the parents.
- Light_OnNN / Light_OffNN found by the game's GetFromName, so of two submodels of a name the same one counts; a
  replaceable skin drawn translucent gets material_flags::translucent; the convertmodels flags parsed without stoi.
- S3519: the matrix made with glm::make_mat4 instead of a memcpy into its first column; NOSONAR on the seeded engines of
  the tests (S2245).
- The spec: u16 indices up to 65 536 vertices, and the two rules above.

Tests: a file_size below the header, a node in the subtree of another than its parent, an unknown section passed over.
2026-11-29 17:25:23 +01:00
jerrrrycho 5182e4eb43 Merge pull request #548 from MaSzyna-EU07/test/baltyk-skm1-cases-new-units
test(scenarios): baltyk_skm1 cases follow the new units of their missions
2026-11-29 17:12:04 +01:00
Hirek 48f2162b3b Merge pull request #552 from MaSzyna-EU07/cleanup/mover
(refactor/mover) stage 2: the vehicle keeps its state to itself
2026-11-29 16:03:53 +00:00
Hirek 969864f204 Merge staging into cleanup/mover
The windscreen weather (#367) and the compiler cache of the CI (#434). The
wipers' code of both renderers takes staging's side, reading the active cab and
the speed through TDynamicObject (ActiveCab(), Speed()) as the renderer does on
this branch; the windscreen water reads the speed the same way, and the deer
(world/deer.cpp) read the vehicle through its queries (V(), WarningSignal(),
CabOccupied()).

The golden traces recorded on dfb43c4f still match bit for bit: staging didn't
touch the physics.
build-cleanup-mover
2026-11-29 16:55:25 +01:00
Hirek c7c170a3cb Merge pull request #434 from MaSzyna-EU07/build/ci-compiler-cache-master
ci: shorter CI runs on pull requests
2026-11-29 15:38:41 +00:00
jerrrrycho de6e886048 test: the trusted-limit cases check the derailment as VehicleDamage, as staging does since #531 2026-11-29 15:24:16 +01:00
jerrrrycho 66908502b3 test: the off-track coupler case names the ends as VehicleEnd, as staging does since #531 2026-11-29 15:07:19 +01:00
jerrrrycho 1e825cb596 Merge staging into feat/derailment-trust-limits
# Conflicts:
#	McZapkie/Mover.cpp
2026-11-29 14:56:21 +01:00
jerrrrycho 501123c3b8 Merge staging into fix/staging-case-regressions
# Conflicts:
#	McZapkie/Mover.cpp
#	physics/vehicle.h
#	vehicle/Driver.cpp
#	vehicle/DynObj.cpp
2026-11-29 14:54:08 +01:00
Hirek d631837796 Merge pull request #367 from lcddisplay/feat/windscreen-weather-gl46
Windscreen weather (rain, bugs, snow), moths, deer and VAT animation for OpenGL 4.6 / Vulkan 1.4
2026-11-29 12:50:39 +00:00
Hirek f6c573340a docs(agents): the state of a vehicle changes outside the physics only through its operations
AGENTS.md says that outside physics/ the state of a physics::Vehicle changes
only through its operations, its definition aside as the vehicle loads; that a
field the rest only reads is private with a query named as the field was, one
nothing outside uses private outright, and a new one private from the start;
and that the cab and the events read the AI through its queries, the debug and
timetable panels alone being its friends.
2026-11-29 13:39:08 +01:00
Hirek 23b695752a refactor(physics): the demand of the integrated controller is private to the vehicle
eimic_real, the demand of the integrated controller the vehicle goes by with
the speed control counted, which TDynamicObject and the consist braking set
for the vehicle that leads, is private: EimicReal() and SetEimicReal(). The
field of the same name of drivingaid::input stays as it is.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 13:39:07 +01:00
Hirek f0978c36c7 refactor(physics): what nothing outside the vehicle uses is private to it
71 public fields of physics::Vehicle that no code outside the class reads or
writes (the definitions of the circuits and the tables only the vehicle's own
step goes through, the forces and the timers of its step, the programmable
controller, ...) move into its private part as they are, with the comments
above them. The fields of the old doors inside EU07_USEOLDDOORCODE stay where
they are.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 13:32:05 +01:00
Hirek ef8a1fdbfd refactor(physics): six more of what the rest only reads are private, under names of their own
The mass of the empty vehicle, the braking force, the outcome of a derailment,
the departure signal, the traction mode of a dual-mode vehicle and the moment
of the motors are private to physics::Vehicle like the 53 before them, read
through Mass(), Fb(), Derailed(), DepartureSignal(), TractionMode() and Mm().
Inside the class they are emptyMass, brakingForce, derailOutcome,
departureSignalOn, tractionModeSetting and motorMoment, as the plain camelCase
names were taken by locals there.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 13:23:53 +01:00
Hirek 5879c228dc refactor(physics): what the rest of the simulator only reads of a vehicle is private to it
53 fields of physics::Vehicle that only the vehicle itself writes, and the rest
of the simulator reads, are private, with a query each, named as the field was
(Vmax(), TotalMass(), Ft(), nrot(), NAxles(), PhysicActivation(), ...): the
compiler now keeps the cab, the AI, the scenery, the renderer and the tests from
changing what the definition gives or the physics works out. The fields were
picked by what is never written outside the class, of plain types, with no
other member of the same name to confuse; inside the class they keep their
meaning under camelCase names. The one place outside that cleared a flag of
the AI through a reference does it through ClearAIFlag().

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 13:17:56 +01:00
Hirek 74f0aa240d refactor(ai): the cab and the whois event are no longer friends of the AI, its public fields are private
TTrain and whois_event reached into the private members of TController as its
friends; they read what the AI knows of its consist and its route through
queries now (ConsistDoorsOpen(), ConsistConverterOverloaded(), ConsistLength(),
DesiredVelocity(), NextSignalVelocity(), BrakesReleaseLevel(), ...), and the cab
changes the radio channel through SetRadioChannel() rather than a reference to
the AI's field. The reversers of the consist, the stations of the timetable and
the obstacle ahead are public queries and operations.

The public fields of TController are private: whether the AI drives
(AIControllFlag()), the masks of the running without current the vehicles of
the consist set (MarkOverhead(), the same bits TDynamicObject::OverheadTrack()
set itself), the most deceleration of the blended brakes (MedAmax(),
SetMedAmax()), and the positions the driving aid panels show. Only the four
debug and timetable panels stay friends.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 13:06:16 +01:00
Claude 231bd3eb84 Bugs: the big and the huge ones smaller (2.5x and 5x the normal ones, were 4x and 9x)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 12:53:29 +01:00
Claude 7cea551157 Wipers and insects: the views from outside the cab follow the train driven
The new views of the consist put the camera at any vehicle of the train, one with an active cab of
its own too: taken for another vehicle, it wiped the insects met and the memory of the blades, so
the insects were gone from the glass after a change of the view. Outside the cab (FreeFlyModeFlag)
the glasses now follow the train driven, in both renderers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 12:53:29 +01:00
Claude 5d6f443450 Review 28.11: rain cells always bound, the velocity target and the blur pass only when needed
- the cells of the rain: the opengl renderer makes their storage (cleared) with the first bind and keeps it
  bound, the glasses read the cells only when they were worked out in the frame (scene_ubs.rain_state.w,
  both renderers): never the storage before the first rain, nor the stand-in of the vulkan renderer
- the pass of the motion blur and (opengl) the velocities drawn only in the frames which need them: the
  motion blur with something moving, the taa, or a glass of the rain, the insects or the snow in the view
  (windscreen_water::wants_glass_requests(): the cab seen from inside has one, or the view is not from the
  cab). the glasses keep their drops and haze with the motion blur off, the motion is blurred by 0 then

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 12:53:29 +01:00
Hirek 439adc2f46 refactor(physics): the last outside writes into the vehicle go through operations
What the AI, the cab and TDynamicObject still set in the physics directly is
named now: the stabiliser of the brake pipe reset as a driver takes over a cab
(ResetPipeStabiliser()), the spring brake released by hand
(ReleaseSpringBrake()), the mode of the brake (SetBrakeOperatingMode()), the
brake cut out by the player (ClaimBrakeCutOut()), the pressure of the consist's
brake pipe (SetEquivalentPipePressure()), the inverters switched from the cab
(SwitchInverter()), the odometer (SetOdometer(), ShowOdometer()).

The state the pantographs' sounds last followed belonged to the sounds, not to
the physics: it moves from basic_pantograph to TDynamicObject.

Outside physics/ nothing writes into a vehicle's state any more but the
definition the scenery and the .mmd adjust as the vehicle loads.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 12:52:28 +01:00
Hirek f65411a668 refactor(physics): the motion of the vehicle is private to it
The speed along the couplers, the location, the offsets from the track axis,
the accelerations, the distance counter and the distance moved since the last
check, the flat of the wheels and the truck hunting, the distance of the
derailment check, whether the vehicle is inside a consist and in the coupler
model, the analog demand of the integrated controller and the flow of the pipe
stabiliser are private to physics::Vehicle. TDynamicObject places and moves the
vehicle, the scenery puts road vehicles on their way and the contacts push them
through the operations (SetV(), SetLoc(), SetOffsetTrackH(), ...), and the
jolts of the track are ShakeVertically() and ShakeHorizontally(), the same
additions as before.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 12:43:38 +01:00
Hirek 0b5459ef7b refactor(physics): the positions of the brake handles are private to the brakes
The positions of the driver's brake valve (stepped, continuous, and of the
FV4a with its cap), of the independent brake and of its EP counterpart in
units with induction motors, and of the hand brake are private to
physics::Braking: read through HandlePosition(), IndependentPosition(), ...
and moved through SetHandlePosition(), SetIndependentPosition(), ..., by the
vehicle's own stepping as by the cab, the AI and the consist braking. The
gauges of the cab bind to them read-only.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 12:38:26 +01:00
Hirek 242474dd11 refactor(physics): the lights, the load and the event flags are private to the vehicle
- The lights switched on at each end (iLights) are LitLights(), changed
  through SetLitLights(): the cab's switches, the AI's light patterns and the
  scenery's toggles of the end signals all go through it.
- The exchange of the load, which TDynamicObject ran by setting the status, the
  amount and the mass itself, goes through UnloadStep(), LoadStep(),
  FinishLoadExchange() and AcknowledgeLoadExchange(), with the same arithmetic;
  the change of the kind of the load is taken once (TakeLoadTypeChange()).
- The events the physics reports for the sounds to follow up are raised and
  cleared by name (RaiseEventFlag(), ClearEventFlag(), ClearSoundFlags()).

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 12:33:13 +01:00
Hirek 84f1aa2515 refactor(physics): the controllers and the switches of the cab are private to the vehicle
The positions of the master and the secondary controller, of the analog
controller and of the lights selector, the occupied cab, the horns, the radio
and its fuse, the radio-stop, the wipers' switch, the dimmer, the mirrors'
button, the end-of-train signalling and the forced resistor fans: fourteen
fields the cab, the AI, the scenery and the tests wrote straight into
physics::Vehicle are private now. The rest of the simulator reads them through
queries named as the fields were (MainCtrlPos(), Radio(), ...) and changes them
through operations (SetMainCtrlPos(), SetRadio(), ...), so every place that
moves a controller past its own stepping (IncMainCtrl()) is named and can be
found; the compiler keeps anything else out. Inside the vehicle they keep
their meaning under camelCase names. The queries return const references, as
the gauges of the cab bind to them.

The .fiz keys are untouched.

No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.
2026-11-29 12:26:21 +01:00
miloszunio 91eefea01f fix(debug): one heading for each entry of perf.txt
The tables of an entry were headed a second time with the time alone, under the heading which already gives the time, the
frames and the longest of them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:10:14 +01:00
jerrrrycho 8038e4df37 Merge staging into build/ci-compiler-cache-master
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/build_bin.yml
build-build-ci-compiler-cache-master
2026-11-29 11:46:35 +01:00
Claude d8dc11aab2 Rebase onto staging (after #531)
The vehicle's physics is TDynamicObject::physics now (physics::Vehicle): the wipers, the insects and the
rain of the glasses, the snow of the windscreen water and the deer take it from there. The includes of
staging kept in opengl46renderer.cpp; the texture check of staging first in
Render_Instances_Indirect_Shadow(), then the materials with a vertex shader of their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:53 +01:00
Claude 559d105aa4 Deer: take fright by the speed of the train, run over slopes leaning with the ground
A grazing deer takes fright when the train is deer.reactiontime seconds of its speed away (default 3.5 s: it needs 2.0-2.75 s
from the alarm to be off the track), but no nearer than deer.reactiondistance (default 20 m) for a slow or a standing train. So
the slower the train, the closer it gets before the deer runs. The horn (deer.hornrange) sends it off sooner, as before.
deer.fleedistance, of the test builds of this feature only and never in a release, goes; an eu07.ini that still has it is read
with its value passed over.

The way a deer runs away may go down the slope of an embankment (to 6 m below the sleepers) or up the one of a cutting (to 4 m
above them), no steeper than 35 degrees between the samples of the ground, now 17 of them, about 1.5 m apart. Water, walls and
cliffs still keep a deer away. Running, the deer leans up and down the slope by the ground under its hooves (at most 30 degrees,
smoothed, about its side axis, which keeps the turn the shader reads the clip and the moment from), and grazes leaning where it
stopped, drawn on its own, out of the groups of the instances of its model.

No change to the assets: the same models and textures of the deer (models/animals/jelen_*.t3d, textures/animals/jelen_*).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXgG7F4L42c2F9sDSAJbT2
2026-11-29 11:39:15 +01:00
Claude 5ce5a531b8 Windscreen water: a glass with drops is one with an atlas of drops, not of the snow (wants_rain_cells())
mat_rain_windscreen has no param water_slot (only the glasses of the snow have a slot of their own), so wants_rain_cells() never found the glass of the rain and the cells weren't worked out: the glass showed only its fine droplets. A material of the cab with raindropsatlas and without snow_slot now (the insects too, which don't come with rain).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude 160e8b8a46 Windscreen water: the review of 27.11 (the snow list stops when full, the cells of the rain only for a cab with a glass of the rain)
- snList() stops listing when its SN_REFS are taken: no lumps worked out for nothing, and the cover of the texel counts only the
  sprites the glass lays (no gaps where it took the dropped ones for covering); OpenGL 4.6 and Vulkan
- update_rain_cells() gets no rain for a cab without a material of the shader of the rain in this weather
  (windscreen_water::wants_rain_cells(); as before when the simulation isn't used)
- Vulkan: a rain-cell buffer which can't be made leaves the glasses with rain dry (a small stand-in the pass sets hold) instead of
  failing the whole windscreen water; it is still made at the start, since the pass sets and those of the cullings hold it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude a9579a9841 Rebase onto staging (after #468): the water programs made ahead with the snow passes and the rain cells
- opengl46water: the two passes of the snow join PROGRAM_NAMES and prepare_next() (#476), optional as before: one which doesn't
  compile leaves the snow out (both passes) and the rain working; rain_cells.comp is made ahead too (its storage still waits for
  the first rain), so the first rain doesn't compile it in the middle of a frame; program_count() counts it
- vulkan14indirect: the path of the materials with their own shadow program passes the pending flag of multidraw_program()
- opengl46renderer.h: staging's shader_prewarm kept with m_ownvertexprograms / m_materialshadowprograms

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude 29dcfd3769 Drop what the rebase fix-up c0ebdd5 brought back that the base no longer has
The second "null" renderer branch of select_gfx_backend(), the opaque text displays (Render_text) and the catch of
std::exception in scenarioloader_mode::update(): the base's own code again (std::runtime_error, its own null branch).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude 44eedbbc97 Windscreen snow: five grids of lumps, six sprites a texel at most, lighter to lay [skip ci]
Laying the sprites took most of the snow on the glass (a covered glass ~1.0 ms at 2560x1440): nine grids, each covering the
glass a few times over, put many sprites one on another at a pixel. Five grids (the same sizes and tiles, the snow they need
from 0.02 to 2.6 mm) still close the glass; the layer lists at most six sprites a texel, two flakes and the top lumps (those
under them are covered): ~0.6 ms. Also the flakes as glassy as 0.5 (were 0.35), the lumps of thin snow at most 0.88 opaque so the
flakes under them show through, and a sprite reads the snow of the texel of the map under its centre (two reads, not eight).
OpenGL 4.6 and Vulkan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude 6db46bbc83 Windscreen snow: the air at speed blows off only thin dry snow, fewer flakes bounce off [skip ci]
SNOW_BLOW halved, blown up to 0.25 mm (was 0.6 mm), 15% of the dry flakes bounce off at speed (was 40%): the glass gets covered at 100 km/h too, a little slower than slowly (OpenGL 4.6 and Vulkan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude 05be4bff29 Windscreen water: the passes of the snow are optional
A snow kernel that doesn't compile (as water_snow.comp did on NVIDIA) leaves the glasses of the snow clear and the rain working, instead of disabling the whole simulation (OpenGL 4.6 and Vulkan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude ab3b0e1565 Moths: a swarm doesn't flip its visibility at the range of the lamp lights
A swarm shown before stays shown while its lamp is out of the lights of the frame by its distance (the range of its node hides it there), so node_state_version changes only when a lamp goes out, not each time the camera passes the range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude d896c7d81d Windscreens: the insects and the rain the glass meets advance once a frame, not once a view
The step is taken in the first view of a frame (the views of a frame share its time); OpenGL 4.6 and Vulkan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:15 +01:00
Claude d9980b78f7 Deer: LocalRandom(), not the seeded random engine of the simulation
The spawning, the side, the angle and the first frame of a deer no longer draw from Random(), so they don't shift the simulation of a seeded run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
2026-11-29 11:39:14 +01:00