-rw-r--r-- | src/view/exp004init.c | 12 | ||||
-rw-r--r-- | src/view/exp004init.h | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/view/exp004init.c b/src/view/exp004init.c new file mode 100644 index 0000000..fa4b2b0 --- a/dev/null +++ b/src/view/exp004init.c | |||
@@ -0,0 +1,12 @@ | |||
1 | #include "exp004init.h" | ||
2 | #include "exp004state0.h" | ||
3 | |||
4 | #define S exp004state0 | ||
5 | |||
6 | void | ||
7 | exp004init (void) | ||
8 | { | ||
9 | S.zoom = false; | ||
10 | |||
11 | return; | ||
12 | } | ||
diff --git a/src/view/exp004init.h b/src/view/exp004init.h new file mode 100644 index 0000000..5431c9f --- a/dev/null +++ b/src/view/exp004init.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef EXP004INIT_H | ||
2 | #define EXP004INIT_H | ||
3 | |||
4 | /* | ||
5 | * Initialize state variables to default values. | ||
6 | */ | ||
7 | void exp004init (void); | ||
8 | |||
9 | #endif // EXP004INIT | ||