From 1f4b8a236c39ae2fc0bc702943baf4c3f6953607 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 20 May 2013 16:39:09 -0400 Subject: Use ints in struct paddle. --- 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 -- cgit v0.9.1