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/common/modfile.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/common/modfile.cpp') diff --git a/src/common/modfile.cpp b/src/common/modfile.cpp index a7bfeab..ddda0d8 100644 --- a/src/common/modfile.cpp +++ b/src/common/modfile.cpp @@ -35,7 +35,7 @@ -#define MAX_VERTICES 2000 +const int MAX_VERTICES = 2000; @@ -243,14 +243,13 @@ bool CModFile::ReadDXF(char *filename, float min, float max) -typedef struct +struct InfoMOD { int rev; int vers; int total; int reserve[10]; -} -InfoMOD; +}; // Change nom.bmp to nom.tga -- cgit v1.2.3-1-g7c22