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/cloud.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/graphics/common/cloud.h') diff --git a/src/graphics/common/cloud.h b/src/graphics/common/cloud.h index 2be63c7..cf97bc7 100644 --- a/src/graphics/common/cloud.h +++ b/src/graphics/common/cloud.h @@ -28,15 +28,14 @@ class CTerrain; -#define MAXCLOUDLINE 100 +const int MAXCLOUDLINE = 100; -typedef struct +struct CloudLine { short x, y; // beginning short len; // in length x float px1, px2, pz; -} -CloudLine; +}; class CCloud -- cgit v1.2.3-1-g7c22