From 8e2508626776d1300b351f2326773b5bb0cb528f Mon Sep 17 00:00:00 2001 From: Schark Date: Mon, 18 Mar 2024 01:44:32 -0700 Subject: Adding selected square functionality and aesthetics --- height-map-display/src/map/node.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'height-map-display/src/map/node.h') 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 + 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 -- cgit v1.2.3-18-g5258