summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-12-04(svn r7352) -Codechange: add widget_count parameter to the window.rubidium
-Codechange: check whether widget indices are valid for all the (Set|Is)WindowWidget(Disabled|Lowered|Hidden) and related functions.
2006-12-04(svn r7351) -Fix (r6619): Disabled platform length and numbers were not ↵peter1138
reset for the default station.
2006-12-04(svn r7350) -Fix: do not handle the save game/scenario filename edit box ↵rubidium
when loading a game/scenario/heightmap.
2006-12-04(svn r7349) -Fix (r7348): Stripping data path didn't work for absolute paths.peter1138
2006-12-04(svn r7348) -Feature: Initial support for saving NewGRF settings with ↵peter1138
savegames. Back up your savegames...
2006-12-04(svn r7347) -Translations: Use correct plural type for Russianpeter1138
2006-12-04(svn r7346) WebTranslator2 update to 2006-12-04 05:22:02miham
american - 5 fixed by WhiteRabbit (5) brazilian_portuguese - 1 fixed by tucalipe (1) bulgarian - 5 fixed by groupsky (5) catalan - 1 fixed, 3 changed by arnaullv (4) croatian - 186 fixed, 111 changed by knovak (297) czech - 5 fixed by Hadez (5) dutch - 5 fixed by habell (5) french - 1 fixed by glx (1) german - 5 fixed by Neonox (5) italian - 5 fixed by sidew (5) portuguese - 4 fixed by izhirahider (4) turkish - 5 fixed by jnmbk (5)
2006-12-03(svn r7345) -Codechange: enumification of NewGRF loading stage, and move ↵peter1138
enum definition to header for future use.
2006-12-03(svn r7341) - Codechange: Also rename the POOL_H define to OLDPOOL_H ↵matthijs
(forgotten in r7331).
2006-12-03(svn r7338) -Fix (r7336): [win32] libfreetype is libfreetype2 in linker ↵Darkvater
options (thanks Rubidium)
2006-12-03(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ↵Darkvater
ala Fontconfig. Pretty messy if you ask me, but this is what you get when MS hides the font API in the deepest depths... thanks Rubidium for testing.
2006-12-03(svn r7336) -Codechange: [win32] Add freetype support for Windows project files.Darkvater
2006-12-03(svn r7335) -Codechange: redraw station tiles when cargo is moved, for ↵peter1138
newstations
2006-12-03(svn r7334) -Revert accidentally committed file in r7333Darkvater
2006-12-03(svn r7333) -Codechange: [win32] Extend the OTTD2FS and FS2OTTD functions to ↵Darkvater
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
2006-12-03(svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video ↵rubidium
driver when one goes to fullscreen and there are no suitable resolutions.
2006-12-03(svn r7331) - Codechange: Rename all memory pool macro's and types to "old ↵matthijs
pool", so the new pool implementation can be committed alongside it. - Codechange: Rename pool.[ch] to oldpool.[ch].
2006-12-03(svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local peter1138
player, resulting in an empty vehicle purchase list. Specify the player as an argument to IsEngineBuildable()
2006-12-03(svn r7329) -Fix (r7157): Invalid viewport position on quick zoomKUDr
2006-12-03(svn r7328) -Fix: memory corruption. The 'Load Heightmap' window does not ↵rubidium
have TerraGenesis configuration buttons and it does have only 29 widgets, not at least 33. Thanks to Tefad for finding this bug.
2006-12-03(svn r7327) -Fix: [YAPF] missing YAPF cache notification when building road ↵KUDr
on rail (new crossing) or removing road from crossing
2006-12-02(svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros)peter1138
2006-12-02(svn r7325) -Feature: Add support for action 5 type 0x0D, coast sprites.peter1138
2006-12-02(svn r7324) -Codechange: reset newgrf signal location datapeter1138
2006-12-02(svn r7323) -Fix (r7182): When translating NewGRF strings, look at the first peter1138
character and move ahead if needed, instead of taking the first character and moving back.
2006-12-01(svn r7322) -Update win32 project files for ukrainian and bulgarian language ↵Darkvater
files. Also add unicows.lib to Release build of VS2003.
2006-12-01(svn r7321) -Translations: Move bulgarian and ukrainian out of unfinished as ↵peter1138
they are, respectively, 99% and 97% complete.
2006-12-01(svn r7320) -Translations: add russian to MS VC project filespeter1138
2006-12-01(svn r7319) -Fix (r7182): (NewGRF) Add space for terminator when translating ↵peter1138
TTDPatch strings (thanks eddi)
2006-12-01(svn r7318) -Fix: change some unfinished strings: ↵rubidium
STRING->{CARGO,POWER,WEIGHT,WEIGHT_S} and remove strings that are no longer in english.txt.
2006-12-01(svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138)KUDr
2006-12-01(svn r7316) -Codechange: Make train-build-gui and aircraft-build-gui ↵Darkvater
(unified) look more alike.
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)