mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Fix '-Wpedantic' warnings under gcc 10.x
This commit is contained in:
parent
6e1054e362
commit
082a0c2205
3 changed files with 16 additions and 16 deletions
|
@ -79,9 +79,9 @@ namespace Menu
|
||||||
timetrialcomplete,
|
timetrialcomplete,
|
||||||
timetrialcomplete2,
|
timetrialcomplete2,
|
||||||
timetrialcomplete3,
|
timetrialcomplete3,
|
||||||
gamecompletecontinue,
|
gamecompletecontinue
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
struct MenuStackFrame
|
struct MenuStackFrame
|
||||||
{
|
{
|
||||||
|
|
|
@ -398,21 +398,21 @@ int Graphics::bfontlen(uint32_t ch)
|
||||||
|
|
||||||
void Graphics::MakeTileArray(void)
|
void Graphics::MakeTileArray(void)
|
||||||
{
|
{
|
||||||
PROCESS_TILESHEET(tiles, 8, )
|
PROCESS_TILESHEET(tiles, 8, {})
|
||||||
PROCESS_TILESHEET(tiles2, 8, )
|
PROCESS_TILESHEET(tiles2, 8, {})
|
||||||
PROCESS_TILESHEET(tiles3, 8, )
|
PROCESS_TILESHEET(tiles3, 8, {})
|
||||||
PROCESS_TILESHEET(entcolours, 8, )
|
PROCESS_TILESHEET(entcolours, 8, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::maketelearray(void)
|
void Graphics::maketelearray(void)
|
||||||
{
|
{
|
||||||
PROCESS_TILESHEET_RENAME(teleporter, tele, 96, )
|
PROCESS_TILESHEET_RENAME(teleporter, tele, 96, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::MakeSpriteArray(void)
|
void Graphics::MakeSpriteArray(void)
|
||||||
{
|
{
|
||||||
PROCESS_TILESHEET(sprites, 32, )
|
PROCESS_TILESHEET(sprites, 32, {})
|
||||||
PROCESS_TILESHEET(flipsprites, 32, )
|
PROCESS_TILESHEET(flipsprites, 32, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef PROCESS_TILESHEET
|
#undef PROCESS_TILESHEET
|
||||||
|
|
|
@ -195,14 +195,14 @@ static std::string NAME(const std::string& buf) \
|
||||||
return find_tag(buf, "<" TAG ">", "</" TAG ">"); \
|
return find_tag(buf, "<" TAG ">", "</" TAG ">"); \
|
||||||
}
|
}
|
||||||
|
|
||||||
TAG_FINDER(find_metadata, "MetaData"); //only for checking that it exists
|
TAG_FINDER(find_metadata, "MetaData") //only for checking that it exists
|
||||||
|
|
||||||
TAG_FINDER(find_creator, "Creator");
|
TAG_FINDER(find_creator, "Creator")
|
||||||
TAG_FINDER(find_title, "Title");
|
TAG_FINDER(find_title, "Title")
|
||||||
TAG_FINDER(find_desc1, "Desc1");
|
TAG_FINDER(find_desc1, "Desc1")
|
||||||
TAG_FINDER(find_desc2, "Desc2");
|
TAG_FINDER(find_desc2, "Desc2")
|
||||||
TAG_FINDER(find_desc3, "Desc3");
|
TAG_FINDER(find_desc3, "Desc3")
|
||||||
TAG_FINDER(find_website, "website");
|
TAG_FINDER(find_website, "website")
|
||||||
|
|
||||||
#undef TAG_FINDER
|
#undef TAG_FINDER
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue