summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-11-10 09:59:51 -0800
committerVito Caputo <vcaputo@pengaru.com>2022-11-10 10:03:03 -0800
commit6bd2dbf11f908abb225fb160c568462e95da2da7 (patch)
tree04013a01b8f888b77baa972339253b93fde6b888 /src/Makefile.am
parentaa20a9ec8697a05d44e949ad6a1f2b2f6a3fe908 (diff)
bonus-node: add bonus node for bonus quantities
This shows a numeric display with an API for tracking a position until released. Once released the node self-animates and frees itself from its own rendering function. Post-release the node stops accessing the tracking position, intended for allowing the associated entity to become reused or discarded immediately upon release. For this to work smoothly the release must be accompanied by a storing of the last position within the bonus node via the provided pointer, which the bonus node's render function then uses as the origin of its self-animating before destruction. See comment at start of bonus-node.c for more information/issues. This only adds the node without integrating into the game, a subsequent commit will integrate into game.c. Initial impetus for adding this is making teepee quantities visible.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5f55d86..32bfdb0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,6 +12,8 @@ sars_SOURCES = \
baby-node.h \
bb2f.h \
bb3f.h \
+ bonus-node.c \
+ bonus-node.h \
clear-node.c \
clear-node.h \
cp437.h \
© All Rights Reserved