@@ -158,12 +158,25 @@ protected:
/**
* Handle input logic, is CTRL pressed, should we fast-forward, etc.
*/
virtual void InputLoop() {}
* Make sure the video buffer is ready for drawing.
* @returns True if the video buffer has to be unlocked.
virtual bool LockVideoBuffer() {
return false;
}
* Unlock a previously locked video buffer.
virtual void UnlockVideoBuffer() {}
std::chrono::steady_clock::duration GetGameInterval()
{
return std::chrono::milliseconds(MILLISECONDS_PER_TICK);
std::chrono::steady_clock::duration GetDrawInterval()