diff options
author | Schark <jordan@schark.online> | 2024-03-18 01:44:32 -0700 |
---|---|---|
committer | Schark <jordan@schark.online> | 2024-03-18 01:44:32 -0700 |
commit | 8e2508626776d1300b351f2326773b5bb0cb528f (patch) | |
tree | ee7daf330a91c8770ed860564c2c2d77fb138fb4 /height-map-display/src/map/node.h | |
parent | 69de9b320ad3c45e0a19845c88ae8323cfb59bf1 (diff) | |
download | gamedev-8e2508626776d1300b351f2326773b5bb0cb528f.tar.gz gamedev-8e2508626776d1300b351f2326773b5bb0cb528f.zip |
Adding selected square functionality and aesthetics
Diffstat (limited to '')
-rw-r--r-- | height-map-display/src/map/node.h | 4 |
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 |