Removed unused parameters.

This commit is contained in:
hiker 2014-04-08 08:19:14 +10:00
parent 38051c0191
commit 384bdb1124
2 changed files with 3 additions and 3 deletions

View File

@ -92,9 +92,9 @@ namespace Online
* \param interval A float representing the time it takes to add a new dot * \param interval A float representing the time it takes to add a new dot
* \param max_dots The number of dots used. Defaults to 3. * \param max_dots The number of dots used. Defaults to 3.
*/ */
irr::core::stringw loadingDots(bool spaces, float interval, int max_dots) irr::core::stringw loadingDots(float interval, int max_dots)
{ {
int nr_dots = int(floor(StkTime::getRealTime() * (1 / interval))) % (max_dots+1); int nr_dots = int(floor(StkTime::getRealTime() / interval)) % (max_dots+1);
return irr::core::stringw((std::string(nr_dots,'.') + std::string(max_dots-nr_dots,' ')).c_str()); return irr::core::stringw((std::string(nr_dots,'.') + std::string(max_dots-nr_dots,' ')).c_str());
} }
} // namespace messages } // namespace messages

View File

@ -30,7 +30,7 @@ namespace Online
*/ */
namespace Messages namespace Messages
{ {
irr::core::stringw loadingDots (bool spaces = true, float interval = 0.5f, int max_dots = 3); irr::core::stringw loadingDots (float interval = 0.5f, int max_dots = 3);
irr::core::stringw signingIn (); irr::core::stringw signingIn ();
irr::core::stringw signingOut (); irr::core::stringw signingOut ();
irr::core::stringw validatingInfo (); irr::core::stringw validatingInfo ();