aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-07-18 00:01:41 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-07-18 00:01:41 +0000
commit22e44824699c214a91ae69dbf40d5ae336fa7441 (patch)
treee339c0feb408526e6dd4cbedff7fe474cdcfad42 /src/types.h
parent4f1c5d440d76dfa13fc78f385912dcde8d5495fa (diff)
Tidy up
Only 'recharge' when landed on a platform git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@141 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index dcbc097..d57af18 100644
--- a/src/types.h
+++ b/src/types.h
@@ -112,7 +112,8 @@ typedef struct {
float yaw;
float yawspeed;
- int landed;
+ int landed; /* Object has landed */
+ int recharging; /* Object has landed on a platform, so is recharging */
} ModelInstance;
@@ -266,6 +267,8 @@ typedef struct {
double cz; /* Coordinates of object at the moment when it collides */
double ttc;
+
+ char *name; /* Name of object being collided against */
} CollisionSpec;