From a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 11 Jun 2012 17:28:27 +0200 Subject: Changed #defined constants to consts; typedef struct -> struct --- src/graphics/common/model.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/graphics/common/model.cpp') diff --git a/src/graphics/common/model.cpp b/src/graphics/common/model.cpp index 324f219..fa1fe1c 100644 --- a/src/graphics/common/model.cpp +++ b/src/graphics/common/model.cpp @@ -41,7 +41,7 @@ -#define MAX_COLORS 9 +const int MAX_COLORS = 9; static float table_color[MAX_COLORS*3] = { @@ -57,7 +57,7 @@ static float table_color[MAX_COLORS*3] = }; -#define MAX_STATES 10 +const int MAX_STATES = 10; static int table_state[MAX_STATES] = { @@ -74,7 +74,7 @@ static int table_state[MAX_STATES] = }; -#define MAX_NAMES 23 +const int MAX_NAMES = 23; -- cgit v1.2.3-1-g7c22