win32.h
author Darkvater
Tue, 28 Nov 2006 19:58:13 +0000
changeset 5168 10a8dc9788d7
parent 2436 177cb6a8339f
child 5218 aae5f36a5256
permissions -rw-r--r--
(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE
API exclusively.
/* $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 */