| 2215 | #define CROSS_WIDTH 8.0 |
| 2216 | #define CROSS_HEIGHT 8.0 |
| 2217 | void TerrainDrawCurrentVert(int tcell) { |
| 2218 | if (TerrainSelected[tcell]) { |
| 2219 | g3Point pnt; |
| 2220 | pnt.p3_flags = 0; |
| 2221 | pnt.p3_vec = World_point_buffer[tcell].p3_vec; |
| 2222 | g3_ProjectPoint(&pnt); // make sure projected |
| 2223 | |
| 2224 | rend_SetFlatColor(GR_RGB(0, 250, 0)); |
| 2225 | rend_DrawLine(pnt.p3_sx - CROSS_WIDTH, pnt.p3_sy, pnt.p3_sx, pnt.p3_sy - CROSS_HEIGHT); |
| 2226 | rend_DrawLine(pnt.p3_sx, pnt.p3_sy - CROSS_HEIGHT, pnt.p3_sx + CROSS_WIDTH, pnt.p3_sy); |
| 2227 | rend_DrawLine(pnt.p3_sx + CROSS_WIDTH, pnt.p3_sy, pnt.p3_sx, pnt.p3_sy + CROSS_HEIGHT); |
| 2228 | rend_DrawLine(pnt.p3_sx, pnt.p3_sy + CROSS_HEIGHT, pnt.p3_sx - CROSS_WIDTH, pnt.p3_sy); |
| 2229 | } |
| 2230 | } |
| 2231 | #endif |
| 2232 | #if (!defined(RELEASE) || defined(NEWEDITOR)) |
| 2233 | __inline void DrawTerrainOutline(int tcell, int nverts, g3Point **pointlist) |
no test coverage detected