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

Last change on this file since 80 was 80, checked in by Sam Hocevar, 12 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: 1015 bytes
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_ROCKET_TANK_HH
10#define G1_ROCKET_TANK_HH
11
12#include "objs/map_piece.hh"
13#include "resources.hh"
14
15class g1_rocket_tank_class : public g1_map_piece_class
16{
17protected:
18  g1_mini_object *missile_rack;
19  i4_float guard_angle, guard_pitch;
20  int guard_time;
21public:
22  g1_rocket_tank_class(g1_object_type id, g1_loader_class *fp);
23  void save(g1_saver_class *fp);
24
25  virtual void fire();
26  virtual void think();
27
28  void raise_rack();
29  void lower_rack();
30  int get_chunk_names(char **&list);
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.