2018-04-23 20:18:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-04-24 15:52:35 +00:00
|
|
|
enum area_t : int
|
2018-04-23 20:18:13 +00:00
|
|
|
{
|
|
|
|
area_normal,
|
|
|
|
area_below,
|
|
|
|
area_above,
|
|
|
|
area_default
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Global functions. Make them members of GLRenderer later?
|
2018-04-24 15:52:35 +00:00
|
|
|
bool hw_CheckClip(side_t * sidedef, sector_t * frontsector, sector_t * backsector);
|
|
|
|
sector_t * hw_FakeFlat(sector_t * sec, sector_t * dest, area_t in_area, bool back);
|
|
|
|
area_t hw_CheckViewArea(area_t in_area, vertex_t *v1, vertex_t *v2, sector_t *frontsector, sector_t *backsector);
|
2018-04-23 20:18:13 +00:00
|
|
|
|