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

« back to all changes in this revision

Viewing changes to src/tunnelbridge.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: tunnelbridge.h 11968 2008-01-23 22:34:04Z smatz $ */
 
1
/* $Id: tunnelbridge.h 12765 2008-04-18 10:16:51Z rubidium $ */
2
2
 
3
3
/** @file tunnelbridge.h Header file for things common for tunnels and bridges */
4
4
 
6
6
#define TUNNELBRIDGE_H
7
7
 
8
8
#include "tile_type.h"
9
 
#include "map_func.h"
10
 
#include "tunnelbridge_map.h"
11
9
 
12
10
/**
13
11
 * Calculates the length of a tunnel or a bridge (without end tiles)
23
21
        return abs(x2 + y2 - x1 - y1) - 1;
24
22
}
25
23
 
 
24
extern TileIndex _build_tunnel_endtile;
 
25
 
26
26
#endif /* TUNNELBRIDGE_H */