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

« back to all changes in this revision

Viewing changes to src/engine_func.h

  • 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: engine_func.h 15666 2009-03-10 21:17:00Z rubidium $ */
 
2
 
 
3
/** @file engine_func.h Functions related to engines. */
 
4
 
 
5
#ifndef ENGINE_H
 
6
#define ENGINE_H
 
7
 
 
8
#include "engine_type.h"
 
9
 
 
10
void SetupEngines();
 
11
void StartupEngines();
 
12
 
 
13
/* Original engine data counts and offsets */
 
14
extern const uint8 _engine_counts[4];
 
15
extern const uint8 _engine_offsets[4];
 
16
 
 
17
void DrawTrainEngine(int x, int y, EngineID engine, SpriteID pal);
 
18
void DrawRoadVehEngine(int x, int y, EngineID engine, SpriteID pal);
 
19
void DrawShipEngine(int x, int y, EngineID engine, SpriteID pal);
 
20
void DrawAircraftEngine(int x, int y, EngineID engine, SpriteID pal);
 
21
 
 
22
bool IsEngineBuildable(EngineID engine, VehicleType type, CompanyID company);
 
23
bool IsEngineRefittable(EngineID engine);
 
24
void SetCachedEngineCounts();
 
25
void SetYearEngineAgingStops();
 
26
void StartupOneEngine(Engine *e, Date aging_date);
 
27
 
 
28
uint GetTotalCapacityOfArticulatedParts(EngineID engine, VehicleType type);
 
29
 
 
30
#endif /* ENGINE_H */