summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Drone.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Drone.h')
-rw-r--r--Stars45/Drone.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/Stars45/Drone.h b/Stars45/Drone.h
index cac3a09..84d4d31 100644
--- a/Stars45/Drone.h
+++ b/Stars45/Drone.h
@@ -1,15 +1,15 @@
/* Project Starshatter 4.5
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: Stars.exe
- FILE: Drone.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: Drone.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Decoy / Weapons Drone class
+ OVERVIEW
+ ========
+ Decoy / Weapons Drone class
*/
#ifndef Drone_h
@@ -34,35 +34,35 @@ class Sound;
class Drone : public Shot
{
public:
- static const char* TYPENAME() { return "Drone"; }
+ static const char* TYPENAME() { return "Drone"; }
- Drone(const Point& pos, const Camera& cam, WeaponDesign* design, const Ship* ship=0);
- virtual ~Drone();
+ Drone(const Point& pos, const Camera& cam, WeaponDesign* design, const Ship* ship=0);
+ virtual ~Drone();
- virtual void SeekTarget(SimObject* target, System* sub=0);
- virtual void ExecFrame(double factor);
+ virtual void SeekTarget(SimObject* target, System* sub=0);
+ virtual void ExecFrame(double factor);
- virtual bool IsDrone() const { return true; }
- virtual bool IsDecoy() const { return decoy_type != 0; }
- virtual bool IsProbe() const { return probe?true:false; }
+ virtual bool IsDrone() const { return true; }
+ virtual bool IsDecoy() const { return decoy_type != 0; }
+ virtual bool IsProbe() const { return probe?true:false; }
- virtual void Disarm();
- virtual void Destroy();
+ virtual void Disarm();
+ virtual void Destroy();
- // SENSORS AND VISIBILITY:
- virtual double PCS() const;
- virtual double ACS() const;
- virtual const char* ClassName() const;
- virtual int Class() const;
+ // SENSORS AND VISIBILITY:
+ virtual double PCS() const;
+ virtual double ACS() const;
+ virtual const char* ClassName() const;
+ virtual int Class() const;
- // DAMAGE RESOLUTION:
- void SetLife(int seconds) { life = seconds; }
- virtual int HitBy(Shot* shot, Point& impact);
+ // DAMAGE RESOLUTION:
+ void SetLife(int seconds) { life = seconds; }
+ virtual int HitBy(Shot* shot, Point& impact);
protected:
- int iff_code;
- int decoy_type;
- int probe;
+ int iff_code;
+ int decoy_type;
+ int probe;
};
#endif Drone_h