Use array<> for Segment_points

This commit is contained in:
Kp 2014-08-08 03:02:43 +00:00
parent c8af6bba86
commit 597a55558f
2 changed files with 3 additions and 4 deletions

View file

@ -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<g3s_point, MAX_VERTICES> Segment_points;
#endif /* _SEGPOINTS_H */

View file

@ -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<g3s_point, MAX_VERTICES> Segment_points;
fix FrameTime = 0x1000; // Time since last frame, in seconds
fix64 GameTime64 = 0; // Time in game, in seconds