diff --git a/common/main/segpoint.h b/common/main/segpoint.h index f5c951569..449144178 100644 --- a/common/main/segpoint.h +++ b/common/main/segpoint.h @@ -28,9 +28,8 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #define _SEGPOINTS_H #include "segment.h" +#include "3d.h" -struct g3s_point; - -extern g3s_point Segment_points[MAX_VERTICES]; +extern array Segment_points; #endif /* _SEGPOINTS_H */ diff --git a/similar/main/mglobal.cpp b/similar/main/mglobal.cpp index 7d735ad5a..72a2013a0 100644 --- a/similar/main/mglobal.cpp +++ b/similar/main/mglobal.cpp @@ -35,7 +35,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. // Global array of vertices, common to one mine. vms_vector Vertices[MAX_VERTICES]; -g3s_point Segment_points[MAX_VERTICES]; +array Segment_points; fix FrameTime = 0x1000; // Time since last frame, in seconds fix64 GameTime64 = 0; // Time in game, in seconds