author | Don Pellegrino <don@drexel.edu> | 2009-06-16 23:24:11 (GMT) |
---|---|---|
committer | Don Pellegrino <don@drexel.edu> | 2009-06-16 23:24:11 (GMT) |
commit | 20dd6d4a46931c1f935931e7ac288fbbf5a8edd5 (patch) (side-by-side diff) | |
tree | 9ce64f9851c6f3028361d94265329690fffa89c9 | |
parent | 8f889f22d854704ea4f472bb950daf2fdb15385b (diff) | |
download | exp005-20dd6d4a46931c1f935931e7ac288fbbf5a8edd5.zip exp005-20dd6d4a46931c1f935931e7ac288fbbf5a8edd5.tar.gz exp005-20dd6d4a46931c1f935931e7ac288fbbf5a8edd5.tar.bz2 |
Added initialization of state variables.
-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 @@ +#include "exp004init.h" +#include "exp004state0.h" + +#define S exp004state0 + +void +exp004init (void) +{ + S.zoom = false; + + return; +} 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 @@ +#ifndef EXP004INIT_H +#define EXP004INIT_H + +/* + * Initialize state variables to default values. + */ +void exp004init (void); + +#endif // EXP004INIT |