mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
22 lines
490 B
C
22 lines
490 B
C
#pragma once
|
|
|
|
#include "basics.h"
|
|
#include "tarray.h"
|
|
|
|
|
|
struct vertex_t
|
|
{
|
|
int masterwall;
|
|
angle_t viewangle; // precalculated angle for clipping
|
|
int angletime; // recalculation time for view angle
|
|
bool dirty; // something has changed and needs to be recalculated
|
|
int numheights;
|
|
TArrayView<int> sectors;
|
|
TArrayView<int> walls;
|
|
float * heightlist;
|
|
|
|
void RecalcVertexHeights();
|
|
};
|
|
|
|
extern TArray<int> vertexMap; // maps walls to the vertex data.
|
|
extern TArray<vertex_t> vertices;
|