belugas
0eab2c07c2
(svn r12956) -Codechange: Code-style application on switch-case aligment
17 years ago
smatz
72120a48c4
(svn r12955) -Fix (r12858): compilation with desync debug was broken
17 years ago
peter1138
4595d2c3b1
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
17 years ago
peter1138
57e104f97e
(svn r12952) -Cleanup: Indenting and codestyle
17 years ago
belugas
cdd22af5a1
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
17 years ago
belugas
26f11fd181
(svn r12950) -Fix: two includes is one too much
17 years ago
rubidium
a1e77073fe
(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.
17 years ago
rubidium
e6bc8fa3d8
(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.
17 years ago
glx
9eb498eb53
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
17 years ago
rubidium
a51e32376e
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
17 years ago
rubidium
7a85e26268
(svn r12945) -Fix: (small) memory leak when joining/exiting threads.
17 years ago
smatz
297f99e100
(svn r12944) -Codechange: use rev.h instead of externs at many places
17 years ago
rubidium
0b8b5d1f3b
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
17 years ago
rubidium
762315c47c
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
17 years ago
rubidium
cb680474c3
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
17 years ago
bjarni
dbf6e344a4
(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well
17 years ago
rubidium
8ca1035316
(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.
17 years ago
rubidium
a26b25aecc
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
17 years ago
rubidium
5b44c68b19
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
17 years ago
rubidium
72eb1f100b
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
17 years ago
rubidium
d1ddff90d9
(svn r12935) -Fix [FS#1975]: vehicles forget their manual depot order when stopping at a station. Now we just pass through the station without stopping when a vehicle has been given a depot order.
17 years ago
belugas
b49b4f627f
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
17 years ago
glx
49484eedca
(svn r12933) -Fix: minor errors related to industries accepted/produced cargo
17 years ago
peter1138
3e0b6199c4
(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
17 years ago
rubidium
4097d81323
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
17 years ago
smatz
c76b2be644
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
17 years ago
peter1138
a00371c8db
(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.
17 years ago
rubidium
1d01390fa6
(svn r12921) -Codechange: coding style fixes and documentation updates.
17 years ago
smatz
a870a66877
(svn r12920) -Fix (r12859): town rating was affected even after the test run
17 years ago
smatz
fc60ef874d
(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress
17 years ago
rubidium
9f3351fed4
(svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not.
17 years ago
peter1138
5ca6fd67fc
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
17 years ago
smatz
868c17a175
(svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does
17 years ago
smatz
dd00683a46
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
17 years ago
peter1138
a37ee93f8d
(svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable.
17 years ago
bjarni
757de2bdf5
(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
17 years ago
bjarni
9f5f4e59cd
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
17 years ago
peter1138
3f2513b5ac
(svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles.
17 years ago
smatz
9e1b8b69e3
(svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start)
17 years ago
smatz
805e1db332
(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash
17 years ago
rubidium
4e80f3f3b1
(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.
17 years ago
rubidium
1aa7d9faff
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
17 years ago
glx
9d7181abd7
(svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again)
17 years ago
rubidium
f1679bcbb7
(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.
17 years ago
glx
e7582da106
(svn r12882) -Fix (r12764): the check for missing header files could find more files than needed
17 years ago
glx
1d9dbd9401
(svn r12881) -Fix (r12770): the check for missing header files could find more files than needed
17 years ago
rubidium
4ac6655bad
(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.
17 years ago
belugas
bf702602c1
(svn r12875) -Codechange: Use defined const instead of cast magic
17 years ago
belugas
fbeaf0389d
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
17 years ago
rubidium
91fa34ea11
(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints.
17 years ago