Loading...
Searching...
No Matches
tide.h
Go to the documentation of this file.
1
16#pragma once
17#include <stdbool.h>
18#include <stdint.h>
19
24
26#define TIDE_PERIOD_MIN 745
27
38int tide_level(int32_t minutes);
39
46bool tide_rising(int32_t minutes);
47
bool tide_rising(int32_t minutes)
Whether the tide is on its way in.
Definition tide.c:45
int tide_level(int32_t minutes)
How far in the tide is, from 0 at dead low to 100 at high water.
Definition tide.c:28