Commit Graph

8367 Commits (2c5c97346b49769c62920e5b0110dd789b3e79fe)
 

Author SHA1 Message Date
belugas 2c5c97346b (svn r11932) -Codechange: Forgot two occurences of widget enumification 17 years ago
belugas 3423032dbb (svn r11931) -Codechange: enumify the widgets numbers. Give breathing room on the case switches too... 17 years ago
belugas 90a770250f (svn r11930) -Codechange: a bit of code style application 17 years ago
bjarni e91230415d (svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a single headed locomotive caused an assert when being replaced to a dualheaded one
This triggered if the player had enough money to replace and refit one of them but not enough to refit the last one as well
17 years ago
bjarni 2f6ee3a4a1 (svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train engines to the wrong cargo type if the old engine had no cargo capacity and the new one had
Now autoreplace will always look at the wagons to figure out what to replace to (as originally intended)
17 years ago
peter1138 a580c8d059 (svn r11927) -Fix (r11926): unable to place canals in game 17 years ago
peter1138 4a2f7db99b (svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor. 17 years ago
rubidium aa0412e0bc (svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames. 17 years ago
peter1138 02c9484ebb (svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed 17 years ago
glx 1712a8a0e1 (svn r11923) -Cleanup: Remove strings removed from english.txt in r11919 17 years ago
smatz 730dda867b (svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound 17 years ago
peter1138 14416791af (svn r11921) -Cleanup: correct indenting and switch case line spacing. 17 years ago
glx 600046f3d7 (svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command) 17 years ago
peter1138 b6d0684826 (svn r11919) -Codechange: Assign numbered parameters to world generator widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window. 17 years ago
peter1138 70025a149d (svn r11918) -Codechange: Draw engine lists at widget positions instead of fixed pixel positions 17 years ago
smatz 22a7b95c10 (svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge 17 years ago
smatz 1d59439166 (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
17 years ago
peter1138 68707808c0 (svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel. 17 years ago
glx b7f50533c2 (svn r11914) -Documentation: fix some @file statement 17 years ago
smatz 0b3db1a92d (svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too 17 years ago
peter1138 307b0e8e7a (svn r11912) -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows 17 years ago
peter1138 ada41b7b3f (svn r11911) -Codechange: use enum for autoreplace window widgets 17 years ago
smatz 8d077b16d8 (svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
peter1138 ac0fa7f69f (svn r11909) -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows 17 years ago
smatz 822242f411 (svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame 17 years ago
peter1138 35135222b5 (svn r11907) -Codechange: clean up of worldgen/heightmap ui: replace many separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing. 17 years ago
miham 17c9ea9ca3 (svn r11906) -Fix: fixed a typo in german language (reported by Botcher0) 17 years ago
peter1138 6d3aa07a24 (svn r11905) -Codechange: add widget enums for player finances and player livery windows 17 years ago
peter1138 d80e04d6f6 (svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list. 17 years ago
smatz 44a4ff835d (svn r11903) -Fix: try to fix MorphOS compilation 17 years ago
peter1138 ad54075acc (svn r11902) -Codechange: use new dropdown widget for game options window 17 years ago
peter1138 c313676c66 (svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control. 17 years ago
smatz c74cf439fa (svn r11900) -Fix: set correctly crossing state after train reversal, train leaving crossing, train crash
Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
17 years ago
frosch 35f3421842 (svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow(). 17 years ago
frosch c579bffed2 (svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too. 17 years ago
frosch 978a7ca56a (svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix. 17 years ago
glx 4f31704e2e (svn r11896) -Fix (r11886): a missing const broke compilation with MSVC 17 years ago
glx f37174f0e2 (svn r11895) -Fix (r11875): for once MSVC warns for a good reason 17 years ago
peter1138 a9c71ce375 (svn r11894) -Cleanup: Remove strings removed from english.txt in r11893 17 years ago
peter1138 68fc3b35da (svn r11893) -Codechange: build map size drop downs dynamically and remove unneeded strings 17 years ago
peter1138 f788298209 (svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed
on any click in the window.
17 years ago
rubidium f5d72cc84c (svn r11890) -Change: ignore some files for git too. Patch by bruce89. 17 years ago
rubidium 08c01e64b8 (svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo. 17 years ago
glx 3d61a1adc5 (svn r11888) -Codechange: simplify sorting of the strings in town names dropdown 17 years ago
rubidium f658b79e15 (svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI. 17 years ago
glx 69c18efdca (svn r11886) -Add: sort the strings in languages dropdown 17 years ago
peter1138 4d9a9bf6ff (svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled. 17 years ago
peter1138 bc438a3033 (svn r11884) -Cleanup: leftover use of widget numbers instead of enum 17 years ago
smatz c8178d43c1 (svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile 17 years ago
smatz ac7bc24b0e (svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places 17 years ago