ludic.fishing, net, clock: their dice made once and seeded again, never made again per reset; ludic.minimap's near list kept, its marks and grid declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4bca5dfa92
commit
4fc9d2616a
6 changed files with 26 additions and 8 deletions
|
|
@ -47,6 +47,7 @@ export function minimap_config(minimap_st: mut MinimapState, cells: int, cell_m:
|
|||
minimap_st.mm_core_n = minimap_st.mm_cells
|
||||
@alloc_ok("once per map configured: its explored grid")
|
||||
minimap_st.mm_seen = new []int
|
||||
@alloc_ok("once per map configured: as above")
|
||||
for i in 0 .. minimap_st.mm_cells * minimap_st.mm_cells { push(minimap_st.mm_seen, 0) }
|
||||
minimap_st.mm_land_n = 0
|
||||
minimap_st.mm_version += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue