Expand description
The dynamic frame’s header slots, one name each. UNLOCKED holds the
unlocked kinds as a bitmask by kind code in one double, with more than 32
bits in use: read bit k as Math.floor(mask / 2 ** k) % 2, since
JavaScript’s bitwise operators cut a number to 32 bits. FRAME_SEQ counts
the reader’s frames from 1: a host that sees it skip a number missed a
frame, and asks for a full one before it applies another. DAY through
WEEKEND_DAYS are the clock’s readings on the tower’s calendar (the day
count, the day of the week, the weekend flag as 0 or 1, the quarter and the
year, all counted from 0) and the calendar’s week and weekend lengths in
days, so a host shows dates without doing the date arithmetic.
BOMB_SEARCH_SEQ is 0 while no bomb search runs and otherwise moves with
every change to it, so a host rereads the search only when it moved.
Constants§
- BOMBS_
DETONATED - BOMB_
SEARCH_ SEQ - DAY
- DAY_
OF_ WEEK - EXPLOSION_
FX_ FLOOR - EXPLOSION_
FX_ SEQ - EXPLOSION_
FX_ X - FIRES_
GUT_ ROOMS - FIRES_
STARTED - FRAME_
SEQ - FULL
- IS_
WEEKEND - LOG_SEQ
- MEAL_
OVERLAY_ REVISION - META_
REVISION - MINUTES
- MONEY
- ON_
HOUR_ RUNS - PENDING_
CHOICE - PEOPLE
- POPULATION
- QUARTER
- ROOMS
- SANTA_
FX_ SEQ - STAR
- THIEF_
FX_ CAUGHT - THIEF_
FX_ FLOOR - THIEF_
FX_ SEQ - TOWER_
REVISION - TRANSPORTS
- TREASURE_
FX_ FLOOR - TREASURE_
FX_ SEQ - TREASURE_
FX_ X - UNITS
- UNLOCKED
- VIP_
FX_ SEQ - WEATHER
- WEEKEND_
DAYS - WEEK_
DAYS - YEAR