Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
sphere_display.h
Go to the documentation of this file.
1
// -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
2
3
#ifndef VEGASTRIKE_GFX_RADAR_SPHERE_DISPLAY_H
4
#define VEGASTRIKE_GFX_RADAR_SPHERE_DISPLAY_H
5
6
#include "
sensor.h
"
7
#include "
radar.h
"
8
#include "
dual_display.h
"
9
10
namespace
Radar
11
{
12
13
struct
ViewArea;
14
15
class
SphereDisplay
:
public
DualDisplayBase
16
{
17
public
:
18
SphereDisplay
();
19
20
void
Draw
(
const
Sensor
& sensor,
VSSprite
*,
VSSprite
*);
21
22
protected
:
23
void
DrawBackground
(
const
Sensor
&,
const
ViewArea
&);
24
void
DrawTrack
(
const
Sensor
&,
const
ViewArea
&,
const
Track
&,
bool
negate_z=
false
);
25
void
DrawTargetMarker
(
const
Vector
&,
float
);
26
27
protected
:
28
const
float
innerSphere
;
29
float
radarTime
;
30
};
31
32
}
// namespace Radar
33
34
#endif
src
gfx
radar
sphere_display.h
Generated on Fri May 29 2015 23:07:28 for Vegastrike 0.5.1 rc1 by
1.8.4