ludic.compass: the marks' pools made with the state (512), compass_at's empty mark kept; ludic.base imap_clear in place; ludic.things' kept lists through kept_push; ludic.net's once-per-room and STUN log lines declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8dfcccad41
commit
d3911d4ba8
11 changed files with 40 additions and 19 deletions
|
|
@ -8,7 +8,7 @@ export function compass_count(compass_st: CompassState) -> int {
|
|||
|
||||
# the i-th mark, or an empty one past the end
|
||||
export function compass_at(compass_st: CompassState, i: int) -> CompassMark {
|
||||
if i < 0 or i >= compass_count(compass_st) { return new CompassMark }
|
||||
if i < 0 or i >= compass_count(compass_st) { return compass_st.cmp_none }
|
||||
return compass_st.cmp_list[i]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue