mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
8d29e3efdb
API exclusively.
20 lines
342 B
C
20 lines
342 B
C
/* $Id$ */
|
|
|
|
#ifndef WIN32_H
|
|
#define WIN32_H
|
|
|
|
bool MyShowCursor(bool show);
|
|
|
|
typedef void (*Function)(int);
|
|
bool LoadLibraryList(Function proc[], const char *dll);
|
|
|
|
#if defined(UNICODE)
|
|
# define MB_TO_WIDE(x) OTTD2FS(x)
|
|
# define WIDE_TO_MB(x) FS2OTTD(x)
|
|
#else
|
|
# define MB_TO_WIDE(x) (x)
|
|
# define WIDE_TO_MB(x) (x)
|
|
#endif
|
|
|
|
#endif /* WIN32_H */
|