message: Force truncation of floating point values in SplashState to avoid image artifacts.
diff: @@ -95,20 +95,24 @@ State* SplashState::update()
  mTimer.reset();
  }
  - if(CURRENT_STATE == LOGO_OUTPOSTHD)
  - r.drawBoxFilled(0, 0, r.width(), r.height(), 0, 0, 0);
  - else
  - r.drawBoxFilled(0, 0, r.width(), r.height(), 255, 255, 255);
  + if (CURRENT_STATE == LOGO_OUTPOSTHD) { r.drawBoxFilled(0, 0, r.width(), r.height(), 0, 0, 0); }
  + else { r.drawBoxFilled(0, 0, r.width(), r.height(), 255, 255, 255); }
  if (CURRENT_STATE == LOGO_LAIRWORKS)
  - r.drawImage(mLogoLairworks, r.center_x() - mLogoLairworks.width() / 2, r.center_y() - mLogoLairworks.height() / 2);
  + {
  + r.drawImage(mLogoLairworks, static_cast<int>(r.center_x() - mLogoLairworks.width() / 2), static_cast<int>(r.center_y() - mLogoLairworks.height() / 2));
  + }
  if (CURRENT_STATE == LOGO_NAS2D)
  - r.drawImage(mLogoNas2d, r.center_x() - mLogoNas2d.width() / 2, r.center_y() - mLogoNas2d.height() / 2);
  + {
  + r.drawImage(mLogoNas2d, static_cast<int>(r.center_x() - mLogoNas2d.width() / 2), static_cast<int>(r.center_y() - mLogoNas2d.height() / 2));
  + }
  if (CURRENT_STATE == LOGO_OUTPOSTHD)
  - r.drawImage(mLogoOutpostHd, r.center_x() - ((mLogoOutpostHd.width() + 250 * LOGO_SCALE)) / 2, r.center_y() - mLogoOutpostHd.height() / 2, LOGO_SCALE);
  + {
  + r.drawImage(mLogoOutpostHd, static_cast<int>(r.center_x() - ((mLogoOutpostHd.width() + 250 * LOGO_SCALE)) / 2), static_cast<int>(r.center_y() - mLogoOutpostHd.height() / 2, LOGO_SCALE));
  + }
  - if (r.isFading())
  - return this;
  +
  + if (r.isFading()) { return this; }
  if (CURRENT_STATE == LOGO_OUTPOSTHD)
  {
  @@ -147,6 +151,4 @@ void SplashState::onMouseDown(EventHandler::MouseButton button, int x, int y)
  void SplashState::onWindowResized(int width, int height)
  -{
  -
  -}
  +{}
  