~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/ai/api/ai_railtypelist.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman, Jordi Mallach
  • Date: 2009-04-15 18:22:10 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415182210-22ktb8kdbp2tf3bm
[ Matthijs Kooijman ]
* New upstream release.
* Remove Debian specific desktop file, upstream provides one now. 
* Add debian/watch file.

[ Jordi Mallach ]
* Bump Standards-Version to 3.8.1, with no changes required.
* Move to debhelper compat 7. Bump Build-Depends accordingly.
* Use dh_prep.
* Add "set -e" to config script.
* Remove a few extra doc files that get installed by upstream Makefile.
* Add more complete copyright information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: ai_railtypelist.cpp 15060 2009-01-13 15:44:36Z smatz $ */
 
2
 
 
3
/** @file ai_railtypelist.cpp Implementation of AIRailTypeList and friends. */
 
4
 
 
5
#include "ai_railtypelist.hpp"
 
6
#include "../../rail.h"
 
7
#include "../../company_func.h"
 
8
 
 
9
AIRailTypeList::AIRailTypeList()
 
10
{
 
11
        for (RailType rt = RAILTYPE_BEGIN; rt != RAILTYPE_END; rt++) {
 
12
                if (::HasRailtypeAvail(_current_company, rt)) this->AddItem(rt);
 
13
        }
 
14
}