1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Fix a few missing implicit void arg declarations

While working on #535, I noticed that editormenuactionpress() still
didn't do the explicit void declaration. Then I ran `rg 'void.*\(\)'`
and found three other functions that I somehow missed in #628. Whoops.
Well, now they no longer are missed.
This commit is contained in:
Misa 2021-03-18 21:20:05 -07:00 committed by Ethan Lee
parent 2c8d338e47
commit 9e2716b253
4 changed files with 4 additions and 4 deletions

View file

@ -6044,7 +6044,7 @@ bool Game::customsavequick(std::string savfile)
} }
void Game::loadtele() void Game::loadtele(void)
{ {
tinyxml2::XMLDocument doc; tinyxml2::XMLDocument doc;
if (!FILESYSTEM_loadTiXml2Document("saves/tsave.vvv", doc)) return; if (!FILESYSTEM_loadTiXml2Document("saves/tsave.vvv", doc)) return;

View file

@ -3237,7 +3237,7 @@ bool Graphics::onscreen(int t)
return (t >= -40 && t <= 280); return (t >= -40 && t <= 280);
} }
void Graphics::reloadresources() void Graphics::reloadresources(void)
{ {
grphx.destroy(); grphx.destroy();
grphx.init(); grphx.init();

View file

@ -1166,7 +1166,7 @@ static void menurender(void)
} }
} }
void titlerender() void titlerender(void)
{ {
ClearSurface(graphics.backBuffer); ClearSurface(graphics.backBuffer);

View file

@ -3680,7 +3680,7 @@ void editorlogic(void)
} }
static void editormenuactionpress() static void editormenuactionpress(void)
{ {
extern editorclass ed; extern editorclass ed;
switch (game.currentmenuname) switch (game.currentmenuname)