summaryrefslogtreecommitdiff
path: root/win32.h
AgeCommit message (Collapse)Author
2006-12-09(svn r7460) -Fix (r7337): [win32] If the underlying OS didn't have support ↵Darkvater
for SHGetFolderPath the application failed to run. Now test if the function exists and if not try a different approach using our own OTTDSHGetFolderPath wrapper.
2006-12-03(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ↵Darkvater
ala Fontconfig. Pretty messy if you ask me, but this is what you get when MS hides the font API in the deepest depths... thanks Rubidium for testing.
2006-12-03(svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to ↵Darkvater
also accept conversions into a predefined buffer insted of using the static (global) buffer. This is useful if the converted value will be used later on; no need to copy it somewhere else to save it. -CodeChange: [win32] Added appropiate macros WIDE_TO_MB_BUFFER, MB_TO_WIDE_BUFFER next to existing WIDE_TO_MB and MB_TO_WIDE that only do work when UNICODE is defined, saves #ifdefs all over the place
2006-11-28(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on ↵Darkvater
OS's using UNICODE API exclusively.
2005-09-18(svn r2962) - const correctness for all Get* functions and most Draw* ↵Darkvater
functions that don't change their pointer parameters - change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
2005-07-27(svn r2725) Move MyShowCursor() back into win32.c, it fits better theretron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-24(svn r2697) Make compiling with SDL on Windows work again (missing ↵tron
#includes) and fix some warnings