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

This commit is contained in:
? authored and Zeno Rogue committed 2019-09-12 22:38:39 +02:00
1 parent 4586516a58
commit a3eb161235
9 files changed
+116 -66

No files matched your search

+2 -2
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 = '-';