Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-08-24 21:36:39 +0000
committerStijn Buys <ingar@osirion.org>2008-08-24 21:36:39 +0000
commite6272cd7d356bbb047dcaebb03ae217235e1e13f (patch)
tree7c7c6551a2d7051d10b0c4f0c4d87554365c63de /src/core/entity.h
parent9c4d134ab304794b755139e90ca6da9de73a1e9a (diff)
afterburner/reverse/strafe
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 8a996fd..6214d50 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -342,9 +342,15 @@ public:
/// set the target pitch
void set_pitch(float pitch);
- /// set target roll
+ /// set target roll
void set_roll(float roll);
+ /// set target strafe
+ void set_strafe(float strage);
+
+ /// set afterburner/reverse
+ void set_afterburner(float afterburner);
+
/// runs one game frame for the entity
/**
* The default implementation will set direction() and thrust() to the desired targets
@@ -355,6 +361,7 @@ public:
/// current thrust
float entity_thrust;
+protected:
/* target_ variables can be set by the client */
/// target thrust as set by the client
float target_thrust;
@@ -369,7 +376,11 @@ public:
/// target roll as set by the client
/** target_roll must be in the [-1, 1] range
*/
- float target_roll;
+ float target_roll;
+
+ float target_afterburner;
+
+ float target_strafe;
private:
// owner of the entity