summaryrefslogtreecommitdiff
path: root/win32.h
blob: 8353e173cef97e78ef95f3482b673043e5fbf030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* $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 */