source: golgotha/src/golg/objs/bomber.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 1.0 KB
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef G1_BOMBER_HH
10#define G1_BOMBER_HH
11
12#include "objs/map_piece.hh"
13
14class g1_bomber_class : public g1_map_piece_class
15{
16protected:
17  // internal modes for bomber
18  w8 mode;
19  i4_float            target_height;
20  w32 sway;
21public:
22  g1_bomber_class(g1_object_type id, g1_loader_class *fp);
23  virtual void save(g1_saver_class *fp); 
24
25  i4_bool move(i4_float x_amount, i4_float y_amount);
26
27  virtual void fire();
28  virtual void think();
29 
30  void damage(g1_object_class *obj, int hp, i4_3d_vector _damage_dir);
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.