mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
Style: Fixup instances of void arguments
The style we have here is that functions with no arguments are to have explicit `void` arguments, even though this doesn't apply in C++, because it does apply in C. Unfortunately, some have slipped through the cracks. This commit fixes them.
This commit is contained in:
@@ -754,7 +754,7 @@ void Game::setstate(const int gamestate)
|
||||
}
|
||||
}
|
||||
|
||||
void Game::incstate()
|
||||
void Game::incstate(void)
|
||||
{
|
||||
if (!statelocked)
|
||||
{
|
||||
@@ -770,12 +770,12 @@ void Game::setstatedelay(const int delay)
|
||||
}
|
||||
}
|
||||
|
||||
void Game::lockstate()
|
||||
void Game::lockstate(void)
|
||||
{
|
||||
statelocked = true;
|
||||
}
|
||||
|
||||
void Game::unlockstate()
|
||||
void Game::unlockstate(void)
|
||||
{
|
||||
statelocked = false;
|
||||
}
|
||||
@@ -7394,7 +7394,7 @@ void Game::sabotage_time_trial(void)
|
||||
timetrialparlost = true;
|
||||
}
|
||||
|
||||
bool Game::isingamecompletescreen()
|
||||
bool Game::isingamecompletescreen(void)
|
||||
{
|
||||
return (state >= 3501 && state <= 3518) || (state >= 3520 && state <= 3522);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user