1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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