diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-08-06 19:15:14 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-08-06 19:15:14 -0600 |
commit | f12d27b1d87d3bf436abb8ded2d16b8c01746138 (patch) | |
tree | 89cbad01569b0cf10a881bc571da5344ebbbe3f2 /src/entities/generale.h | |
parent | 0fae2327bbb24572f5c40236dcdaba4f4f8afb80 (diff) |
Generale working
Diffstat (limited to 'src/entities/generale.h')
-rw-r--r-- | src/entities/generale.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entities/generale.h b/src/entities/generale.h index 2266e98..943ff04 100644 --- a/src/entities/generale.h +++ b/src/entities/generale.h @@ -4,7 +4,9 @@ #ifndef GENERALE_H #define GENERALE_H -#define GENERALE_ZIGZAG_SIZE 10.0 +#define GENERALE_ZIGZAG_SIZE_MIN 5.0 +#define GENERALE_ZIGZAG_SIZE_MAX 100.0 +#define GENERALE_NEXT_POINT_THRESHOLD 0.1 typedef enum GeneraleZigZag { GENERALE_ZIG, @@ -15,6 +17,7 @@ typedef struct Generale { EntityFlyToPointInfo flyToPoint; GeneraleZigZag zigzag; Vector3 target; + bool targetNotSet; } Generale; void initGenerale(Entity * entity, Game * game); |