ai_grouplist.cpp

Go to the documentation of this file.
00001 /* $Id: ai_grouplist.cpp 15299 2009-01-31 20:16:06Z smatz $ */
00002 
00005 #include "ai_grouplist.hpp"
00006 #include "../../company_func.h"
00007 #include "../../group.h"
00008 
00009 AIGroupList::AIGroupList()
00010 {
00011   Group *g;
00012   FOR_ALL_GROUPS(g) {
00013     if (g->owner == _current_company) this->AddItem(g->index);
00014   }
00015 }

Generated on Thu Oct 1 11:03:11 2009 for OpenTTD by  doxygen 1.5.6