97 |
97 |
98 // ============================================================================= |
98 // ============================================================================= |
99 // |
99 // |
100 // Grid stuff |
100 // Grid stuff |
101 // |
101 // |
102 CFGENTRY (Int, Grid, Grid::Medium); |
102 CFGENTRY (Int, Grid, Grid::Medium) |
103 CFGENTRY (Float, GridCoarseCoordinateSnap, 5.0f); |
103 CFGENTRY (Float, GridCoarseCoordinateSnap, 5.0f) |
104 CFGENTRY (Float, GridCoarseAngleSnap, 45.0f); |
104 CFGENTRY (Float, GridCoarseAngleSnap, 45.0f) |
105 CFGENTRY (Float, GridMediumCoordinateSnap, 1.0f); |
105 CFGENTRY (Float, GridMediumCoordinateSnap, 1.0f) |
106 CFGENTRY (Float, GridMediumAngleSnap, 22.5f); |
106 CFGENTRY (Float, GridMediumAngleSnap, 22.5f) |
107 CFGENTRY (Float, GridFineCoordinateSnap, 0.1f); |
107 CFGENTRY (Float, GridFineCoordinateSnap, 0.1f) |
108 CFGENTRY (Float, GridFineAngleSnap, 7.5f); |
108 CFGENTRY (Float, GridFineAngleSnap, 7.5f) |
109 CFGENTRY (Int, RotationPointType, 0); |
109 CFGENTRY (Int, RotationPointType, 0) |
110 CFGENTRY (Vertex, CustomRotationPoint, g_origin); |
110 CFGENTRY (Vertex, CustomRotationPoint, g_origin) |
111 |
111 |
112 const gridinfo g_gridInfo[3] = |
112 const gridinfo g_gridInfo[3] = |
113 { |
113 { |
114 { "Coarse", &cfg::GridCoarseCoordinateSnap, &cfg::GridCoarseAngleSnap }, |
114 { "Coarse", &cfg::GridCoarseCoordinateSnap, &cfg::GridCoarseAngleSnap }, |
115 { "Medium", &cfg::GridMediumCoordinateSnap, &cfg::GridMediumAngleSnap }, |
115 { "Medium", &cfg::GridMediumCoordinateSnap, &cfg::GridMediumAngleSnap }, |