multi:: radar works correctly in split_screen

This commit is contained in:
Zeno Rogue committed 2022-03-27 22:47:51 +02:00
1 parent 53d5813267
commit 8489550aed
7 files changed
+41 -40

No files matched your search

+16
View File
@@ -9,6 +9,18 @@
namespace hr {
#if HDR
struct radarpoint {
hyperpoint h;
char glyph;
color_t color;
color_t line;
};
struct radarline {
hyperpoint h1, h2;
color_t line;
};
/** configuration of the current view */
struct display_data {
/** The cell which is currently in the center. */
@@ -36,6 +48,10 @@ struct display_data {
ld tanfov;
flagtype next_shader_flags;
vector<radarpoint> radarpoints;
vector<radarline> radarlines;
transmatrix radar_transform;
ld eyewidth();
bool stereo_active();
bool in_anaglyph();