From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Mfd.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Stars45/Mfd.cpp') diff --git a/Stars45/Mfd.cpp b/Stars45/Mfd.cpp index 44d5719..55f7cae 100644 --- a/Stars45/Mfd.cpp +++ b/Stars45/Mfd.cpp @@ -110,7 +110,7 @@ cockpit_hud_texture(0) } MFD::~MFD() -{ +{ GRAPHIC_DESTROY(sprite); } @@ -223,8 +223,8 @@ MFD::SetRect(const Rect& r) rect = r; if (sprite) - sprite->MoveTo(Point(rect.x + sprite->Width()/2, - rect.y + sprite->Height()/2, + sprite->MoveTo(Point(rect.x + sprite->Width()/2, + rect.y + sprite->Height()/2, 1)); } @@ -1112,14 +1112,14 @@ MFD::DrawGameMFD() if (!HUDView::IsArcade() && HUDView::ShowFPS()) { sprintf_s(txt, "FPS: %6.2f", Game::FrameRate()); - DrawMFDText(t++, txt, txt_rect, DT_LEFT); + DrawMFDText(t++, txt, txt_rect, DT_LEFT); txt_rect.y += 10; if (lines <= 1) return; Starshatter* game = Starshatter::GetInstance(); sprintf_s(txt, "Polys: %d", game->GetPolyStats().npolys); - DrawMFDText(t++, txt, txt_rect, DT_LEFT); + DrawMFDText(t++, txt, txt_rect, DT_LEFT); txt_rect.y += 10; } @@ -1136,7 +1136,7 @@ MFD::DrawGameMFD() if (ship) { DWORD clock = ship->MissionClock(); - + hours = (clock / 3600000) ; minutes = (clock / 60000) % 60; seconds = (clock / 1000) % 60; -- cgit v1.1