summaryrefslogtreecommitdiff
path: root/height-map-display/src/map/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'height-map-display/src/map/node.h')
-rw-r--r--height-map-display/src/map/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/height-map-display/src/map/node.h b/height-map-display/src/map/node.h
index 07054f6..03fb97c 100644
--- a/height-map-display/src/map/node.h
+++ b/height-map-display/src/map/node.h
@@ -1,14 +1,18 @@
#ifndef NODE_H
#define NODE_H
+#include <stdbool.h>
+
typedef struct Node {
int x;
int y;
float elevation;
+ bool selected;
} Node;
// TODO: get (x, y) as int arr
void change_node_height(Node* node, float diff);
+int* get_coords(Node* node);
#endif