diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-20 16:39:09 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-20 16:39:09 (EDT) |
commit | 1f4b8a236c39ae2fc0bc702943baf4c3f6953607 (patch) | |
tree | bc2a1b4941095602c5e311cb0e4741d4300e21ae | |
parent | 17b37f5bb462c29e2b8c94068c4b54e1af39b2b7 (diff) | |
download | cursespong-1f4b8a236c39ae2fc0bc702943baf4c3f6953607.zip cursespong-1f4b8a236c39ae2fc0bc702943baf4c3f6953607.tar.gz cursespong-1f4b8a236c39ae2fc0bc702943baf4c3f6953607.tar.bz2 |
Use ints in struct paddle.
-rw-r--r-- | src/paddle.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/paddle.h b/src/paddle.h index 6845945..9b4bdc7 100644 --- a/src/paddle.h +++ b/src/paddle.h @@ -1,17 +1,17 @@ #ifndef PADDLE_H #define PADDLE_H -static const char PADDLE_H_POS_START = 40; -static const char PADDLE_V_POS_START = 12; -static const char PADDLE_H_SIZE_NORMAL = 8; -static const char PADDLE_V_SIZE_NORMAL = 4; -static const char PADDLE_H_SPEED_NORMAL = 2; -static const char PADDLE_V_SPEED_NORMAL = 1; +static const int PADDLE_H_POS_START = 40; +static const int PADDLE_V_POS_START = 12; +static const int PADDLE_H_SIZE_NORMAL = 8; +static const int PADDLE_V_SIZE_NORMAL = 4; +static const int PADDLE_H_SPEED_NORMAL = 2; +static const int PADDLE_V_SPEED_NORMAL = 1; struct paddle { - char pos; - char size; - char speed; + int pos; + int size; + int speed; }; #endif |