Removed unused parameters.
This commit is contained in:
parent
38051c0191
commit
384bdb1124
@ -92,9 +92,9 @@ namespace Online
|
||||
* \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.
|
||||
*/
|
||||
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());
|
||||
}
|
||||
} // namespace messages
|
||||
|
@ -30,7 +30,7 @@ namespace Online
|
||||
*/
|
||||
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 signingOut ();
|
||||
irr::core::stringw validatingInfo ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user