summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-01(svn r7315) -Fix: Have the first engine in the list be selected once again ↵Darkvater
when the window is opened and remove a useless loop that tested if selected engine is still in list (moved to list generation).
2006-12-01(svn r7314) -Cleanup: const, whitespace, coding style and variable usage.Darkvater
2006-12-01(svn r7313) -Codechange: Calling invalidate data on a window will surely ↵Darkvater
warrant a redraw, so call that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls.
2006-11-30(svn r7312) -Fix: When loading a game from a dedicated server the local ↵Darkvater
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
2006-11-30(svn r7310) -Codechange: Change scrolling dropdown box to use 1 scroll unit ↵peter1138
= 1 line of text, instead of 1 row of pixels. This fixes behaviour of scrolling with the scrollbar buttons and the mouse wheel.
2006-11-30(svn r7309) -Codechange: sort train engines/wagons by number first and then ↵KUDr
by custom rule
2006-11-30(svn r7308) -Codechange: call GenerateBuildList() only when needed instead ↵KUDr
of on each redraw (peter1138)
2006-11-30(svn r7306) -Codechange: constness (Darkvater)KUDr
2006-11-30(svn r7305) -Codestyle: Indentation fixespeter1138
2006-11-30(svn r7304) -Codechange: Reinstate caching of sorted purchase list. Dropping ↵peter1138
from 9m to 1.5m cycles for a redraw of a full list is not frivolous.
2006-11-30(svn r7303) -Codechange: Sort wagon list as well as engine list.peter1138
2006-11-30(svn r7301) -Fix: (r7299) Forgotten $Id$ and eol-style (peter1138)KUDr
2006-11-30(svn r7300) -Fix: (r7299) removed unused strings from lang filesKUDr
2006-11-30(svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified ↵KUDr
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)
2006-11-30(svn r7296) -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero ↵KUDr
causes YAPF to behave incorrectly. Set its min value to 1. (Danny)
2006-11-30(svn r7295) [Translations] Reverted last commitmiham
2006-11-30(svn r7294) WebTranslator2 update to 2006-11-30 09:06:04miham
hungarian - 1 changed by miham (1)
2006-11-30(svn r7293) WebTranslator2 update to 2006-11-30 08:56:49miham
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)
2006-11-29(svn r7292) -Codechange: Also validate an strip of colours the console ↵Darkvater
string passed to the dedicated console or logfile.
2006-11-29(svn r7291) -Translation: use SMALL[LEFT|RIGHT]ARROW for two stringspeter1138
2006-11-29(svn r7290) -Translation: update Russian for changes since 0.4.8: new ↵peter1138
commands and string removed or modified in English
2006-11-29(svn r7289) -Translation: use only {STRING}, not {STRINGx} in non-Englishpeter1138
2006-11-29(svn r7288) -Translation: Fix currency symbols in Russianpeter1138
2006-11-29(svn r7287) -Translation: Add Russian translation based on ttdrussia 0.4.8 ↵peter1138
release, thanks to Davydov M.A.
2006-11-29(svn r7286) -Translation: Remove unfinished latin transliterated Russian ↵peter1138
translation.
2006-11-29(svn r7285) -Fix (r7282): Our vehstatus is a byte, not a word.peter1138
2006-11-28(svn r7284) -Fix (r2361): off by one when calculating vehicle newgrf ↵peter1138
variable 41 result, partly blamed by vague documentation... (thanks lakie)
2006-11-28(svn r7283) -Revert (r1932): Remove scancode 41 for linux console because it ↵Darkvater
is 49. If some linux flavour does use 41, use proper #ifdef guards around it, because right now 'f' also toggles console.
2006-11-28(svn r7282) -Fix (r625): ttdpatch vars are little endianpeter1138
2006-11-28(svn r7281) -Codechange: [win32] Add win32.h to project fileDarkvater
2006-11-28(svn r7280) -Codechange: Replace some sprintf() functions with the safer ↵Darkvater
snprintf() functions
2006-11-28(svn r7279) -Codechange: [win32] Add Windows95/98 support by using MSLU. ↵Darkvater
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.
2006-11-28(svn r7278) -Codechange: [win32] Add UNICODE support so it should compile on ↵Darkvater
OS's using UNICODE API exclusively.
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-11-28(svn r7273) -Fix (r7250): Initialise game palette before driver ↵peter1138
initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.
2006-11-28(svn r7272) -Ok, let's hope this one's correct...stupid msvcDarkvater
2006-11-28(svn r7271) -Codechange: Revert the strtolower part of r7199 as it can ↵Darkvater
actually become broken due to different codepages. See comments for strtolower function for more information.
2006-11-27(svn r7269) -Feature: Add freight trains patch option. This option is a ↵peter1138
multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.
2006-11-27(svn r7268) -Codechange: change rail vehicle cached weight from 16 to 32 bit ↵peter1138
values to avoid possible overflows.
2006-11-27(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to ↵peter1138
NewGRFs
2006-11-26(svn r7260) WebTranslator2 update to 2006-11-26 16:36:43miham
brazilian_portuguese - 40 changed by tucalipe (40) bulgarian - 2 fixed by kokobongo (2) catalan - 4 changed by arnaullv (4) croatian - 168 fixed, 46 deleted, 18 changed by blozo (232) swedish - 4 fixed by daishan (4)
2006-11-25(svn r7257) -Fix (r7216): Fix doubly-utf8-encoded strings that crept inpeter1138
2006-11-25(svn r7256) -Translation: [FS#408] Turkish lang file massive update (jnmbk)KUDr
2006-11-24(svn r7255) -Comments added for CBlobBaseSimple, CBlobT classesKUDr
2006-11-24(svn r7254) -Fix (r7250): move unicode glyph map initialisation to just ↵peter1138
before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez)
2006-11-24(svn r7250) -Codechange: Shuffle sprite loading and character width caching ↵peter1138
around a bit. This reduces the number of times the sprites are loaded from 5 to 2, just for the intro game.
2006-11-24(svn r7249) -Fix (r7248): Missed a free()...peter1138
2006-11-24(svn r7248) -Codechange: Support reinitializing the unicode glyph map.peter1138
2006-11-24(svn r7247) -Translation: czech lang file massive update - use proper ↵KUDr
diacritics (Hadez)
2006-11-24(svn r7246) -Codechange: Always reload sprite and NewGRF data when loading ↵peter1138
or starting a game, instead of only when the climate type is different.