1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +00:00

added CAP_SHAPES: poly system works, but no shapes are used

This commit is contained in:
?
2019-02-17 19:39:44 +01:00
committed by Zeno Rogue
parent 4586516a58
commit a3eb161235
9 changed files with 116 additions and 66 deletions

View File

@@ -301,7 +301,7 @@ bool nohud, nomenukey;
hookset<bool()> *hooks_prestats;
#if CAP_POLY
#if CAP_SHAPES
void drawMobileArrow(int i) {
int dir = i;
@@ -372,7 +372,7 @@ void drawStats() {
legalmoves[MAX_EDGE] ? 0xFF0000FF : 0xFF000080
);
#endif
#if CAP_POLY
#if CAP_SHAPES
for(int i=0; i<cwt.at->type; i++) drawMobileArrow(i);
#endif
if(hypot(mousex-xmove, mousey-yb) <= rad) getcstat = '-';