Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
viewarea.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_VIEWAREA_H
4 #define VEGASTRIKE_GFX_RADAR_VIEWAREA_H
5 
6 #include "gfx/vec.h"
7 #include "gfx/sprite.h"
8 
9 struct GFXColor; // Edit from class to struct as defined in gfxlib_struct.
10 
11 namespace Radar
12 {
13 
14 struct ViewArea
15 {
16  ViewArea();
17 
18  void SetSprite(VSSprite *);
19 
20  Vector Scale(const Vector&) const;
21 
22  GFXColor GetColor() const;
23 
24  bool IsActive() const;
25 
29 };
30 
31 } // namespace Radar
32 
33 #endif