Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TerrainHaze.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2005. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: TerrainHaze.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Atmospheric fog along the horizon
13 */
14 
15 #ifndef TerrainHaze_h
16 #define TerrainHaze_h
17 
18 #include "Types.h"
19 #include "Solid.h"
20 #include "Geometry.h"
21 
22 // +--------------------------------------------------------------------+
23 
24 class TerrainRegion;
25 
26 // +--------------------------------------------------------------------+
27 
28 class TerrainHaze : public Solid
29 {
30 public:
31  TerrainHaze();
32  virtual ~TerrainHaze();
33 
34  virtual void Render(Video* video, DWORD flags);
35 
36  virtual int CheckRayIntersection(Point pt, Point vpn, double len, Point& ipt,
37  bool treat_translucent_polys_as_solid=true);
38 
39  virtual void UseTerrainRegion(TerrainRegion* tr) { tregion = tr; }
40 
41 protected:
43 };
44 
45 #endif TerrainHaze_h
46