[Replay] Show the history sidebar in replay tabs

Add the Game History dock to the left of replay tabs, wire it to the replay timeline, and register it with the View menu and layout reset.
This commit is contained in:
Lukas Brübach 2026-10-20 22:15:15 +02:00
parent c96d945068
commit b5a122f7ac
5 changed files with 61 additions and 2 deletions

View file

@ -66,6 +66,16 @@ public:
return replayTimeline;
}
/**
* @brief Index of the last event the game state has processed.
*
* @return The event index, or -1 while no event has been replayed yet
*/
[[nodiscard]] int getLastProcessedEventIndex() const
{
return currentEvent - 1;
}
void setTimeScaleFactor(qreal _timeScaleFactor);
void setSkipEmptySections(bool value);