summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-19(svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a ↵bjarni
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
2008-01-19(svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train ↵bjarni
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)
2008-01-19(svn r11927) -Fix (r11926): unable to place canals in gamepeter1138
2008-01-19(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else ↵peter1138
rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2008-01-19(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.rubidium
2008-01-19(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so ↵peter1138
compatibility code can be removed
2008-01-18(svn r11923) -Cleanup: Remove strings removed from english.txt in r11919glx
2008-01-18(svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing ↵smatz
with sound
2008-01-18(svn r11921) -Cleanup: correct indenting and switch case line spacing.peter1138
2008-01-18(svn r11920) -Fix (r11844): train count was incorrect in network lobby ↵glx
window (and 'players' command)
2008-01-18(svn r11919) -Codechange: Assign numbered parameters to world generator ↵peter1138
widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
2008-01-18(svn r11918) -Codechange: Draw engine lists at widget positions instead of ↵peter1138
fixed pixel positions
2008-01-18(svn r11917) -Fix (r3677): AI was reading wrong tile slope while building ↵smatz
road bridge
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-18(svn r11914) -Documentation: fix some @file statementglx
2008-01-18(svn r11913) -Fix (r11871): update signals after company bankrupt and ↵smatz
disaster too
2008-01-17(svn r11912) -Codechange: use dropdown widget for autoreplace, station ↵peter1138
builder and (second?) vehicle list windows
2008-01-17(svn r11911) -Codechange: use enum for autoreplace window widgetspeter1138
2008-01-17(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except ↵smatz
gameload and crossing construction) -Fix: crossing sound is bound to tile, not to vehicle
2008-01-17(svn r11909) -Codechange: use dropdown widget for player livery, network ↵peter1138
lobby/setup and news settings windows
2008-01-17(svn r11908) -Fix: update crossing when merging a company, when building a ↵smatz
crossing and after loading older savegame
2008-01-17(svn r11907) -Codechange: clean up of worldgen/heightmap ui: replace many ↵peter1138
separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing.
2008-01-17(svn r11906) -Fix: fixed a typo in german language (reported by Botcher0)miham
2008-01-17(svn r11905) -Codechange: add widget enums for player finances and player ↵peter1138
livery windows
2008-01-17(svn r11904) -Codechange: use dropdown widget in 3 more windows, build ↵peter1138
vehicle, group vehicle list and station list.
2008-01-17(svn r11903) -Fix: try to fix MorphOS compilationsmatz
2008-01-17(svn r11902) -Codechange: use new dropdown widget for game options windowpeter1138
2008-01-17(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, ↵peter1138
to eventually replace use of two widgets for each dropdown control.
2008-01-17(svn r11900) -Fix: set correctly crossing state after train reversal, train ↵smatz
leaving crossing, train crash Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
2008-01-17(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically ↵frosch
a duplicate of ShowReplaceGroupVehicleWindow().
2008-01-17(svn r11898) -Fix: Update neighboured canals + signals when flooding ↵frosch
non-flat tiles, too.
2008-01-17(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.frosch
2008-01-17(svn r11896) -Fix (r11886): a missing const broke compilation with MSVCglx
2008-01-17(svn r11895) -Fix (r11875): for once MSVC warns for a good reasonglx
2008-01-17(svn r11894) -Cleanup: Remove strings removed from english.txt in r11893peter1138
2008-01-17(svn r11893) -Codechange: build map size drop downs dynamically and remove ↵peter1138
unneeded strings
2008-01-17(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ↵peter1138
ungrouped is not technically a valid group, and ensure dropdown is removed on any click in the window.
2008-01-17(svn r11890) -Change: ignore some files for git too. Patch by bruce89.rubidium
2008-01-17(svn r11889) -Change: small inconsistency between documentation and code. ↵rubidium
Patch by Yexo.
2008-01-17(svn r11888) -Codechange: simplify sorting of the strings in town names dropdownglx
2008-01-17(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due ↵rubidium
uninitialized memory in the AI.
2008-01-17(svn r11886) -Add: sort the strings in languages dropdownglx
2008-01-17(svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect ↵peter1138
is that it is now possible for any widget type to be shown disabled.
2008-01-16(svn r11884) -Cleanup: leftover use of widget numbers instead of enumpeter1138
2008-01-16(svn r11883) -Fix (r11864): assert when trying to remove rail from a house ↵smatz
or industry tile
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-16(svn r11881) -Cleanup: Code style for global variables.peter1138
2008-01-16(svn r11880) -Codechange: Generate vehicle group action dropdown ↵peter1138
dynamically, and assign an enum for the function return codes.
2008-01-16(svn r11879) -Fix: Only update group action drop down list when clicking on ↵peter1138
the dropdown text/button. Other times is not needed and caused a double free.