summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-20 21:27:44 +0000
committersmatz <smatz@openttd.org>2009-10-20 21:27:44 +0000
commit396d16e2ec974a82713dcf4be8beaf90e196304c (patch)
treedace6694b4cb201cf71cbc99e9df3097965c7982 /src
parent232d7bc4f49e415775038f13eafac5ef38b2b62b (diff)
downloadopenttd-396d16e2ec974a82713dcf4be8beaf90e196304c.tar.xz
(svn r17832) -Codechange: make Alberth happier
Diffstat (limited to 'src')
-rw-r--r--src/smallmap_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index e4fc48ac5..6eff9ece4 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -590,7 +590,7 @@ class SmallMapWindow : public Window {
* @param proc Pointer to the colour function
* @see GetSmallMapPixels(TileIndex)
*/
- inline void DrawSmallMapStuff(void *dst, uint xc, uint yc, int pitch, int reps, uint32 mask, GetSmallMapPixels *proc)
+ void DrawSmallMapStuff(void *dst, uint xc, uint yc, int pitch, int reps, uint32 mask, GetSmallMapPixels *proc)
{
Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter();
void *dst_ptr_abs_end = blitter->MoveTo(_screen.dst_ptr, 0, _screen.height);
@@ -629,7 +629,7 @@ class SmallMapWindow : public Window {
* @param dpi the part of the smallmap to be drawn into
* @param blitter current blitter
*/
- inline void DrawVehicles(DrawPixelInfo *dpi, Blitter *blitter)
+ void DrawVehicles(DrawPixelInfo *dpi, Blitter *blitter)
{
const Vehicle *v;
FOR_ALL_VEHICLES(v) {
@@ -678,7 +678,7 @@ class SmallMapWindow : public Window {
* Adds town names to the smallmap.
* @param dpi the part of the smallmap to be drawn into
*/
- inline void DrawTowns(DrawPixelInfo *dpi)
+ void DrawTowns(DrawPixelInfo *dpi)
{
const Town *t;
FOR_ALL_TOWNS(t) {
@@ -729,7 +729,7 @@ class SmallMapWindow : public Window {
/**
* Adds map indicators to the smallmap.
*/
- inline void DrawMapIndicators()
+ void DrawMapIndicators()
{
/* Find main viewport. */
const ViewPort *vp = FindWindowById(WC_MAIN_WINDOW, 0)->viewport;