summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-23 18:46:17 +0000
committertron <tron@openttd.org>2005-07-23 18:46:17 +0000
commit86a76d735e229fa2aff0232773b63663bdccda78 (patch)
treee259eb6e5f4d5f7b1d9b3465356c467c32f8775c /os2.c
parent3ecbbf3baf49aa8b11612d950ae9d2f10c7bfc30 (diff)
downloadopenttd-86a76d735e229fa2aff0232773b63663bdccda78.tar.xz
(svn r2694) Various smaller changes: eol-style, static, code simplification
Diffstat (limited to 'os2.c')
-rw-r--r--os2.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/os2.c b/os2.c
index 513002e17..cb96cee43 100644
--- a/os2.c
+++ b/os2.c
@@ -620,22 +620,6 @@ void DeterminePaths(void)
mkdir(_path.scenario_dir);
}
-// FUNCTION: OS2_SwitchToConsoleMode
-//
-// Switches OpenTTD to a console app at run-time, instead of a PM app
-// Necessary to see stdout, etc
-
-void OS2_SwitchToConsoleMode(void)
-{
- PPIB pib;
- PTIB tib;
-
- DosGetInfoBlocks(&tib, &pib);
-
- // Change flag from PM to VIO
- pib->pib_ultype = 3;
-}
-
/**
* Insert a chunk of text from the clipboard onto the textbuffer. Get TEXT clipboard
* and append this up to the maximum length (either absolute or screenlength). If maxlength