summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-09-30(svn r14419) -Codechange: adding two digits for no obvious reason (nor ↵belugas
comment), plus code style Infringement.
2008-09-29(svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 ↵smatz
times faster than pre-r14416 in average case
2008-09-29(svn r14416) -Fix (r10074)(r10517): substraction was done the other way in ↵smatz
the 'nearest land/water' check (~25% performance penalty)
2008-09-29(svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water ↵smatz
industries
2008-09-29(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy ↵rubidium
doesn't guarantee the resulting string is '\0'-terminated.
2008-09-28(svn r14412) -Documentation: Comment some functions related to the advanced ↵frosch
settings. Patch by Alberth, but with less excessive use of 'at'.
2008-09-28(svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains.frosch
2008-09-28(svn r14410) -Codechange: one can't inject a negative number of parameters, ↵rubidium
so enforce this by using a uint.
2008-09-28(svn r14409) -Codechange: Simplify a loop and correct a comment.frosch
2008-09-27(svn r14408) -Fix (r9205): generation seed set using -G was always ↵glx
overwritten by -g
2008-09-27(svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ)frosch
2008-09-27(svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free ↵frosch
wagon chains.
2008-09-26(svn r14405) -Fix [FS#2289]: Correct handling of selling free wagons while ↵frosch
the following vehicle is an engine (i.e. a new train is created).
2008-09-26(svn r14404) -Change [FS#2176]: don't make the town flatten land ↵rubidium
unconditionally when build on slopes is turned on. Based on a patch by Eddi.
2008-09-26(svn r14403) -Fix (r14384): The condition was too restrictive.frosch
2008-09-26(svn r14402) -Update: WebTranslator2 update to 2008-09-26 17:45:50translators
slovenian - 3 fixed by Necrolyte (3) traditional_chinese - 1 fixed, 8 changed by josesun (9)
2008-09-26(svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead ↵peter1138
parts for callback 1D when moving a chain of wagons.
2008-09-25(svn r14398) -Cleanup (r14395): unused function sneaked insmatz
2008-09-24(svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to ↵rubidium
printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
2008-09-24(svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled ↵smatz
to depot with DepotID == 0
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-24(svn r14394) -Update: WebTranslator2 update to 2008-09-24 14:01:38translators
danish - 8 changed by ThomasA (8) german - 5 changed by sulai (5) hungarian - 17 fixed, 4 changed by alyr (21) korean - 45 changed by dlunch (45) norwegian_bokmal - 9 fixed by christian (9) spanish - 1 changed by eusebio (1) traditional_chinese - 91 fixed, 1044 changed by josesun (1135)
2008-09-23(svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice.rubidium
2008-09-23(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.rubidium
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-22(svn r14386) -Update: WebTranslator2 update to 2008-09-22 19:58:30translators
brazilian_portuguese - 3 fixed by tucalipe (3) catalan - 3 fixed by arnaullv (3) english_US - 2 fixed by WhiteRabbit (2) estonian - 1 fixed by kristjans (1) french - 1 fixed by glx (1) galician - 1 changed by Condex (1) hungarian - 3 changed by alyr (3) korean - 18 changed by dlunch (18) norwegian_bokmal - 194 fixed by christian (194) spanish - 2 fixed by eusebio (2)
2008-09-22(svn r14384) -Fix: Moving the first vehicle of a train elsewhere might ↵frosch
require a new unitnumber for the remaining chain.
2008-09-22(svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' ↵smatz
in the NewGRF code, too
2008-09-21(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front ↵rubidium
engine when turning a train in a station.
2008-09-21(svn r14369) -Fix: Enforce non-front engines to be stopped.frosch
This could be caused by old savegames resp. their conversion, and causes trouble for e.g. autoreplace.
2008-09-21(svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single ↵rubidium
trambit (like caused during road construction reworks) or when (manually) reversing in a corner.
2008-09-20(svn r14366) -Fix (r14362): Match multiheaded parts starting from the first ↵frosch
vehicle in a chain.
2008-09-20(svn r14365) -Backport (r14364 from NoAI): add the ability do ↵glx
CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
2008-09-20(svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twiceglx
2008-09-20(svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains.frosch
2008-09-19(svn r14361) -Update: WebTranslator2 update to 2008-09-19 20:23:28translators
italian - 8 fixed by lorenzodv (8) korean - 3 fixed by leejaeuk5 (3) simplified_chinese - 119 fixed by ww9980 (119) spanish - 1 fixed by eusebio (1) swedish - 13 fixed by ChrillDeVille (13) ukrainian - 3 fixed by mad (3)
2008-09-19(svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' buttonsmatz
2008-09-18(svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set ↵rubidium
for very old savegames (including TTD's) making it impossible to remove some pieces of road.
2008-09-17(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for ↵smatz
tunnels and bridges
2008-09-17(svn r14352) -Feature: Allow sorting vehicles by remaining life time.belugas
Patch by yorick
2008-09-17(svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we ↵smatz
know it is a tram, so compiler doesn't generate code for trains and ships
2008-09-16(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE ↵smatz
depots, it is drawn through depot walls
2008-09-16(svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, ↵smatz
they have colour of invalid player
2008-09-16(svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to ↵smatz
next/previous sign in signs_gui.cpp (Roujin)
2008-09-16(svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deletedsmatz
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
2008-09-16(svn r14344) -Fix: when a new airport is built in the same tick as the old ↵smatz
station is deleted, aircraft may go crazy (and crash the game)
2008-09-16(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause ↵smatz
crashes at several places when the station pool got smaller
2008-09-16(svn r14340) -Fix (r11822): signs from old savegames were lost (causing ↵smatz
little memory leaks)
2008-09-15(svn r14339) -Fix (r13731): crash when loading the intro game failedsmatz
2008-09-15(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, ↵smatz
president and company renaming commands, too