summaryrefslogtreecommitdiff
path: root/hal.h
AgeCommit message (Collapse)Author
2006-11-28(svn r7274) -Codechange [utf8]: Add input/output unicode support. This ↵Darkvater
actually only changes win32 since it uses UTF16 for file access. To keep os-specific code to a minimum, OpenTTD uses UTF8 internally everywhere, converting to OS-type when needed (save/load/screenshot/etc.)
2006-08-05(svn r5767) - Cleanup: Improve upon the header file mess regarding fios. ↵Darkvater
Move all relevant types from hal.h into fios.h, eliminate the unneccessary passing of a global variable, and extern variables in header files (declare in fios.c and misc_gui.c
2006-08-05(svn r5765) - Codechange: Fully unify the OS-specific FiosGet...List ↵Darkvater
functions into fios.c, as well as FiosGetSavegameList and FiosGetScenarioList functions with the help of some callbacks.
2006-08-05(svn r5764) - Cleanup: - Cleanup: Move the now unified FiosAlloc, ↵Darkvater
compare_FiosItems, FiosFreeSavegameList, FiosMakeSavegameName, FiosDelete and FileExists to newly created file fios.c where it belongs. - Fix: forgot to remove GetLanguageList from functions.h in previous commit
2006-08-04(svn r5761) - Cleanup: Really minor whitespace changes, and remove an extern ↵Darkvater
from a function decleration in header file.
2006-03-25(svn r4105) - Feature: Add proper ISO-8859-15 <> LOCALCODE conversion. As ↵Darkvater
the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them. - CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG.
2006-03-21(svn r4001) - Add length parameter to FiosMakeSavegameName() and use this ↵Darkvater
function for creating the full path instead of home-brewn snprintf.
2005-11-16(svn r3191) Move declaration and definition of _dbg_screen_rect to a place ↵tron
where it somewhat makes sense and wrap them in #ifdef _DEBUG
2005-10-28(svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the ↵Darkvater
default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping). - Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.
2005-08-11(svn r2852) Remove the unused field 'id' from struct FiosItemtron
2005-08-01(svn r2775) Deleting a file can fail, display an error message when it happenstron
2005-07-30(svn r2757) Remove unused enumtron
2005-07-29(svn r2748) Remove unused cruft from the main looptron
2005-07-28(svn r2737) static, const and don't make variables public nobody else needs ↵tron
to know about
2005-07-27(svn r2728) -Fix/Feature: Change the driver probing algorithmtron
Instead of trying to start a single driver and bailing out if that fails, try to initialise one by one and use the first one which succeeds. This should fix problems on machines with no sound card, where -s null had to be specified manually.
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-23(svn r2691) Separate dedicated video driver and fix bemidi declarationstron
2005-07-23(svn r2690) - Minor cleanups to os2.c and hal.horudge
2005-07-23(svn r2685) -Codechange: Split the music/sound/video drivers into separate ↵tron
files and move them into subfolders. This results in shorter and hopefully easier to maintain files. Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
2005-05-16(svn r2334) - Fix (regression): moved togglefullscreen into the ↵Darkvater
video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
2005-03-28(svn r2100) - Fix: [1024703]: Infinite access for A:\ (win32). Patch ↵darkvater
[1171208]. Only requery drive(s) if the user changes a directory, also surpress the OS error box that pops up on some windows machines. Tron + glx (and me)
2005-03-28(svn r2098) Make a variable static, move a function declaration to a header ↵tron
and remove unnecessary preprocessor magic
2005-03-12(svn r2003) Remove some now unused filehandling stuff, this should have been ↵tron
part of r1990
2005-02-05(svn r1805) Teach the driver layer a few things about const correctnesstron
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2004-12-27(svn r1281) -Fix: the OS/2 is now finished. Fixes:truelight
- Networking - File selector issue - Keyboard input - Dedicated server console issue (use dedicated.cmd to open a server) - Plus many other minor issues
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-09-12(svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now ↵darkvater
default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc).
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight