selection.hh 889 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef G1_SELECTION_HH
  9. #define G1_SELECTION_HH
  10. #include "arch.hh"
  11. class g1_object_class;
  12. class g1_selection_list
  13. {
  14. g1_object_class **list;
  15. w32 t, list_size;
  16. public:
  17. g1_selection_list();
  18. ~g1_selection_list();
  19. w32 total() { return t; }
  20. void add(g1_object_class *o);
  21. void remove(g1_object_class *o);
  22. void clear(); // removes all objects from list
  23. };
  24. #endif