smatz
36bb91cc6d
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
2008-04-29 23:11:55 +00:00
peter1138
45034bc522
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-29 21:31:29 +00:00
rubidium
6056d1fb31
(svn r12921) -Codechange: coding style fixes and documentation updates.
2008-04-29 18:19:29 +00:00
smatz
299b15c2bf
(svn r12920) -Fix (r12859): town rating was affected even after the test run
2008-04-29 18:08:14 +00:00
smatz
0ddb481a33
(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress
2008-04-29 16:36:44 +00:00
rubidium
49ded3f2c3
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
2008-04-29 10:26:22 +00:00
peter1138
8bb0ff0a63
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
2008-04-29 07:11:54 +00:00
smatz
2d7430cf33
(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does
2008-04-28 23:48:45 +00:00
smatz
6181451b13
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
2008-04-28 23:34:23 +00:00
peter1138
1a7c1cb84b
(svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable.
2008-04-28 11:15:13 +00:00
bjarni
783e20a263
(svn r12913) -Add: ability to backup and restore a player's economic data 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 20:09:29 +00:00
bjarni
d6c971fd9b
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
2008-04-27 18:05:48 +00:00
peter1138
2d5be0185f
(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.
2008-04-27 10:19:41 +00:00
smatz
bf3542e9f7
(svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start)
2008-04-26 14:20:39 +00:00
smatz
f129ba40a7
(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash
2008-04-25 16:33:40 +00:00
rubidium
81859bb7ad
(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.
2008-04-25 15:25:28 +00:00
rubidium
60ed64e909
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
2008-04-25 15:22:32 +00:00
glx
5d8ed6f1c2
(svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again)
2008-04-25 15:05:08 +00:00
rubidium
6ed5c01143
(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.
2008-04-25 06:15:58 +00:00
glx
6b961f7ba6
(svn r12882) -Fix (r12764): the check for missing header files could find more files than needed
2008-04-24 23:50:40 +00:00
glx
5e71916652
(svn r12881) -Fix (r12770): the check for missing header files could find more files than needed
2008-04-24 23:40:42 +00:00
rubidium
1474ca1dd4
(svn r12876) -Fix [FS#1928]: gcc on FreeBSD does not support -dumpmachine. As gcc is not necessary for FreeBSD compiles we 'just' use g++ as that support -dumpmachine.
2008-04-24 20:07:12 +00:00
belugas
eff775d252
(svn r12875) -Codechange: Use defined const instead of cast magic
2008-04-24 18:30:41 +00:00
belugas
249ea61c7e
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
2008-04-24 18:17:53 +00:00
rubidium
4016d15bc7
(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints.
2008-04-24 17:53:45 +00:00
peter1138
33f85f80d0
(svn r12872) -Codechange: Remove obsolete unused engine list order function
2008-04-24 15:51:29 +00:00
smatz
0a83a43075
(svn r12870) -Codechange: remove some magic numbers from u.ship.state handling
2008-04-24 13:05:51 +00:00
rubidium
26cea31b1e
(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better understandable.
2008-04-24 11:11:50 +00:00
smatz
26206fa116
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
2008-04-24 09:55:20 +00:00
miham
1a26e29333
(svn r12861) -Update: WebTranslator2 update to 2008-04-24 10:49:17
...
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 08:53:04 +00:00
peter1138
6ac8ced9af
(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases.
2008-04-24 07:44:21 +00:00
rubidium
b2717d1426
(svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.
2008-04-23 22:55:11 +00:00
rubidium
29ce273067
(svn r12858) -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though.
2008-04-23 22:17:33 +00:00
rubidium
2b85217bfe
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
2008-04-23 22:16:41 +00:00
peter1138
7c8fe9791b
(svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties.
2008-04-23 21:55:24 +00:00
rubidium
d56827a9a9
(svn r12855) -Codechange: do not use autoptr's for testing whether certain 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 20:56:08 +00:00
smatz
a204a3b70e
(svn r12854) -Codechange: make drawing of rail catenary a bit faster
2008-04-23 20:22:31 +00:00
smatz
112afdf7d8
(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases
2008-04-23 19:47:23 +00:00
smatz
ac0cfcde33
(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles
2008-04-23 19:07:18 +00:00
glx
1461ba9d35
(svn r12850) -Fix (r12848): compilation was broken for some platforms
2008-04-23 13:36:52 +00:00
peter1138
b471c5d312
(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering.
2008-04-23 12:03:47 +00:00
peter1138
616cd60651
(svn r12847) -Cleanup: Identing and variable scope
2008-04-23 11:57:58 +00:00
rubidium
420b1b53d3
(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced.
2008-04-23 00:16:21 +00:00
rubidium
97f78133d2
(svn r12844) -Fix: the industry tick trigger should only be triggered once 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-23 00:14:49 +00:00
bjarni
80a0435ba8
(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
...
The code to open this window is also unified for all vehicle types
2008-04-22 23:16:36 +00:00
glx
2c057b318e
(svn r12842) -Codechange [FS#1604]: scale message history by map size
2008-04-22 21:18:55 +00:00
peter1138
f767baba58
(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically.
2008-04-22 18:20:41 +00:00
belugas
931aecda9f
(svn r12837) -Codechange: Alignment of widget array
2008-04-22 14:40:09 +00:00
rubidium
8637e6afa1
(svn r12836) -Fix: SunOS non-dedicated server compilation.
2008-04-21 23:04:05 +00:00
peter1138
a05e9b4c6b
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
2008-04-21 20:50:58 +00:00