aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/entity.h b/src/entity.h
index 231304f..68caf64 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -5,14 +5,18 @@
#ifndef ENTITY_H
#define ENTITY_H
-#define ENTITY_COUNT 6
+#define ENTITY_COUNT 7
#define TREE_SCALE 40.0
#define BUSH_SCALE 8.0
#define FLOWER_SCALE 3.0
+
#define POND_SIZE 250.0
#define POND_HEIGHT 10.0
+#define UTILITY_POLE_HEIGHT 100.0
+#define UTILITY_POLE_RADIUS 3.0
+
typedef int8_t EntityId;
enum {
@@ -22,12 +26,13 @@ enum {
TREE,
BUSH,
FLOWER,
- POND
+ POND,
+ UTILITY_POLE
};
typedef struct {
EntityId id;
- Vector3 position; // Shouldnt be changed accessed directly.
+ Vector3 position; // Shouldnt be changed directly.
BoundingBox box;
} Entity;