glx
6509e5ff8a
(svn r12966) -Update: apply english.txt changes from r12965 to other languages
2008-05-05 22:52:49 +00:00
glx
7da190c1e0
(svn r12965) -Codechange: add support for callback 37 in industries directory window
2008-05-05 22:42:06 +00:00
glx
7f8f70f6f0
(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows
2008-05-05 22:37:40 +00:00
rubidium
e7d125de58
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
2008-05-05 22:35:33 +00:00
smatz
19b20a7dde
(svn r12962) -Fix (r12961): forgot one break
2008-05-05 22:22:12 +00:00
smatz
2e0ec76007
(svn r12961) -Codechange: store the type of savegame we are loading in a global variable
2008-05-05 22:03:01 +00:00
rubidium
f2683a6037
(svn r12960) -Codechange: handle return values of (some) file system related functions.
2008-05-05 21:54:05 +00:00
glx
15ebb1a292
(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory
2008-05-05 21:09:03 +00:00
peter1138
e2c739551c
(svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.
2008-05-05 19:02:10 +00:00
rubidium
41aeb7ffa0
(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
2008-05-05 18:27:57 +00:00
belugas
8580edbf20
(svn r12956) -Codechange: Code-style application on switch-case aligment
2008-05-05 16:05:36 +00:00
smatz
f0064d5165
(svn r12955) -Fix (r12858): compilation with desync debug was broken
2008-05-05 15:07:09 +00:00
peter1138
78c0929b18
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
2008-05-05 11:36:43 +00:00
peter1138
7e70d9f09f
(svn r12952) -Cleanup: Indenting and codestyle
2008-05-05 11:24:58 +00:00
belugas
24bfbc9472
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
2008-05-05 02:11:12 +00:00
belugas
dcdfb02130
(svn r12950) -Fix: two includes is one too much
2008-05-05 02:02:32 +00:00
rubidium
62259ff665
(svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces.
2008-05-04 22:57:50 +00:00
rubidium
c878af4841
(svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played.
2008-05-04 22:38:18 +00:00
glx
5b1e423889
(svn r12947) -Fix: keep only first 15 bits for non failed callback results
2008-05-04 22:32:25 +00:00
rubidium
cdf9ada599
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
2008-05-04 22:19:44 +00:00
rubidium
a89f533e09
(svn r12945) -Fix: (small) memory leak when joining/exiting threads.
2008-05-04 22:13:47 +00:00
smatz
89a8dc8cf7
(svn r12944) -Codechange: use rev.h instead of externs at many places
2008-05-04 21:53:36 +00:00
rubidium
8fe14f7162
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
2008-05-04 21:47:36 +00:00
rubidium
4acb8f3a5e
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
2008-05-04 21:36:37 +00:00
rubidium
0083ce9e1b
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
2008-05-04 10:05:50 +00:00
bjarni
63fea0790b
(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well
2008-05-04 10:05:35 +00:00
rubidium
b35100e2a9
(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.
2008-05-04 09:39:16 +00:00
rubidium
ec931ba5c6
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
2008-05-04 08:56:59 +00:00
rubidium
7c93f3bab8
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
2008-05-04 08:49:57 +00:00
rubidium
300c7e459a
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
2008-05-04 08:38:21 +00:00
rubidium
200e35cd8c
(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.
2008-05-02 08:15:36 +00:00
belugas
5867336b6e
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
2008-05-02 02:06:57 +00:00
glx
5bd8b6adb0
(svn r12933) -Fix: minor errors related to industries accepted/produced cargo
2008-05-01 22:51:53 +00:00
peter1138
c8e10ac1f8
(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
2008-04-30 17:42:08 +00:00
rubidium
f1820a5708
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
2008-04-30 07:39:46 +00:00
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