summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
committerrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
commit1f6043458c2677f3651618bc23f8b0a24598bffb (patch)
treebb7b4abc525aa4e79b1a40ebe21516d9c47244e1 /src/functions.h
parentf9c26f80c5f95e1860722a33bdc6e8af39beb482 (diff)
downloadopenttd-1f6043458c2677f3651618bc23f8b0a24598bffb.tar.xz
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/functions.h b/src/functions.h
index c7b758132..c4b42dc45 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -5,10 +5,9 @@
#ifndef FUNCTIONS_H
#define FUNCTIONS_H
-#include "gfx.h"
-#include "viewport.h"
#include "core/random_func.hpp"
#include "command_type.h"
+#include "window_type.h"
void UpdateTownMaxPass(Town *t);
@@ -74,15 +73,6 @@ void InvalidateWindowClassesData(WindowClass cls);
void DeleteWindowById(WindowClass cls, WindowNumber number);
void DeleteWindowByClass(WindowClass cls);
-void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w);
-void SetObjectToPlace(CursorID icon, SpriteID pal, ViewportHighlightMode mode, WindowClass window_class, WindowNumber window_num);
-
-void ResetObjectToPlace();
-
-bool ScrollWindowTo(int x, int y, Window *w, bool instant = false);
-
-bool ScrollMainWindowToTile(TileIndex tile, bool instant = false);
-bool ScrollMainWindowTo(int x, int y, bool instant = false);
bool EnsureNoVehicleOnGround(TileIndex tile);
/**