title_screen_manager 
Admin window for the server-wide lobby title screen.
Replaces the picker that used to live inside the lobby's own HTML menu. That had grown a list, a preset list and two toggles into a single dropdown; a real TGUI window gives the list, a preview and the per-screen controls room to breathe, and lets an admin assemble a look before committing it.
Screen selection and presentation are staged until "Apply" writes them through the subsystem, so a half-finished visual experiment is never broadcast to everyone sitting in the lobby. The independent round-rotation preference is applied immediately by its own control.
Vars | |
| draft_baseline_settings | Saved presentation the working copy started from. |
|---|---|
| draft_generation | Monotonic draft revision used to snapshot asynchronous confirmations. |
| draft_screen | Screen the admin is editing, or null for the neutral Meridian master. |
| draft_screen_chosen | False while the live screen is an unmanaged upload with no editable record. |
| draft_selection_changed | Whether the admin explicitly chose a different screen in this draft. |
| draft_settings | Working copy of that screen's presentation, not yet applied. |
| owner | The admin this window belongs to. |
Procs | |
| apply_draft | Confirms, then writes the draft through the subsystem. |
| draft_requires_selection | Whether applying this draft must also make its screen the live selection. |
| has_pending_changes | Whether the draft differs from what is live, which is what gates Apply. |
| reset_draft | Discards the draft and re-reads whatever the server is actually showing. |
| sync_clean_draft_to_live | Follows server-side rotations and appearance changes while this draft is untouched. A local selection or appearance edit stays intact, with the live marker updating separately in the UI. |
| update_draft_settings | Validate the complete change before replacing any part of the draft. |
Var Details
draft_baseline_settings 
Saved presentation the working copy started from.
draft_generation 
Monotonic draft revision used to snapshot asynchronous confirmations.
draft_screen 
Screen the admin is editing, or null for the neutral Meridian master.
draft_screen_chosen 
False while the live screen is an unmanaged upload with no editable record.
draft_selection_changed 
Whether the admin explicitly chose a different screen in this draft.
draft_settings 
Working copy of that screen's presentation, not yet applied.
owner 
The admin this window belongs to.
Proc Details
apply_draft
Confirms, then writes the draft through the subsystem.
The prompt sleeps, so the exact draft is snapshotted first. Afterwards it re-checks rights and the draft generation. If the draft changed while its confirmation was open, the stale confirmation is rejected.
draft_requires_selection
Whether applying this draft must also make its screen the live selection.
has_pending_changes
Whether the draft differs from what is live, which is what gates Apply.
reset_draft
Discards the draft and re-reads whatever the server is actually showing.
sync_clean_draft_to_live
Follows server-side rotations and appearance changes while this draft is untouched. A local selection or appearance edit stays intact, with the live marker updating separately in the UI.
update_draft_settings
Validate the complete change before replacing any part of the draft.