summaryrefslogtreecommitdiff
path: root/win32.c
AgeCommit message (Collapse)Author
2005-03-10(svn r1984) -Fix: [1155762] Don't try to open the non-existent menu, when ↵tron
F10 is pressed
2005-03-09(svn r1972) Several cleanups and fix some latent bugstron
2005-03-09(svn r1970) Fix some warnings which Cygwin showedtron
2005-02-22(svn r1907) - Fix: [ 1114261 ] Speeding up when pressing ALT+TAB (Windows)darkvater
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 r1806) Add missing includes (see r1803)tron
2005-02-05(svn r1805) Teach the driver layer a few things about const correctnesstron
2005-01-30(svn r1734) - Fix: [ 1112253 ] hijacking of arrow keys, game also scrolled ↵darkvater
when it was out of focus (dominik)
2005-01-23(svn r1603) -Fix: unused variable in FormatTinyDatedarkvater
-Fix: added void to all win32.c functions as well
2005-01-16(svn r1541) Fix: [ 1100767 ] fast forward in main menudominik
2005-01-15(svn r1529) -Feature: [1090950] Adding 16:10 resolutions for mainly laptops ↵darkvater
(doode)
2005-01-15(svn r1524) -"Feature": when windows exception tracker is enabled (release ↵darkvater
builds) and the game crashes for any reason any active log file is closed first. This ensures the log file and ingame debug messages can be used to debug a problem. Any *nix versions are welcome
2005-01-15(svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; ↵darkvater
reenabled again -Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-06(svn r1402) Trim trailing whitespacetron
2004-12-29(svn r1297) Language fixes in the source.. (ln-)miham
2004-12-23(svn r1266) -Fix: fix some cygwin/mingw warningsdarkvater
-Note: when compiling with MinGW (-mno-cygwin) __MINGW32__ is defined; when compiling without it __CYGWIN32__ is defined. You need to set either -mno-cygwin (MinGW) or -mwin32 (Cygwin) to have WIN32 defined
2004-12-23(svn r1262) -Fix: [1088996] kill some warnings for MinGW (luzi82)darkvater
2004-12-19(svn r1171) Fix: Console hotkey works again on keyboards where this key is a ↵dominik
deadkey.
2004-12-18(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) ↵truelight
(GeniusDex)
2004-12-17(svn r1148) Fix: The console hotkey is finally working properly on all ↵dominik
keyboards. It's the key on the top left corner
2004-12-15(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. ↵darkvater
Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
2004-12-14(svn r1090) -Fix: Made the _openttd_revision variable global, and with that truelight
hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash
2004-12-14(svn r1079) -Fix: you can once again quit the game in windows by pressing ↵darkvater
ALT+F4 or the 'exit' button in the main menu.
2004-12-13(svn r1076) Feature: Patch setting to autosave the game on exitdominik
If you set autosave_on_exit = true in openttd.cfg, your game will be saved as exit.sav in the autosave folder and you won't be asked if you want to quit the game any more.
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-15(svn r623) -Feature: [ 1066504 ] Pause key pauses the gametron
2004-11-14(svn r586) -Fix: [1066114] Code error in win32.c Thanks Shaidarkvater
-Fix: ttd.vcproj change to hard-set compilation as C, as well as adding WITH_SDL to debug mode. If you don't have SDL just remove that.
2004-09-27(svn r328) -Fix: remove some unlogical alloca()s (Tron)darkvater
2004-09-23(svn r312) -Fix: [926105] ctrl + d bug. Longest outstanding bug has been ↵darkvater
fixed \o/ 2004-03-30 (Tron) -Fix: [1030393] some screensizes crashes OTTD. Fix in general bug that only allows resolutions which were multiple of 8 in width and height. Also use closest possible resolution in fullscreen if window size is not a valid resolution (Tron)
2004-09-21(svn r304) -Fix: [967096] fullscreen. New button 'Fullscreen' in 'Game ↵darkvater
Options' menu which lets you set fullscreen ingame.
2004-09-18(svn r293) -Feature: Windows now shows (available) revision, release ↵darkvater
information in title bar
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-11(svn r207) -Codechange: randomizer handlingsignde
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
2004-09-11(svn r200) -Fix: oops, ALT+F4 didn't work anymore. Fixed now.darkvater
2004-09-11(svn r199) -Fix: [993374] Pressing alt locks the game - sort of a bug. I ↵darkvater
hope I didn't break anything :O
2004-09-10(svn r197) -Fix: Disable Fast Forward in network games visually (didn't work ↵darkvater
anyways, just showed graphical output)
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-06(svn r165) -Feature: Option to sort vehicles in vehicle-list window by ↵darkvater
different criteria. Total independent sort for all types and players. Periodic resort of list every 10 TTD days. Thank you for your graphical inspiration follow and buxo (since none of you provided any code). -Fix: Sorter icon pointing down 'v' sorts in every window lowest value first, '^' highest value first -CodeChange: move Dropdownlist from settings_gui.c to widget.c. More in place there.
2004-09-03(svn r154) -Fix: some people while using MSVC don't have VK_OEM_3 defined? ↵darkvater
Or it could be Win2000/XP only
2004-09-03(svn r152) -Fix: [1021061] windows WKC_BACKQUOTE [US] (sign_de)darkvater
2004-08-24(svn r136) -Feature/Fix: Console Rev #2 and WKC_BACKQUOTE this patch adds ↵darkvater
new features to the ingame console and inserts a new keymanagement for windows pcs... (sign_de)
2004-08-13(svn r50) -Fix hopefully the win98 crashes related to music/sound (orudge)darkvater
2004-08-10(svn r9) Fixed a couple of warnings and minor coding issuesdominik