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
building.h
Go to the documentation of this file.
1 #ifndef __BUILDING_H
2 #define __BUILDING_H
3 
4 #include "unit.h"
5 #include "building_generic.h"
6 
7 class GameBuilding : public GameUnit< Building >
8 {
10  bool vehicle,
11  const char *filename,
12  bool SubUnit,
13  int faction,
14  const std::string &unitModifications = std::string( "" ),
15  Flightgroup *fg = NULL );
16  GameBuilding( Terrain *parent,
17  bool vehicle,
18  const char *filename,
19  bool SubUnit,
20  int faction,
21  const std::string &unitModifications = std::string( "" ),
22  Flightgroup *fg = NULL );
23 
24  friend class UnitFactory;
25 
26 public:
27 
28  virtual void UpdatePhysics2( const Transformation &trans,
29  const Transformation &oldtranssmat,
30  const Vector&,
31  float difficulty,
32  const Matrix&,
33  const Vector &CumulativeVelocity,
34  bool ResolveLast,
35  UnitCollection *uc = NULL );
36 protected:
38  GameBuilding();
40  GameBuilding( const Building& );
42  GameBuilding& operator=( const Building& );
43 };
44 
45 #endif
46