Files
Cesarus85--ringfall-mjolnir-vr/source/objects/widgets
Addison Bair 35f643f376 Grow the widget and light volume pools for large games
A plasma bolt is drawn by its light volume, a widget, and both pools were
still the Xbox's: 64 widgets and 256 light volumes. Every assault rifle
holds a light volume for its flashlight beam from when it is made, held or
dropped. In network co-op the rifles left lying about are kept as garbage
in proportion to the players, and garbage that any player can see is never
collected, so a large game fills the widget pool and keeps it full; a client
that joins a game in progress makes all the rifles at once and takes every
slot. From then on widgets_new finds the pool full and skips the widget, so
every bolt flies and hits unseen.

- widgets 64 -> 2048 (HALO_PORT_MAXIMUM_WIDGETS)
- light volumes 256 -> 2048 (HALO_PORT_MAXIMUM_LIGHT_VOLUMES); with only the
  widgets grown, the light volumes run out next

At 128 players a game can hold about 1,000: the rifles in hand, the ones on
the ground (garbage collection starts at 400 and keeps those in view) and the
bolts and needles in the air. The CPU part of the game state grows by 38,144
bytes, to 18,242,828 (2,466,548 free). As with any pool size, saved games of
earlier builds no longer load.
2026-10-07 05:23:34 +00:00
..
2025-11-27 02:27:27 +00:00
2025-11-27 10:43:31 +00:00
2025-11-27 02:27:27 +00:00
2026-10-07 12:01:09 +13:00
2026-08-13 07:43:18 -07:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2026-10-07 12:01:09 +13:00
2026-08-13 05:40:42 -07:00
2025-11-27 02:27:27 +00:00
2026-10-07 12:01:09 +13:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2026-10-07 12:01:09 +13:00
2026-08-31 23:49:53 -07:00
2026-08-13 05:40:42 -07:00