1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +00:00

color_t used for outline

This commit is contained in:
Zeno Rogue 2018-09-04 21:43:43 +02:00
parent 1ab460ffb1
commit 5680ef3788
2 changed files with 3 additions and 3 deletions

View File

@ -1750,7 +1750,7 @@ void resetGeometry();
namespace svg {
void circle(int x, int y, int size, color_t col);
void polygon(int *polyx, int *polyy, int polyi, color_t col, int outline, double linewidth);
void polygon(int *polyx, int *polyy, int polyi, color_t col, color_t outline, double linewidth);
void text(int x, int y, int size, const string& str, bool frame, color_t col, int align);
extern bool in;
extern string link;
@ -2544,7 +2544,7 @@ struct dqi_poly : drawqueueitem {
transmatrix V;
const vector<glvertex> *tab;
int offset, cnt;
int outline;
color_t outline;
double linewidth;
int flags;
textureinfo *tinf;

View File

@ -136,7 +136,7 @@ namespace svg {
}
}
void polygon(int *polyx, int *polyy, int polyi, color_t col, int outline, double linewidth) {
void polygon(int *polyx, int *polyy, int polyi, color_t col, color_t outline, double linewidth) {
if(invisible(col) && invisible(outline)) return;
if(polyi < 2) return;