Cleanup project

- To prepare being able to instead create games in a different
  repository
This commit is contained in:
Thraix
2024-10-01 19:42:44 +02:00
parent df59dc3f3f
commit 7cfb38163b
68 changed files with 204 additions and 2612 deletions
@@ -123,6 +123,9 @@ namespace Copium
if(trimmedLine.empty())
continue;
if (trimmedLine[0] == '/' && trimmedLine[1] == '/')
continue;
if(trimmedLine == "---")
{
return;
+10
View File
@@ -15,4 +15,14 @@ namespace Copium
{
return std::chrono::duration<double>(std::chrono::high_resolution_clock::now() - startTime).count();
}
double Timer::ElapsedRestart()
{
std::chrono::time_point<std::chrono::steady_clock> newTime = std::chrono::high_resolution_clock::now();
double elapsedTime = std::chrono::duration<double>(newTime - startTime).count();
startTime = newTime;
return elapsedTime;
}
}
+1
View File
@@ -13,5 +13,6 @@ namespace Copium
void Start();
double Elapsed();
double ElapsedRestart();
};
}