1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 10:17:56 +00:00

XGD: filled circles and start with clearscreen

This commit is contained in:
Zeno Rogue
2021-06-01 10:08:16 +02:00
parent 214e314803
commit 63570af240
4 changed files with 28 additions and 4 deletions

View File

@@ -204,11 +204,17 @@ int main(int argc, char **argv) {
case 4: {
int col = gdpop();
int out = gdpop();
int x = gdpop(), y = gdpop(), rad = gdpop();
aacircleColor(s, x, y, rad, (col << 8) + 0xFF);
}
case 5: {
int out = gdpop();
/* not implemented */
}
}
}
SDL_UpdateRect(s, 0, 0, vid.xres, vid.yres);