rubidium
e1cce4dd3c
(svn r13119) -Codechange: make a class of the timetable window.
17 years ago
rubidium
feba3ac1e7
(svn r13118) -Codechange: make classes of the EndGameWindow and the HighScoreWindow.
17 years ago
rubidium
b39525581d
(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.
17 years ago
rubidium
1a2413d59e
(svn r13116) -Codechange: make a window class of the statusbar window.
17 years ago
rubidium
6ac20f00bb
(svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow.
17 years ago
rubidium
7491b792e2
(svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar.
17 years ago
rubidium
7c7a4de3e5
(svn r13113) -Codechange: make a class of the TownAuthorityWindow.
17 years ago
rubidium
b84adf1d89
(svn r13112) -Codechange: make classes of the patches and custom currency windows.
17 years ago
rubidium
9e4d664a24
(svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan.
17 years ago
rubidium
c81a333cb6
(svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly.
17 years ago
rubidium
9013632325
(svn r13109) -Codechange: make a class out of the CheatWindow.
17 years ago
rubidium
b08d728ac9
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
17 years ago
glx
6a50687bdc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
17 years ago
rubidium
eeb6381690
(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
17 years ago
rubidium
8ba6f08ca6
(svn r13105) -Fix [FS#2015]: the title of a query window would (sometimes) change when the on screen keyboard was opened.
17 years ago
rubidium
5ae795953a
(svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
17 years ago
rubidium
8fff6e8638
(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.
17 years ago
rubidium
d94bef9d5c
(svn r13102) -Codechange: make a class of the NewsWindow.
17 years ago
rubidium
d1ab9908bc
(svn r13101) -Codechange: remove a unused global function.
17 years ago
rubidium
76b8970a33
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
17 years ago
rubidium
009a748ab3
(svn r13099) -Fix [FS#2014]: when a window had children only one of them would be closed (on a parent closure) instead of all children.
17 years ago
rubidium
15e89b32b9
(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot.
17 years ago
glx
534bf5b402
(svn r13097) -Codechange: make a class of the GameDifficultyWindow.
17 years ago
glx
bdd75a65f8
(svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes
17 years ago
glx
7728ef7204
(svn r13095) -Codechange: make a class of the SelectPlayerLiveryWindow.
17 years ago
rubidium
0449abe88b
(svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail.
17 years ago
glx
be43bbc3f3
(svn r13093) -Codechange: make a class of AboutWindow.
17 years ago
glx
22960e82aa
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
17 years ago
smatz
7890344bbd
(svn r13091) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
smatz
ec627dedf8
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
17 years ago
smatz
56f15b3544
(svn r13089) -Fix (r13072): MorphOS compilation was broken
17 years ago
smatz
08814d50ea
(svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc)
17 years ago
peter1138
6bfd695002
(svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc)
17 years ago
smatz
f64c4fc4fb
(svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often
17 years ago
glx
bbc173dfc6
(svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it
17 years ago
glx
c9f26cceb7
(svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow.
17 years ago
glx
b4682bff97
(svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+
17 years ago
smatz
311f2482fa
(svn r13080) -Fix: warning about unused variable when compiling without asserts
17 years ago
smatz
a152d420a5
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
rubidium
cf91f6bf3e
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
17 years ago
smatz
a9cc987929
(svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop
17 years ago
rubidium
bb3bd587a6
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
17 years ago
peter1138
9fa2e849f2
(svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive.
17 years ago
peter1138
eb112946a7
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
17 years ago
peter1138
153acec334
(svn r13073) -Codechange: make classes of the NewGRF windows
17 years ago
smatz
ad8057ab76
(svn r13072) -Fix (r12995): possible out-of-bounds access
17 years ago
rubidium
ab7a5568d7
(svn r13071) -Codechange: make also a class of the MainWindow.
17 years ago
rubidium
8e702d1053
(svn r13070) -Fix (r13069): do save before commit...
17 years ago
rubidium
dddfaaac7d
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
17 years ago
rubidium
db69f81fe7
(svn r13068) -Codechange: make a class of the BuildVehicleWindow.
17 years ago
rubidium
aa44fe3b69
(svn r13067) -Codechange: make a class of the DepotWindow.
17 years ago
rubidium
e6f96da537
(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.
17 years ago
rubidium
d0c79e1164
(svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
17 years ago
glx
d0033bfb07
(svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow.
17 years ago
belugas
3982160f50
(svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor
17 years ago
belugas
6c0d2b9132
(svn r13062) -Codechange: make a class of the TransparencyToolbar.
17 years ago
glx
ca4d92e2f2
(svn r13061) -Codechange: make a class of the BuildTreesWindow.
17 years ago
glx
18c33e1569
(svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified
17 years ago
glx
cffb7a834c
(svn r13058) -Codechange: make a class of the ExtraViewportWindow.
17 years ago
glx
ad19bf105a
(svn r13055) -Codechange: make a class of SmallMapWindow.
17 years ago
rubidium
526d5de867
(svn r13054) -Codechange: make a class of the PlayerStationsWindow.
17 years ago
rubidium
4a809a692c
(svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore.
17 years ago
rubidium
5924346697
(svn r13052) -Codechange: make a class of the DropdownWindow.
17 years ago
rubidium
4caa813711
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
17 years ago
glx
56c3f828cd
(svn r13050) -Codechange: make a class of IndustryViewWindow.
17 years ago
rubidium
3ef0a1e3be
(svn r13049) -Codechange: make a class of the TooltipsWindow.
17 years ago
rubidium
1be2847668
(svn r13048) -Codechange: make a class of the StationViewWindow.
17 years ago
glx
c708ab3b48
(svn r13047) -Codechange: remove vp_d
17 years ago
rubidium
c47926311b
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
17 years ago
rubidium
75e3792aa3
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
17 years ago
rubidium
568464aa96
(svn r13044) -Fix: deleting an already deleted window.
17 years ago
rubidium
9066a961e7
(svn r13043) -Codechange: remove some duplicate variables from news_d.
17 years ago
rubidium
eb2d47b547
(svn r13042) -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
17 years ago
rubidium
e63137f47f
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
17 years ago
rubidium
599bc8942e
(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.
17 years ago
rubidium
46875e28be
(svn r13039) -Codechange: make a class of the Query window.
17 years ago
belugas
7884a4ff19
(svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly
17 years ago
rubidium
b47a151bce
(svn r13037) -Codechange: make a class of the ReplaceVehicle window.
...
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
17 years ago
glx
356473efa5
(svn r13036) -Codechange: make a class of the BuildIndustry Window.
17 years ago
rubidium
c32559ac12
(svn r13035) -Codechange: remove two needless global-ish variables.
17 years ago
rubidium
3749323e23
(svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases.
17 years ago
smatz
d41f3def5c
(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working
17 years ago
glx
6ad199d127
(svn r13032) -Codechange: make industry view window resizable and truncate strings
17 years ago
rubidium
83664c8bc4
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
17 years ago
rubidium
89c15ecb23
(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
17 years ago
rubidium
d24442ae8b
(svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
17 years ago
rubidium
935434333b
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
17 years ago
rubidium
f23026cce8
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
17 years ago
belugas
e099831210
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
17 years ago
rubidium
68a1d75d9e
(svn r13025) -Codechange: remove the need for two WindowEvents.
17 years ago
rubidium
f438700402
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
17 years ago
peter1138
486172e07f
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
17 years ago
smatz
5e51833ee5
(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one
17 years ago
rubidium
2ba05f8987
(svn r13021) -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan.
17 years ago
glx
bc514a7f51
(svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings
17 years ago
glx
0b37b81956
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
17 years ago
rubidium
ba853fdb0b
(svn r13018) -Codechange: make a class of the LandInfo Window.
17 years ago
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
17 years ago
rubidium
4a11ebe76f
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
17 years ago
glx
5fda77239e
(svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings
17 years ago
rubidium
d7e0dd6e82
(svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling.
17 years ago
rubidium
ea218de179
(svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function...
17 years ago
rubidium
c74ca38970
(svn r13011) -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the place where it is used and remove some unneeded globalisations of some other PlaceProc functions.
17 years ago
rubidium
cd3dda5c0c
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
17 years ago
rubidium
cabd771fc0
(svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h.
17 years ago
glx
e48a351f8e
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
rubidium
9ed36409c5
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
17 years ago
rubidium
23fc96c3e8
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
17 years ago
rubidium
2eef026fe3
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
17 years ago
bjarni
d3650ecb3a
(svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases
...
Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not)
17 years ago
bjarni
02709df7e3
(svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid
17 years ago
glx
6e6102e20d
(svn r13000) -Fix (r12991): broken win9x compilation
17 years ago
rubidium
19910188fa
(svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults.
17 years ago
smatz
3445b8054c
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
17 years ago
smatz
220bc49731
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
17 years ago
smatz
c3822e3a90
(svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed
17 years ago
smatz
0c4715d825
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
17 years ago
glx
c2c9121307
(svn r12991) -Codechange: removed some unneeded includes
17 years ago
rubidium
694ba37377
(svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv.
17 years ago
rubidium
cd7c99452f
(svn r12989) -Codechange: move ViewportSign to viewport_type.h.
17 years ago
bjarni
0cfd2baa3c
(svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road vehicle could free it's slot without the vehicle knowing it (leading to assert)
17 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
7ccda80b0b
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
17 years ago
bjarni
8fea5a62c9
(svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files
17 years ago
rubidium
ca4349b517
(svn r12984) -Codechange: some coding style in window.cpp.
17 years ago
belugas
fa8ab829e9
(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin
17 years ago
smatz
75a87a7266
(svn r12982) -Fix: compiler warning when compiling without asserts
17 years ago
glx
a9d263c459
(svn r12981) -Codechange: remove some useless includes and defines
17 years ago
rubidium
3b9e4f6d17
(svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly.
17 years ago
rubidium
822c130b70
(svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai.
17 years ago
rubidium
402a1e24ba
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
17 years ago
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
17 years ago
rubidium
e6c944a6c4
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
17 years ago
rubidium
46a0ebe1d9
(svn r12974) -Codechange: check whether loading/saving highscores goes as it should be.
17 years ago
peter1138
c025d7a152
(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...
17 years ago
glx
780db88e99
(svn r12972) -Fix (r12971): forgot to close a comment
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
glx
fb938a2cb3
(svn r12970) -Codechange: coding style for some function names
17 years ago
rubidium
fb1db90cc6
(svn r12969) -Codechange: remove a completely pointless file.
17 years ago
maedhros
8da41ec62e
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
17 years ago
glx
7e1ac0ce57
(svn r12967) -Fix (r12966): my lang update script failed
17 years ago
glx
e326a03c4c
(svn r12966) -Update: apply english.txt changes from r12965 to other languages
17 years ago
glx
963dce0d47
(svn r12965) -Codechange: add support for callback 37 in industries directory window
17 years ago
glx
e7678a03cc
(svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows
17 years ago
rubidium
50516f2372
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
17 years ago
smatz
71800aa7c6
(svn r12962) -Fix (r12961): forgot one break
17 years ago
smatz
c9cf1d4cee
(svn r12961) -Codechange: store the type of savegame we are loading in a global variable
17 years ago
rubidium
56e1178dca
(svn r12960) -Codechange: handle return values of (some) file system related functions.
17 years ago
glx
1050f07ed1
(svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory
17 years ago
peter1138
22aa011b57
(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.
17 years ago
rubidium
f200fc3b99
(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
17 years ago
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
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
peter1138
f8612ad5b9
(svn r12872) -Codechange: Remove obsolete unused engine list order function
17 years ago
smatz
345f160978
(svn r12870) -Codechange: remove some magic numbers from u.ship.state handling
17 years ago