mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-10 06:16:00 +00:00
multi:: radar works correctly in split_screen
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user