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

Last change on this file 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: 963 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_GOAL_HH
10#define G1_GOAL_HH
11
12#include "g1_limits.hh"
13#include "g1_object.hh"
14
15class g1_goal_class : public g1_object_class
16{
17public:
18  int power[G1_MAX_PLAYERS];
19  g1_model_draw_parameters draw_params;
20
21  g1_goal_class(g1_object_type id, g1_loader_class *fp);
22  virtual void save(g1_saver_class *fp);
23
24  virtual void draw(g1_draw_context_class *context);
25  virtual void think();
26  virtual i4_float occupancy_radius() const { return 0; }
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.