mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-04 16:31:44 +00:00
BADMODEL and WINGS can now be -Defined
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user