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
nebula.h
Go to the documentation of this file.
1 #ifndef _NEBULA_H_
2 #define _NEBULA_H_
3 #include "nebula_generic.h"
4 #include "unit.h"
5 
6 class GameNebula : public GameUnit< Nebula >
7 {
8 protected:
10  GameNebula( const char *unitfile, bool SubU, int faction, Flightgroup *fg = NULL, int fg_snumber = 0 );
11 
12  friend class UnitFactory;
13 
14 public:
15  virtual void UpdatePhysics2( const Transformation &trans,
16  const Transformation &old_physical_state,
17  const Vector &accel,
18  float difficulty,
19  const Matrix &transmat,
20  const Vector &CumulativeVelocity,
21  bool ResolveLast,
22  UnitCollection *uc = NULL );
23  void SetFogState();
24  void PutInsideCam( int );
25 
26 private:
28  GameNebula();
30  GameNebula( const Nebula& );
32  GameNebula& operator=( const Nebula& );
33 };
34 
35 #endif
36