Factor out entity drawing to separate function

This makes it easy to re-use without duplicating code.
This commit is contained in:
Misa
2020-10-31 21:38:15 -07:00
committed by Ethan Lee
parent fd53278163
commit e809cc0615
2 changed files with 30 additions and 17 deletions

View File

@@ -140,6 +140,8 @@ public:
void drawentities();
void drawentity(const int i, const int yoff);
void drawtrophytext();
void bigrprint(int x, int y, std::string& t, int r, int g, int b, bool cen = false, float sc = 2);