summaryrefslogtreecommitdiff
path: root/os2.c
AgeCommit message (Collapse)Author
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-25(svn r2710) Simplify dedicated server code a bit and don't compile it at ↵tron
all, if network support ist disabled
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-23(svn r2694) Various smaller changes: eol-style, static, code simplificationtron
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 r2689) - Split OS/2 music driver into os2_m.c, update project fileorudge
2005-07-22(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand ↵orudge
unless you know what you're doing!
2005-07-17(svn r2609) - Feature: remove extension from savegames/scenarios when ↵Darkvater
browsing the folders.
2005-06-02(svn r2399) - Fix: Update OS/2 project file with filename changes orudge
- Fix: Make clipboard code a bit nicer (thanks Tron)
2005-06-02(svn r2398) - CodeChange: forgot to update unix and os2 specific files as well.Darkvater
2005-06-02(svn r2396) - Fix: Put strcasecmp back into os2.c, sorry Tron!orudge
2005-06-02(svn r2394) - Completed clipboard functions for OS/2 portorudge
2005-06-02(svn r2393) - Implemented threaded saving for OS/2 orudge
- Fixed discrepancy with SlArray declaration
2005-05-15(svn r2321) - Fix: [ 1202286 ] On OS/2 you get a double backslash in your ↵matthijs
filename after browsing to the root dir of a drive and "." and ".." are incorrectly displayed. (orudge)
2005-03-28(svn r2103) - Fix: Remove unnused variable from OS2 fileDarkvater
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-27(svn r2084) Set the name for drive itemstron
2005-03-26(svn r2076) Set the name for the parent directory to ".."tron
2005-03-19(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, ↵celestar
updated readme, initial clipboard support (orudge)
2005-03-15(svn r2012) When making a savegame name, don't append the extension, if it ↵tron
is already there
2005-03-15(svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge)darkvater
2005-03-12(svn r1999) r1990 broke savegame deletion, fix that [1161729]tron
2005-03-11(svn r1990) Reduce the diff between the OS specific files with respect to ↵tron
file handling and fix some inconsitencies (I hope I didn't break the OS/2 part, couldn't test it, feedback is welcome)
2005-03-10(svn r1986) - Fix: free _config_file when shutting down openttd. Strange ↵Darkvater
that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c <config_file>. You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it.
2005-02-21(svn r1894) - Codechange: cleaned up the console a bit, wholly unified ↵Darkvater
handling of text with that of editboxes - Codechange: Introduction of Textbuf struct which not only holds physical data as length but also pixel-constrains (width) and information about the caret - Codechange: Move Clipboard function to OS specific file. Currently only Windows has clipboard actions - Feature: Editboxes, console and exit screen also accept the numeric-enter as a yes - Feature: Navigation through text with cursor keys is possible, as well as arbitrary insertion (also paste) and deletion; both backspace and del keys. Functions DeleteTextBufferChar, InsertTextBufferChar and InsertTextBufferClipboard handle input and deletion. Navigation is done through MoveTextBufferPos. - Fix: OTTD crash when opening 'add server' editbox - CodeChange: fix up some stringwidth calculations in gfx.c. You can get the width in pixels of a character by calling GetCharacterWidth().
2005-02-08(svn r1850) Change the last consumers of str_buffr so they use local static ↵tron
buffers now and remove the global array str_buffr.
2005-02-07(svn r1840) Repel str_buffr and use local buffers where possibletron
2005-02-06(svn r1821) Move generic string handling functions to string.[ch] and ↵tron
introduce stre{cpy,cat}, see string.h for their semantics
2005-02-05(svn r1805) Teach the driver layer a few things about const correctnesstron
2005-01-06(svn r1402) Trim trailing whitespacetron
2004-12-28(svn r1289) -Fix: Minor fix for OS/2 message boxes (orudge)truelight
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-24(svn r1271) -Fix: set eol-style to native on missing filesdarkvater
-Added known_bugs file with open bugs on SF..should be included with installer -Updated installer for 0.3.5
2004-12-23(svn r1249) -Fix: new files in the last commit had double contenttruelight
2004-12-23(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)truelight
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'