source: golgotha/src/golg/objs/chunk_explosion.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: 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_CHUNK_EXPLODE_HH
10#define G1_CHUNK_EXPLODE_HH
11
12#include "g1_object.hh"
13
14
15class g1_chunk_explosion_class : public g1_object_class
16{
17public:
18  g1_chunk_explosion_class(g1_object_type id, g1_loader_class *fp);
19
20  i4_3d_vector dir;
21  i4_3d_vector avel;
22 
23  int ticks_left; 
24  void setup(const i4_3d_vector &pos,
25             const i4_3d_vector &rotations,
26             g1_quad_object_class *model,
27             const i4_3d_vector &dir,
28             int ticks_till_explode); 
29  void draw(g1_draw_context_class *context); 
30  void think(); 
31};
32
33
34#endif
Note: See TracBrowser for help on using the repository browser.