summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-04 19:46:11 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-05 22:03:00 +0100
commitf58db44ff22c07af984b2d513d24524594f660a7 (patch)
tree1909be4c44f287495413b96c3298c15cc1775081 /src/video
parentad30d04b5eddccea1c547a050b1afc225d277af4 (diff)
downloadopenttd-f58db44ff22c07af984b2d513d24524594f660a7.tar.xz
Remove: BeOS support (deprecated by Haiku)
In 10 years there is no commit to change how BeOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), BeOS is no longer support. SDL2 suggests to use Haiku instead of BeOS.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/dedicated_v.cpp4
-rw-r--r--src/video/sdl_v.cpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index 47fa64231..3b053c7d6 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -26,10 +26,6 @@
#include "../saveload/saveload.h"
#include "dedicated_v.h"
-#ifdef BEOS_NET_SERVER
-#include <net/socket.h>
-#endif
-
#ifdef __OS2__
# include <sys/time.h> /* gettimeofday */
# include <sys/types.h>
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index 2a636d1aa..54502dfae 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -496,8 +496,6 @@ static uint ConvertSdlKeyIntoMy(SDL_keysym *sym, WChar *character)
if (sym->scancode == 41) key = WKC_BACKQUOTE;
#elif defined(__APPLE__)
if (sym->scancode == 10) key = WKC_BACKQUOTE;
-#elif defined(__BEOS__)
- if (sym->scancode == 17) key = WKC_BACKQUOTE;
#elif defined(__SVR4) && defined(__sun)
if (sym->scancode == 60) key = WKC_BACKQUOTE;
if (sym->scancode == 49) key = WKC_BACKSPACE;