summaryrefslogtreecommitdiff
path: root/win32.h
AgeCommit message (Collapse)Author
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2006-12-10(svn r7468) -Codechange: [win32] Add some comments to ↵Darkvater
MB/WIDE_TO_WIDE/MB_[BUFFER] macros and use them some more in win32 code. Also for the clipboard use the convert_from_fs function instead of calling Win32 API directly. Make the static buffers in OTTD2FS and FS2OTTD the same size (character-length wise)
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