修复Demo的Main.cpp的问题,并修复int32-float的转换。

This commit is contained in:
HP
2026-06-07 17:01:27 +08:00
parent e150b153b9
commit 3f6e2bab2c
3 changed files with 21 additions and 22 deletions
+3 -1
View File
@@ -205,6 +205,8 @@ namespace
int main(int argc, char* argv[])
{
std::cout << "[INFO] Start make tom game." << std::endl;
const ProgramOptions options = ParseProgramOptions(argc, argv);
if (options.show_help)
{
@@ -257,7 +259,7 @@ int main(int argc, char* argv[])
Core::Timer timer(options.target_fps);
Platform::SteadyTimeSource time_source;
std::cout << "Tom game started. Target FPS: " << timer.target_fps() << std::endl;
std::cout << "[INFO] Tom game started. Target FPS: " << timer.target_fps() << std::endl;
bool is_running = true;
uint32_t animation_time_ms = 0;