blob: 673835d3446529ced2dec223a618aad7e6deab0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CALC_DATA_H
#define CALC_DATA_H
#include <stdbool.h>
struct calc_data {
int x;
int y;
int input;
bool right;
int ms;
};
#define CALC_COUNT 16
/* Go to the next calculation index. */
int next_calc(int);
/* Loop backwards and cycle through available calculations. */
int loop_backwards(int);
#endif
|