------------------------------------------------------------------------ r7336 | Darkvater | 2006-12-03 18:36:11 +0000 (Sun, 03 Dec 2006) | 1 line -Codechange: [win32] Add freetype support for Windows project files. ------------------------------------------------------------------------ r7335 | peter1138 | 2006-12-03 18:28:42 +0000 (Sun, 03 Dec 2006) | 2 lines -Codechange: redraw station tiles when cargo is moved, for newstations ------------------------------------------------------------------------ r7334 | Darkvater | 2006-12-03 17:54:28 +0000 (Sun, 03 Dec 2006) | 1 line -Revert accidentally committed file in r7333 ------------------------------------------------------------------------ r7333 | Darkvater | 2006-12-03 17:47:53 +0000 (Sun, 03 Dec 2006) | 6 lines -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to 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 ------------------------------------------------------------------------ r7332 | rubidium | 2006-12-03 17:42:56 +0000 (Sun, 03 Dec 2006) | 2 lines -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions. ------------------------------------------------------------------------ r7331 | matthijs | 2006-12-03 17:27:43 +0000 (Sun, 03 Dec 2006) | 3 lines - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it. - Codechange: Rename pool.[ch] to oldpool.[ch]. ------------------------------------------------------------------------ r7330 | peter1138 | 2006-12-03 15:48:21 +0000 (Sun, 03 Dec 2006) | 4 lines -Fix (r7304): Data invalidation doesn't always happen as the local player, resulting in an empty vehicle purchase list. Specify the player as an argument to IsEngineBuildable() ------------------------------------------------------------------------ r7329 | KUDr | 2006-12-03 13:40:16 +0000 (Sun, 03 Dec 2006) | 1 line -Fix (r7157): Invalid viewport position on quick zoom ------------------------------------------------------------------------ r7328 | rubidium | 2006-12-03 13:06:49 +0000 (Sun, 03 Dec 2006) | 2 lines -Fix: memory corruption. The 'Load Heightmap' window does not have TerraGenesis configuration buttons and it does have only 29 widgets, not at least 33. Thanks to Tefad for finding this bug. ------------------------------------------------------------------------ r7327 | KUDr | 2006-12-03 12:17:35 +0000 (Sun, 03 Dec 2006) | 1 line -Fix: [YAPF] missing YAPF cache notification when building road on rail (new crossing) or removing road from crossing ------------------------------------------------------------------------ r7326 | peter1138 | 2006-12-02 16:56:32 +0000 (Sat, 02 Dec 2006) | 2 lines -Feature: Add support for gradual (un)loading of vehicles (Maedhros) ------------------------------------------------------------------------ r7325 | peter1138 | 2006-12-02 09:54:49 +0000 (Sat, 02 Dec 2006) | 2 lines -Feature: Add support for action 5 type 0x0D, coast sprites. ------------------------------------------------------------------------ r7324 | peter1138 | 2006-12-02 09:52:34 +0000 (Sat, 02 Dec 2006) | 2 lines -Codechange: reset newgrf signal location data ------------------------------------------------------------------------ r7323 | peter1138 | 2006-12-02 09:34:18 +0000 (Sat, 02 Dec 2006) | 4 lines -Fix (r7182): When translating NewGRF strings, look at the first character and move ahead if needed, instead of taking the first character and moving back. ------------------------------------------------------------------------ r7322 | Darkvater | 2006-12-01 19:25:50 +0000 (Fri, 01 Dec 2006) | 2 lines -Update win32 project files for ukrainian and bulgarian language files. Also add unicows.lib to Release build of VS2003. ------------------------------------------------------------------------ r7321 | peter1138 | 2006-12-01 13:59:51 +0000 (Fri, 01 Dec 2006) | 2 lines -Translations: Move bulgarian and ukrainian out of unfinished as they are, respectively, 99% and 97% complete. ------------------------------------------------------------------------ r7320 | peter1138 | 2006-12-01 13:18:18 +0000 (Fri, 01 Dec 2006) | 2 lines -Translations: add russian to MS VC project files ------------------------------------------------------------------------ r7319 | peter1138 | 2006-12-01 12:57:31 +0000 (Fri, 01 Dec 2006) | 2 lines -Fix (r7182): (NewGRF) Add space for terminator when translating TTDPatch strings (thanks eddi) ------------------------------------------------------------------------ r7318 | rubidium | 2006-12-01 11:23:29 +0000 (Fri, 01 Dec 2006) | 2 lines -Fix: change some unfinished strings: STRING->{CARGO,POWER,WEIGHT,WEIGHT_S} and remove strings that are no longer in english.txt. ------------------------------------------------------------------------ r7317 | KUDr | 2006-12-01 08:23:15 +0000 (Fri, 01 Dec 2006) | 1 line -Fix: (r7299) warning: unused variable num_engines (peter1138) ------------------------------------------------------------------------ r7316 | Darkvater | 2006-12-01 00:28:15 +0000 (Fri, 01 Dec 2006) | 1 line -Codechange: Make train-build-gui and aircraft-build-gui (unified) look more alike. ------------------------------------------------------------------------ r7315 | Darkvater | 2006-12-01 00:26:42 +0000 (Fri, 01 Dec 2006) | 3 lines -Fix: Have the first engine in the list be selected once again when the window is opened and remove a useless loop that tested if selected engine is still in list (moved to list generation). ------------------------------------------------------------------------ r7314 | Darkvater | 2006-12-01 00:14:10 +0000 (Fri, 01 Dec 2006) | 1 line -Cleanup: const, whitespace, coding style and variable usage. ------------------------------------------------------------------------ r7313 | Darkvater | 2006-12-01 00:09:13 +0000 (Fri, 01 Dec 2006) | 2 lines -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls. ------------------------------------------------------------------------ r7312 | Darkvater | 2006-11-30 22:23:11 +0000 (Thu, 30 Nov 2006) | 5 lines -Fix: When loading a game from a dedicated server the local player global variable was wrongly set to 0. In theory this allowed a dedicated server to also play. I see no history for this bug, but it has been there since the introduction of the dedicated server probably. Thanks peter1138 for bringing it to my attention and thanks myself for rewriting the code so this bug could surface ;p ------------------------------------------------------------------------ r7310 | peter1138 | 2006-11-30 21:46:47 +0000 (Thu, 30 Nov 2006) | 4 lines -Codechange: Change scrolling dropdown box to use 1 scroll unit = 1 line of text, instead of 1 row of pixels. This fixes behaviour of scrolling with the scrollbar buttons and the mouse wheel. ------------------------------------------------------------------------ r7309 | KUDr | 2006-11-30 21:37:06 +0000 (Thu, 30 Nov 2006) | 1 line -Codechange: sort train engines/wagons by number first and then by custom rule ------------------------------------------------------------------------ r7308 | KUDr | 2006-11-30 21:33:09 +0000 (Thu, 30 Nov 2006) | 1 line -Codechange: call GenerateBuildList() only when needed instead of on each redraw (peter1138) ------------------------------------------------------------------------ r7306 | KUDr | 2006-11-30 19:37:16 +0000 (Thu, 30 Nov 2006) | 1 line -Codechange: constness (Darkvater) ------------------------------------------------------------------------ r7305 | peter1138 | 2006-11-30 18:47:57 +0000 (Thu, 30 Nov 2006) | 2 lines -Codestyle: Indentation fixes ------------------------------------------------------------------------ r7304 | peter1138 | 2006-11-30 18:23:25 +0000 (Thu, 30 Nov 2006) | 1 line -Codechange: Reinstate caching of sorted purchase list. Dropping from 9m to 1.5m cycles for a redraw of a full list is not frivolous. ------------------------------------------------------------------------ r7303 | peter1138 | 2006-11-30 18:16:08 +0000 (Thu, 30 Nov 2006) | 1 line -Codechange: Sort wagon list as well as engine list. ------------------------------------------------------------------------ r7301 | KUDr | 2006-11-30 17:12:10 +0000 (Thu, 30 Nov 2006) | 1 line -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138) ------------------------------------------------------------------------ r7300 | KUDr | 2006-11-30 16:03:57 +0000 (Thu, 30 Nov 2006) | 2 lines -Fix: (r7299) removed unused strings from lang files ------------------------------------------------------------------------ r7299 | KUDr | 2006-11-30 16:03:12 +0000 (Thu, 30 Nov 2006) | 6 lines -CodeChange: Train and Aircraft Build window GUI code simplified a bit: - using one engine list instead of 3 - removed engine filters (loco, wagons, helicopters, etc.) - EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList) - removed unnecessary "optimization" (rebuild and sort engine list on each WE_PAINT) ------------------------------------------------------------------------ r7296 | KUDr | 2006-11-30 13:52:31 +0000 (Thu, 30 Nov 2006) | 1 line -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero causes YAPF to behave incorrectly. Set its min value to 1. (Danny) ------------------------------------------------------------------------ r7295 | miham | 2006-11-30 08:27:24 +0000 (Thu, 30 Nov 2006) | 1 line [Translations] Reverted last commit ------------------------------------------------------------------------ r7294 | miham | 2006-11-30 08:06:34 +0000 (Thu, 30 Nov 2006) | 3 lines WebTranslator2 update to 2006-11-30 09:06:04 hungarian - 1 changed by miham (1) ------------------------------------------------------------------------ r7293 | miham | 2006-11-30 07:57:27 +0000 (Thu, 30 Nov 2006) | 8 lines WebTranslator2 update to 2006-11-30 08:56:49 brazilian_portuguese - 4 fixed by tucalipe (4) catalan - 4 fixed, 31 changed by arnaullv (35) croatian - 13 fixed by blozo (13) french - 4 fixed by glx (4) german - 1 fixed by Neonox (1) hungarian - 7 fixed by miham (7) ------------------------------------------------------------------------ r7292 | Darkvater | 2006-11-29 21:38:19 +0000 (Wed, 29 Nov 2006) | 2 lines -Codechange: Also validate an strip of colours the console string passed to the dedicated console or logfile. ------------------------------------------------------------------------ r7291 | peter1138 | 2006-11-29 20:56:30 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: use SMALL[LEFT|RIGHT]ARROW for two strings ------------------------------------------------------------------------ r7290 | peter1138 | 2006-11-29 20:53:14 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: update Russian for changes since 0.4.8: new commands and string removed or modified in English ------------------------------------------------------------------------ r7289 | peter1138 | 2006-11-29 20:26:45 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: use only {STRING}, not {STRINGx} in non-English ------------------------------------------------------------------------ r7288 | peter1138 | 2006-11-29 20:21:21 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: Fix currency symbols in Russian ------------------------------------------------------------------------ r7287 | peter1138 | 2006-11-29 17:57:14 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: Add Russian translation based on ttdrussia 0.4.8 release, thanks to Davydov M.A. ------------------------------------------------------------------------ r7286 | peter1138 | 2006-11-29 17:37:28 +0000 (Wed, 29 Nov 2006) | 2 lines -Translation: Remove unfinished latin transliterated Russian translation. ------------------------------------------------------------------------ r7285 | peter1138 | 2006-11-29 11:48:47 +0000 (Wed, 29 Nov 2006) | 1 line -Fix (r7282): Our vehstatus is a byte, not a word. ------------------------------------------------------------------------ r7284 | peter1138 | 2006-11-28 23:44:12 +0000 (Tue, 28 Nov 2006) | 2 lines -Fix (r2361): off by one when calculating vehicle newgrf variable 41 result, partly blamed by vague documentation... (thanks lakie) ------------------------------------------------------------------------ r7283 | Darkvater | 2006-11-28 21:13:45 +0000 (Tue, 28 Nov 2006) | 3 lines -Revert (r1932): Remove scancode 41 for linux console because it is 49. If some linux flavour does use 41, use proper #ifdef guards around it, because right now 'f' also toggles console. ------------------------------------------------------------------------ r7282 | peter1138 | 2006-11-28 21:03:28 +0000 (Tue, 28 Nov 2006) | 2 lines -Fix (r625): ttdpatch vars are little endian ------------------------------------------------------------------------ r7281 | Darkvater | 2006-11-28 20:55:42 +0000 (Tue, 28 Nov 2006) | 1 line -Codechange: [win32] Add win32.h to project file ------------------------------------------------------------------------ r7280 | Darkvater | 2006-11-28 20:55:16 +0000 (Tue, 28 Nov 2006) | 1 line -Codechange: Replace some sprintf() functions with the safer snprintf() functions ------------------------------------------------------------------------ r7279 | Darkvater | 2006-11-28 20:01:46 +0000 (Tue, 28 Nov 2006) | 4 lines -Codechange: [win32] Add Windows95/98 support by using MSLU. Only workaround is that the wide version of EnumDisplaySettings crashes on win95 no matter what, so use ANSI version. NOTE: MSLU support is only added to VS2003 project file because VS2005 compiles won't even run on Windows95. ------------------------------------------------------------------------ r7278 | Darkvater | 2006-11-28 19:58:13 +0000 (Tue, 28 Nov 2006) | 2 lines -Codechange: [win32] Add UNICODE support so it should compile on OS's using UNICODE API exclusively. ------------------------------------------------------------------------ r7274 | Darkvater | 2006-11-28 14:42:31 +0000 (Tue, 28 Nov 2006) | 3 lines -Codechange [utf8]: Add input/output unicode support. This 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.) ------------------------------------------------------------------------ r7273 | peter1138 | 2006-11-28 14:32:24 +0000 (Tue, 28 Nov 2006) | 2 lines -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver. ------------------------------------------------------------------------ r7272 | Darkvater | 2006-11-28 14:19:18 +0000 (Tue, 28 Nov 2006) | 1 line -Ok, let's hope this one's correct...stupid msvc ------------------------------------------------------------------------ r7271 | Darkvater | 2006-11-28 14:12:09 +0000 (Tue, 28 Nov 2006) | 2 lines -Codechange: Revert the strtolower part of r7199 as it can actually become broken due to different codepages. See comments for strtolower function for more information. ------------------------------------------------------------------------ r7269 | peter1138 | 2006-11-27 23:11:56 +0000 (Mon, 27 Nov 2006) | 2 lines -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before. ------------------------------------------------------------------------ r7268 | peter1138 | 2006-11-27 21:14:19 +0000 (Mon, 27 Nov 2006) | 2 lines -Codechange: change rail vehicle cached weight from 16 to 32 bit values to avoid possible overflows. ------------------------------------------------------------------------ r7266 | peter1138 | 2006-11-27 14:09:13 +0000 (Mon, 27 Nov 2006) | 2 lines -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs ------------------------------------------------------------------------