source: golgotha/src/golg/selection.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: 889 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 G1_SELECTION_HH
10#define G1_SELECTION_HH
11
12#include "arch.hh"
13
14class g1_object_class;
15
16class g1_selection_list
17{
18  g1_object_class **list;
19  w32 t, list_size;
20
21public:
22  g1_selection_list();
23  ~g1_selection_list();
24
25  w32 total() { return t; }
26
27  void add(g1_object_class *o);
28  void remove(g1_object_class *o);
29
30  void clear();  // removes all objects from list
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.