]> git.localhorst.tv Git - blank.git/blobdiff - src/app/app.cpp
increase progress line split to 32 frames
[blank.git] / src / app / app.cpp
index 2b1a494efadbd20424a22886b57e93c6c2828478..4cc742ffede2ad5db34617b69b28570d307209b7 100644 (file)
@@ -81,7 +81,7 @@ void HeadlessApplication::RunS(size_t n, size_t t) {
        for (size_t i = 0; HasState() && i < n; ++i) {
                Loop(t);
                std::cout << '.';
-               if (i % 16 == 15) {
+               if (i % 32 == 31) {
                        std::cout << std::setfill(' ') << std::setw(5) << std::right << (i + 1) << std::endl;
                } else {
                        std::cout << std::flush;
@@ -328,7 +328,7 @@ void AssetLoader::LoadBlockTypes(
                BlockType type;
                type.Read(in, snd_index, tex_index, shapes);
                in.Skip(Token::SEMICOLON);
-               reg.Add(type);
+               reg.Add(std::move(type));
        }
 }