Cockatrice/libcockatrice_interfaces/libcockatrice/interfaces
BruebachL 750d5b3c21
[Client] Add option to use game time in game log timestamps (#7265)
* [Client] Add option to use game time in game log timestamps (#2202)

Game log timestamps showed the local clock time, which is meaningless in
a replay or in a log read after the fact — nobody can tell when a play
happened relative to the game.

Add a "Use game time instead of local time in game logs" setting. When
enabled, the message log stamps entries with the elapsed game time
(HH:MM:SS since the game started); regular chat views keep the local
clock.

* [Game] Move formatElapsedTime helper out of public slots (#2202)

The message log needs the HH:MM:SS formatter used by the game timer, but
it lives in GameState's public slots, tying a pure formatting helper to
the signal-slot machinery.

Move formatElapsedTime into a public section of GameState so the log can
call it directly, and add the missing trailing newline to game_state.cpp.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-10-02 17:30:48 +02:00
..
interface_cache_storage_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_card_database_path_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
interface_card_preference_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
interface_card_set_priority_controller.h [Card Database] Improve loading times through binary cache (#7051) 2026-07-27 23:12:53 +02:00
interface_cards_display_settings_provider.h [DeckEditor] Show card counts in Visual Deck Editor banners (#7339) 2026-09-23 19:19:30 +02:00
interface_chat_settings_provider.h [Client] Add option to use game time in game log timestamps (#7265) 2026-10-02 17:30:48 +02:00
interface_deck_editor_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
interface_game_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_interface_settings_provider.h [Game] Playmats (#7101) 2026-08-21 10:40:49 +02:00
interface_network_settings_provider.h Clean up inter-library dependencies with interfaces (#6280) 2025-11-08 22:19:40 +01:00
interface_paths_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_personal_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
interface_sound_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_tabs_settings_provider.h [Mods] Properly close card art rules tab on disconnect (#7227) 2026-09-01 11:31:49 +02:00
interface_updates_settings_provider.h [Settings] Split cache_settings monolith into multiple SettingsManager sub-classes (#7050) 2026-07-27 11:25:39 +02:00
interface_visual_deck_storage_settings_provider.h [Settings] Shuffle some settings around (#7084) 2026-08-08 22:27:41 +02:00
noop_card_database_path_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
noop_card_preference_provider.h [Fix-Warnings] Mark const getters as [[nodiscard]] (#6365) 2025-11-28 21:38:54 +01:00
noop_card_set_priority_controller.h [Card Database] Improve loading times through binary cache (#7051) 2026-07-27 23:12:53 +02:00