summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-31 22:38:37 +0000
committerrubidium <rubidium@openttd.org>2009-08-31 22:38:37 +0000
commitbc8e66c202ce9af15aa12718939726eea42b25fd (patch)
treeecd7de355fd2c9defdde36a2e6f736836df9d7b4 /src
parent5cc6d1f894f224b3fdde6cdb5535ce4154172f09 (diff)
downloadopenttd-bc8e66c202ce9af15aa12718939726eea42b25fd.tar.xz
(svn r17336) -Codechange: move some os specific files into src/os/
Diffstat (limited to 'src')
-rw-r--r--src/fontcache.cpp2
-rw-r--r--src/music/dmusic.cpp2
-rw-r--r--src/os/os2/os2.cpp (renamed from src/os2.cpp)20
-rw-r--r--src/os/unix/unix.cpp (renamed from src/unix.cpp)16
-rw-r--r--src/os/windows/masm64.rules (renamed from src/masm64.rules)0
-rw-r--r--src/os/windows/ottdres.rc.in (renamed from src/ottdres.rc.in)0
-rw-r--r--src/os/windows/win32.cpp (renamed from src/win32.cpp)34
-rw-r--r--src/os/windows/win32.h (renamed from src/win32.h)0
-rw-r--r--src/os/windows/win64.asm (renamed from src/win64.asm)0
-rw-r--r--src/video/win32_v.cpp2
10 files changed, 38 insertions, 38 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 8dd4f5c97..4116705c0 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -51,7 +51,7 @@ enum {
#ifdef WIN32
#include <windows.h>
#include <shlobj.h> /* SHGetFolderPath */
-#include "win32.h"
+#include "os/windows/win32.h"
/**
* Get the short DOS 8.3 format for paths.
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index 5042571ad..988884b8f 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -16,7 +16,7 @@
#undef WIN32_LEAN_AND_MEAN // Don't exclude rarely-used stuff from Windows headers
#endif
#include "../debug.h"
-#include "../win32.h"
+#include "../os/windows/win32.h"
#include "dmusic.h"
#include <windows.h>
diff --git a/src/os2.cpp b/src/os/os2/os2.cpp
index a40a46c84..06508b361 100644
--- a/src/os2.cpp
+++ b/src/os/os2/os2.cpp
@@ -9,16 +9,16 @@
/** @file os2.cpp OS2 related OS support. */
-#include "stdafx.h"
-#include "openttd.h"
-#include "variables.h"
-#include "gui.h"
-#include "fileio_func.h"
-#include "fios.h"
-#include "functions.h"
-#include "core/random_func.hpp"
-#include "string_func.h"
-#include "textbuf_gui.h"
+#include "../../stdafx.h"
+#include "../../openttd.h"
+#include "../../variables.h"
+#include "../../gui.h"
+#include "../../fileio_func.h"
+#include "../../fios.h"
+#include "../../functions.h"
+#include "../../core/random_func.hpp"
+#include "../../string_func.h"
+#include "../../textbuf_gui.h"
#include "table/strings.h"
diff --git a/src/unix.cpp b/src/os/unix/unix.cpp
index dc55a3a37..bbe916c57 100644
--- a/src/unix.cpp
+++ b/src/os/unix/unix.cpp
@@ -9,12 +9,12 @@
/** @file unix.cpp Implementation of Unix specific file handling. */
-#include "stdafx.h"
-#include "openttd.h"
-#include "variables.h"
-#include "textbuf_gui.h"
-#include "functions.h"
-#include "core/random_func.hpp"
+#include "../../stdafx.h"
+#include "../../openttd.h"
+#include "../../variables.h"
+#include "../../textbuf_gui.h"
+#include "../../functions.h"
+#include "../../core/random_func.hpp"
#include "table/strings.h"
@@ -117,8 +117,8 @@ bool FiosIsHiddenFile(const struct dirent *ent)
#include <iconv.h>
#include <errno.h>
-#include "debug.h"
-#include "string_func.h"
+#include "../../debug.h"
+#include "../../string_func.h"
const char *GetCurrentLocale(const char *param);
diff --git a/src/masm64.rules b/src/os/windows/masm64.rules
index 62e6e0f8b..62e6e0f8b 100644
--- a/src/masm64.rules
+++ b/src/os/windows/masm64.rules
diff --git a/src/ottdres.rc.in b/src/os/windows/ottdres.rc.in
index f0989f5bb..f0989f5bb 100644
--- a/src/ottdres.rc.in
+++ b/src/os/windows/ottdres.rc.in
diff --git a/src/win32.cpp b/src/os/windows/win32.cpp
index d262abebd..432755fbe 100644
--- a/src/win32.cpp
+++ b/src/os/windows/win32.cpp
@@ -9,35 +9,35 @@
/** @file win32.cpp Implementation of MS Windows system calls */
-#include "stdafx.h"
-#include "openttd.h"
-#include "debug.h"
-#include "saveload/saveload.h"
-#include "gfx_func.h"
-#include "textbuf_gui.h"
-#include "fileio_func.h"
-#include "fios.h"
-#include "rev.h"
+#include "../../stdafx.h"
+#include "../../openttd.h"
+#include "../../debug.h"
+#include "../../saveload/saveload.h"
+#include "../../gfx_func.h"
+#include "../../textbuf_gui.h"
+#include "../../fileio_func.h"
+#include "../../fios.h"
+#include "../../rev.h"
#include <windows.h>
#include <winnt.h>
#include <wininet.h>
#include <fcntl.h>
#include <shlobj.h> /* SHGetFolderPath */
-#include "variables.h"
+#include "../../variables.h"
#include "win32.h"
-#include "core/alloc_func.hpp"
-#include "functions.h"
-#include "core/random_func.hpp"
-#include "core/bitmath_func.hpp"
-#include "string_func.h"
-#include "gamelog.h"
+#include "../../core/alloc_func.hpp"
+#include "../../functions.h"
+#include "../../core/random_func.hpp"
+#include "../../core/bitmath_func.hpp"
+#include "../../string_func.h"
+#include "../../gamelog.h"
#include <ctype.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#if defined(_MSC_VER) && !defined(WINCE)
#include <dbghelp.h>
- #include "strings_func.h"
+ #include "../../strings_func.h"
#endif
static bool _has_console;
diff --git a/src/win32.h b/src/os/windows/win32.h
index 19f04d1f2..19f04d1f2 100644
--- a/src/win32.h
+++ b/src/os/windows/win32.h
diff --git a/src/win64.asm b/src/os/windows/win64.asm
index d95bc3898..d95bc3898 100644
--- a/src/win64.asm
+++ b/src/os/windows/win64.asm
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index fffb86770..efa4295ed 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -13,7 +13,7 @@
#include "../openttd.h"
#include "../gfx_func.h"
#include "../variables.h"
-#include "../win32.h"
+#include "../os/windows/win32.h"
#include "../rev.h"
#include "../blitter/factory.hpp"
#include "../network/network.h"