mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-30 16:01:02 +00:00
23 lines
490 B
C
23 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;
|