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
asteroid.h
Go to the documentation of this file.
1
#ifndef _ASTEROID_H_
2
#define _ASTEROID_H_
3
#include "
gfx/quaternion.h
"
4
#include "
gfx/vec.h
"
5
#include "
gfx/matrix.h
"
6
#include "
cmd/script/flightgroup.h
"
7
#include "
cmd/collection.h
"
8
#include "
cmd/asteroid_generic.h
"
9
#include "
cmd/unit_factory.h
"
10
#include "
cmd/unit.h
"
11
12
class
GameAsteroid
:
public
GameUnit
< Asteroid >
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
protected
:
26
GameAsteroid
(
const
char
*
filename
,
int
faction
,
Flightgroup
*fg = NULL,
int
fg_snumber = 0,
float
difficulty = .01 );
27
28
friend
class
UnitFactory
;
29
30
private
:
32
GameAsteroid
();
33
35
GameAsteroid
(
const
Asteroid
& );
36
38
GameAsteroid
& operator=(
const
Asteroid
& );
39
};
40
#endif
41
src
cmd
asteroid.h
Generated on Fri May 29 2015 23:07:09 for Vegastrike 0.5.1 rc1 by
1.8.4