16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 06:49:19 +02:00
This commit is contained in:
milek7
2019-01-13 14:19:21 +01:00
parent 3db9efd3f7
commit cb106fb135
17 changed files with 82 additions and 66 deletions

View File

@@ -107,13 +107,6 @@ driver_mode::update() {
if (deltatime != 0.0)
{
static uint32_t fcount = 0;
fcount ++;
if (fcount > 500) {
fcount = 0;
WriteLog(std::to_string(Random(1.0, 100.0)));
}
// jak pauza, to nie ma po co tego przeliczać
simulation::Time.update( deltatime );
@@ -785,15 +778,6 @@ driver_mode::OnKeyDown(int cKey) {
}
break;
}
case GLFW_KEY_F12: {
// quick debug mode toggle
if( Global.ctrlState
&& Global.shiftState ) {
DebugModeFlag = !DebugModeFlag;
}
break;
}
default: {
break;
}