summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/apbirthday/top.hh
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/apbirthday/top.hh')
-rw-r--r--digital/io-hub/src/apbirthday/top.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/digital/io-hub/src/apbirthday/top.hh b/digital/io-hub/src/apbirthday/top.hh
index 09a1b365..229c909b 100644
--- a/digital/io-hub/src/apbirthday/top.hh
+++ b/digital/io-hub/src/apbirthday/top.hh
@@ -23,6 +23,13 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
// }}}
+#include "defs.hh"
+#include "candles.hh"
+
+/// Compute the candle to blow for a given angle, when going in the given
+/// direction.
+int
+top_candle_for_angle (uint16_t a, Candles::Floor floor, int dir_sign);
/// Test whether there is an obstacle blocking in the given direction.
bool