feat(simulation): bookmark definition system with bridge protocol (#614)
BookmarkPlugin, BookmarkRegistry, SelectedBookmark resources. Tycoon bookmark defined; PROTOCOL_VERSION bumped to 22. RequestBookmarkCatalog + ConfirmBookmark actions wired into process_player_input via BookmarkInputParams SystemParam bundle (resolves Bevy's 16-system-param limit). build_catalog() accepts optional CultureResolver for D-128 location-culture mapping. Snapshot delivery at tick-0 via SnapshotBuffer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -397,6 +397,9 @@ pub fn compute_observer_snapshot(
|
||||
// Consume pending economy snapshot for this tick (#822).
|
||||
let economy_snapshot = buffer.pending_economy_response.take();
|
||||
|
||||
// Consume pending bookmark catalog for this tick (#614).
|
||||
let bookmark_catalog = buffer.pending_bookmark_catalog.take();
|
||||
|
||||
// Consume pending save/load result for this tick (#553).
|
||||
let save_result = buffer.pending_save_result.take();
|
||||
|
||||
@@ -493,6 +496,7 @@ pub fn compute_observer_snapshot(
|
||||
current_ticker,
|
||||
settings_response,
|
||||
economy_snapshot,
|
||||
bookmark_catalog,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user