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

« back to all changes in this revision

Viewing changes to src/tilehighlight_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: tilehighlight_func.h 15065 2009-01-13 17:28:11Z frosch $ */
 
2
 
 
3
/** @file tilehighlight_func.h Functions related to tile highlights. */
 
4
 
 
5
#ifndef TILEHIGHLIGHT_FUNC_H
 
6
#define TILEHIGHLIGHT_FUNC_H
 
7
 
 
8
#include "gfx_type.h"
 
9
#include "window_type.h"
 
10
#include "viewport_type.h"
 
11
#include "tilehighlight_type.h"
 
12
 
 
13
typedef void PlaceProc(TileIndex tile);
 
14
void PlaceProc_DemolishArea(TileIndex tile);
 
15
bool GUIPlaceProcDragXY(ViewportDragDropSelectionProcess proc, TileIndex start_tile, TileIndex end_tile);
 
16
 
 
17
bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc);
 
18
void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w);
 
19
void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num);
 
20
void ResetObjectToPlace();
 
21
 
 
22
void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method);
 
23
void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, ViewportDragDropSelectionProcess process);
 
24
void VpSetPresizeRange(TileIndex from, TileIndex to);
 
25
void VpSetPlaceSizingLimit(int limit);
 
26
 
 
27
void UpdateTileSelection();
 
28
 
 
29
extern PlaceProc *_place_proc;
 
30
extern TileHighlightData _thd;
 
31
 
 
32
#endif /* TILEHIGHLIGHT_FUNC_H */