Add Graphics::map_option()

Similar to Graphics::map_tab(), this ensures that I don't have to
copy-paste printing the map options for every single game.menupage case
I want, and in this case that's a good thing because there'll be 4
game.menupage cases I'll be using.
This commit is contained in:
Misa
2020-06-22 15:23:15 -07:00
committed by Ethan Lee
parent b8403ffe1e
commit a402c990bf
2 changed files with 30 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ public:
void map_tab(int opt, const std::string& text, bool selected = false);
void map_option(int opt, int num_opts, const std::string& text, bool selected = false);
void Print(int _x, int _y, std::string _s, int r, int g, int b, bool cen = false);
void PrintAlpha(int _x, int _y, std::string _s, int r, int g, int b, int a, bool cen = false);