summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-27(svn r12913) -Add: ability to backup and restore a player's economic data ↵bjarni
and data for a vehicle (or chain of vehicles) Autoreplace uses this with the following benefits: -Mass autoreplace (the button in the depot window) will now estimate costs correctly -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains) Thanks to Ammler for testing this
2008-04-27(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each ↵bjarni
argument can be either a Vehicle pointer or a VehicleID
2008-04-27(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for ↵peter1138
manually toggled vehicles.
2008-04-26(svn r12906) -Fix: vehicle groups, engine replacement rules and ↵smatz
player/company names were not properly reset/freed after bankrupt (before new player start)
2008-04-25(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD ↵smatz
without tram support, it is better than to simply crash
2008-04-25(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.rubidium
2008-04-25(svn r12897) -Codechange: some coding style in station_cmd.cpp.rubidium
2008-04-25(svn r12895) -Fix: restored Icelandic plural form and removed cases from ↵glx
Brazilian Portuguese (again)
2008-04-25(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.rubidium
2008-04-24(svn r12882) -Fix (r12764): the check for missing header files could find ↵glx
more files than needed
2008-04-24(svn r12881) -Fix (r12770): the check for missing header files could find ↵glx
more files than needed
2008-04-24(svn r12876) -Fix [FS#1928]: gcc on FreeBSD does not support -dumpmachine. ↵rubidium
As gcc is not necessary for FreeBSD compiles we 'just' use g++ as that support -dumpmachine.
2008-04-24(svn r12875) -Codechange: Use defined const instead of cast magicbelugas
2008-04-24(svn r12874) -Codechange: The closest town is already known. Do not search ↵belugas
for it again.
2008-04-24(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand ↵rubidium
that bytes should be cast to ints.
2008-04-24(svn r12872) -Codechange: Remove obsolete unused engine list order functionpeter1138
2008-04-24(svn r12870) -Codechange: remove some magic numbers from u.ship.state handlingsmatz
2008-04-24(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better ↵rubidium
understandable.
2008-04-24(svn r12862) -Codechange: reduce code duplication for VehicleType -> ↵smatz
WindowClass lookup
2008-04-24(svn r12861) -Update: WebTranslator2 update to 2008-04-24 10:49:17miham
brazilian_portuguese - 74 fixed, 2 changed by fukumori (38), tucalipe (38) bulgarian - 59 fixed by thetitan (59) catalan - 75 fixed by arnaullv (75) czech - 70 fixed, 42 changed by Hadez (112) danish - 46 fixed by MiR (46) dutch - 75 fixed by habell (75) estonian - 91 fixed, 33 changed by kristjans (124) french - 74 fixed, 2 changed by glx (76) italian - 76 fixed, 9 changed by lorenzodv (85) latvian - 24 fixed, 39 changed by stripe4 (63) russian - 86 fixed by Smoky555 (86) slovak - 3 fixed by lengyel (3) slovenian - 75 fixed by Necrolyte (75) spanish - 91 fixed, 2 changed by eusebio (93) swedish - 72 fixed by ChrillDeVille (72) traditional_chinese - 82 fixed, 4 changed by xbddc (86) ukrainian - 76 fixed, 36 changed by mad (112)
2008-04-24(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called ↵peter1138
in some cases.
2008-04-23(svn r12859) -Fix: make the town rating tests use less memory and much ↵rubidium
quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.
2008-04-23(svn r12858) -Add: small piece of code that can help hunting desyncs. Has to ↵rubidium
be enabled by --enable-desync-debug=1 though.
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-23(svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all ↵peter1138
vehicles in the consist before other properties.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-23(svn r12854) -Codechange: make drawing of rail catenary a bit fastersmatz
2008-04-23(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was ↵smatz
drawn twice in some cases
2008-04-23(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tilessmatz
2008-04-23(svn r12850) -Fix (r12848): compilation was broken for some platformsglx
2008-04-23(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix ↵peter1138
with _ for non-globals, and use implicit enum numbering.
2008-04-23(svn r12847) -Cleanup: Identing and variable scopepeter1138
2008-04-23(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was ↵rubidium
introduced.
2008-04-23(svn r12844) -Fix: the industry tick trigger should only be triggered once ↵rubidium
every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway.
2008-04-22(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in ↵bjarni
both directions The code to open this window is also unified for all vehicle types
2008-04-22(svn r12842) -Codechange [FS#1604]: scale message history by map sizeglx
2008-04-22(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs ↵peter1138
as needed instead of statically.
2008-04-22(svn r12837) -Codechange: Alignment of widget arraybelugas
2008-04-21(svn r12836) -Fix: SunOS non-dedicated server compilation.rubidium
2008-04-21(svn r12824) -Codechange: Standardise routines for drawing vehicle images, ↵peter1138
using correct types and less duplication.
2008-04-21(svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in ↵frosch
'newgrf_callbacks.h'.
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in ↵rubidium
TTDP according to frosch's survey.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-21(svn r12816) -Fix: the cargo count in the performance rating window could be ↵rubidium
wrong.
2008-04-21(svn r12815) -Codechange: reshuffle some variables in the CargoPacket struct ↵rubidium
saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles.
2008-04-21(svn r12814) -Codechange: reshuffle some variables in the Vehicle struct ↵rubidium
saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle.
2008-04-21(svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often.rubidium
2008-04-20(svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace()glx
2008-04-20(svn r12809) -Fix (r1704): Possible out of bounds array access.peter1138