source: golgotha/src/golg/objs/structure_death.hh

Last change on this file 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: 814 bytes
RevLine 
[80]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 STRUCTURE_DEATH_HH
10#define STRUCTURE_DEATH_HH
11
12class g1_object_class;
13
14class g1_structure_death_class
15{
16protected:
17  g1_object_class *me;
18public:
19  g1_structure_death_class(g1_object_class *me) : me(me) {}
20  i4_bool think();
21  void damage(g1_object_class *obj, int hp, i4_3d_vector damage_dir);
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.