From 8bde9095c5840b8d62ebafe11beaed98877d6ac2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 9 Oct 2005 03:34:45 +0000 Subject: * Made Sprite into an interface implemented by both FloorItem and Being, which hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes. --- src/gui/linkhandler.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/linkhandler.h') diff --git a/src/gui/linkhandler.h b/src/gui/linkhandler.h index 05a0a99b..65c0d433 100644 --- a/src/gui/linkhandler.h +++ b/src/gui/linkhandler.h @@ -21,8 +21,8 @@ * $Id$ */ -#ifndef _TMW_LINK_HANDLER_H -#define _TMW_LINK_HANDLER_H +#ifndef _TMW_LINK_HANDLER_H_ +#define _TMW_LINK_HANDLER_H_ /** * A simple interface to windows that need to handle links from BrowserBox @@ -33,8 +33,8 @@ class LinkHandler public: virtual ~LinkHandler() { } - virtual void handleLink(const std::string& link) { } - + virtual void handleLink(const std::string& link) = 0; + protected: LinkHandler() { } }; -- cgit v1.2.3-70-g09d2