1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

BADMODEL and WINGS can now be -Defined

This commit is contained in:
Zeno Rogue 2020-05-25 02:27:04 +02:00
parent d94ed622b7
commit 0ca6153cc9

View File

@ -50,9 +50,13 @@ struct hpcshape {
#define SIDE_BSHA 12 #define SIDE_BSHA 12
#define SIDEPARS 13 #define SIDEPARS 13
#ifndef BADMODEL
#define BADMODEL 0 #define BADMODEL 0
#endif
#ifndef WINGS
static const int WINGS = (BADMODEL ? 1 : 4); static const int WINGS = (BADMODEL ? 1 : 4);
#endif
typedef array<hpcshape, WINGS+1> hpcshape_animated; typedef array<hpcshape, WINGS+1> hpcshape_animated;