|
OpenTTD
|
OS2 related OS support. More...
#include "../../stdafx.h"#include "../../openttd.h"#include "../../gui.h"#include "../../fileio_func.h"#include "../../fios.h"#include "../../core/random_func.hpp"#include "../../string_func.h"#include "../../textbuf_gui.h"#include "table/strings.h"#include <dirent.h>#include <unistd.h>#include <sys/stat.h>#include <stdlib.h>#include <time.h>#include <dos.h>#include "../../safeguards.h"#include <os2.h>#include <i86.h>Go to the source code of this file.
Functions | |
| bool | FiosIsRoot (const char *file) |
| void | FiosGetDrives () |
| bool | FiosGetDiskFreeSpace (const char *path, uint64 *tot) |
| bool | FiosIsValidFile (const char *path, const struct dirent *ent, struct stat *sb) |
| bool | FiosIsHiddenFile (const struct dirent *ent) |
| void | ShowInfo (const char *str) |
| void | ShowOSErrorBox (const char *buf, bool system) |
| int CDECL | main (int argc, char *argv[]) |
| bool | GetClipboardContents (char *buffer, const char *last) |
| Try to retrieve the current clipboard contents. | |
| void | CSleep (int milliseconds) |
| const char * | FS2OTTD (const char *name) |
| const char * | OTTD2FS (const char *name) |
| uint | GetCPUCoreCount () |
| Get number of processor cores in the system, including HyperThreading or similar. | |
| void | OSOpenBrowser (const char *url) |
OS2 related OS support.
Definition in file os2.cpp.
| bool GetClipboardContents | ( | char * | buffer, |
| const char * | last | ||
| ) |
Try to retrieve the current clipboard contents.
| buffer | Clipboard content. |
| last | The pointer to the last element of the destination buffer |
Definition at line 183 of file os2.cpp.
Referenced by Textbuf::InsertClipboard().
| uint GetCPUCoreCount | ( | ) |
Get number of processor cores in the system, including HyperThreading or similar.
Definition at line 219 of file os2.cpp.
Referenced by VideoDriver_Win32::Start().
1.8.1.2