source: golgotha/src/golg/objs/ai_builder.cc

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: 779 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#include "team_api.hh"
10
11
12class ai_builder : public g1_team_api_class
13{
14public:
15  ai_builder(g1_loader_class *f=0)
16  {
17  }
18 
19  virtual void think()
20  {
21    build_unit(g1_get_object_type("peon_tank"));
22  }   
23};
24
25g1_team_api_definer<ai_builder> ai_builder_def("ai_builder");
26
Note: See TracBrowser for help on using the repository browser.