--- a/src/misc.h Fri Aug 16 11:05:21 2013 +0300 +++ b/src/misc.h Sat Sep 07 13:23:09 2013 +0300 @@ -1,17 +1,17 @@ /* * LDForge: LDraw parts authoring CAD * Copyright (C) 2013 Santeri Piippo - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ @@ -47,10 +47,10 @@ // Grid stuff typedef struct { const char* const name; - floatconfig* const confs[4]; + FloatConfig* const confs[4]; } gridinfo; -extern_cfg (int, grid); +extern_cfg (Int, grid); static const short g_NumGrids = 3; extern const gridinfo g_GridInfo[3]; @@ -94,7 +94,7 @@ }; double snap (double value, const Grid::Config axis); -}; +} // ============================================================================= template<class T> void dataswap (T& a, T& b) {