forked from mirror/OpenTTD
(svn r12987) -Codechange: split viewport and tile selection.
This commit is contained in:
26
src/tilehighlight_func.h
Normal file
26
src/tilehighlight_func.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* $Id$ */
|
||||
|
||||
/** @file tilehighlight_func.h Functions related to tile highlights. */
|
||||
|
||||
#ifndef TILEHIGHLIGHT_FUNC_H
|
||||
#define TILEHIGHLIGHT_FUNC_H
|
||||
|
||||
#include "gfx_type.h"
|
||||
#include "window_type.h"
|
||||
#include "viewport_type.h"
|
||||
#include "tilehighlight_type.h"
|
||||
|
||||
typedef void PlaceProc(TileIndex tile);
|
||||
void PlaceProc_DemolishArea(TileIndex tile);
|
||||
void PlaceProc_LevelLand(TileIndex tile);
|
||||
void PlaceProc_BuyLand(TileIndex tile);
|
||||
bool GUIPlaceProcDragXY(const WindowEvent *e);
|
||||
|
||||
bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc);
|
||||
void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w);
|
||||
void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num);
|
||||
|
||||
extern PlaceProc *_place_proc;
|
||||
extern TileHighlightData _thd;
|
||||
|
||||
#endif /* TILEHIGHLIGHT_FUNC_H */
|
Reference in New Issue
Block a user