• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 24737651107

21 Apr 2026 05:48PM UTC coverage: 4.815% (+0.01%) from 4.803%
24737651107

push

github

web-flow
feat(game): Marine mechanics part7 — inland water from client, harpoon rope server logic, buoyancy (#1421)

* fix(game): remove ship visual waterline hack

Remove ShipHullWaterlineVisualHullFrac and align portal summon height with server buoyancy draft.

* feat(game): server-side harpoon rope tear and recoil

Compute rope tension/jerk on the server, ignore client teared flag, and broadcast rope breaks with a small hull recoil impulse.

* Load inland water from client cell object.dat and visareas.dat

- Remove water_bodies.json and WaterEdit; ingest zones via WaterBodies.AddFromCellData per loaded cell

- CryEngine object.dat parsers (water, brush, voxel, road) and CgfConverter struct shim

- Heuristics: cell-local vs world XY; high-altitude Ocean volumes (not near template sea level)

- WaterBodyArea: LineArray corridor test; polygon point-in-polygon; fix reload cell loop bounds

- Character: underwater/breath only when IsWater (avoids false breath on bridges)

- Add waterdebug reload/info; fix ObjectDataType11Water SurfVScale read offset

* Fix Cry water ingest and GetWaterSurface for inland zones

- Narrow duplicate-sea Ocean skip from 15m to TemplateSeaDuplicateSurfaceMarginMeters (1m) so low rivers above sea ingest

- Ingest WaterObjectVolumeType.Sector with River/Ocean/Area flows

- GetWaterSurface: ignore XY hits whose water column ends above the probe (below floor)

* Ingest water bodies from object.dat only, not visareas

Visareas prefabs are no longer passed to AddObjectDataFromWorldCell. WaterDebug help text updated.

* WaterBodies: skip water zones below minimum XY bbox area

Tune via MinWaterBboxAreaSquareMeters (hot-reload friendly getter pattern).

ObjectDataType6Voxel: add nullable context for mesh fields, dispose ZLibStream properly, remove unreachable MeshProcessor null check.

* WaterBodies: set default MinWaterBboxAreaSquareMeters to 7000

* WaterBodies: replace MinWaterBboxAreaSquareMeters getter wrapper with const

* WaterBodies: ... (continued)

3 of 1261 new or added lines in 26 files covered. (0.24%)

17 existing lines in 9 files now uncovered.

3201 of 66481 relevant lines covered (4.81%)

0.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/AAEmu.Game/Models/CryEngine/Objects/ObjectsFile.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc