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:
4
hud.cpp
4
hud.cpp
@@ -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 = '-';
|
||||
|
Reference in New Issue
Block a user