summaryrefslogtreecommitdiff
path: root/height-map-display/src/map/node.h
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2024-03-17 01:32:33 -0700
committerSchark <jordan@schark.online>2024-03-17 01:32:33 -0700
commite7a4152899e63182a4cc0dffff6cd331d6dac305 (patch)
tree40e7ddb1617b526f80452ad61214b921d2bc23be /height-map-display/src/map/node.h
parent34fb121dd1583de307e8ba95cc3ad7fb2abb24e1 (diff)
downloadgamedev-e7a4152899e63182a4cc0dffff6cd331d6dac305.tar.gz
gamedev-e7a4152899e63182a4cc0dffff6cd331d6dac305.zip
Map overhaul, need to fix renderer
Diffstat (limited to 'height-map-display/src/map/node.h')
-rw-r--r--height-map-display/src/map/node.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/height-map-display/src/map/node.h b/height-map-display/src/map/node.h
new file mode 100644
index 0000000..d12accf
--- /dev/null
+++ b/height-map-display/src/map/node.h
@@ -0,0 +1,13 @@
+#ifndef NODE_H
+#define NODE_H
+
+typedef struct Node {
+ int x;
+ int y;
+ float elevation;
+} Node;
+
+void change_node_height(Node* node, float diff);
+
+#endif
+