Update to 14.0-beta1

This commit is contained in:
dP
2024-02-04 02:18:17 +05:30
parent 79037e2c65
commit 33ef333b57
1325 changed files with 138461 additions and 70983 deletions
+10
View File
@@ -17,6 +17,7 @@
#include "../gfx_func.h"
#include "../gfxinit.h"
#include "../progress.h"
#include "../rev.h"
#include "../thread.h"
#include "../window_func.h"
#include "video_driver.hpp"
@@ -180,3 +181,12 @@ void VideoDriver::SleepTillNextTick()
std::this_thread::sleep_for(next_tick - now);
}
}
/**
* Get the caption to use for the game's title bar.
* @return The caption.
*/
/* static */ std::string VideoDriver::GetCaption()
{
return fmt::format("OpenTTD {}", _openttd_revision);
}