summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-20(svn r12195) -Fix [FS#1787](r12100): there can be oil rigs at map borders, ↵smatz
do not set water class for them
2008-02-20(svn r12194) -Codechange: apply coding style on enum TrainSubtypesmatz
2008-02-20(svn r12193) -Codechange: Rename a magic variable, give it a decent type, ↵frosch
and remove a 'goto'.
2008-02-20(svn r12192) -Fix: clamp various town variables to 16bit prior to returning ↵smatz
the value
2008-02-20(svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way ↵frosch
one-way-road in the next tiles.
2008-02-20(svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug ↵smatz
for debug level 2 (patch by IguannaB)
2008-02-20(svn r12189) -Codechange: mark some functions in train_cmd.cpp inline ↵smatz
(called once or very short)
2008-02-20(svn r12188) -Codechange [FS#1782]: do not check twice for correct rail ↵smatz
owner (patch by Vikthor)
2008-02-19(svn r12187) -Add: frosch as dev. Last, but not leastbelugas
2008-02-19(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound ↵smatz
at NW border of map (placing buyos, leveling land)
2008-02-18(svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless ↵smatz
(spotted by michi_cc)
2008-02-18(svn r12184) -Fix: take into account possible loan when AI is deciding which ↵smatz
bridge to build, so it won't build wooden bridges everytime
2008-02-18(svn r12183) -Codechange: give a better error message when building road ↵smatz
over existing road with vehicle on it, or do not fail at all
2008-02-18(svn r12181) -Change: update some documentation.belugas
2008-02-18(svn r12180) -Fix: Test purchase list loading/loaded sprites instead of ↵peter1138
unconditionally returning a possibly non-existant sprite.
2008-02-18(svn r12179) -Codechange: use GetCrossingRailTrack() and ↵smatz
GetCrossingRailAxis() to improve code readability
2008-02-18(svn r12178) -Codechange: use the 'side' parameter in TrainController and ↵smatz
TrainCheckIfLineEnds to simplify the code
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-18(svn r12176) -Codechange: one division less when playing sounds (patch by ↵smatz
Dominik)
2008-02-18(svn r12175) -Fix (r12174): Ensure the patches window is centred properly.peter1138
2008-02-18(svn r12174) -Codechange: Make the patches window dynamically resize to the ↵peter1138
largest patch tab, so adding patch options is simply a case of adding to the lists.
2008-02-18(svn r12173) -Cleanup: Minor codestyle fixes.peter1138
2008-02-18(svn r12172) -Codechange: Allow buttons to resize in NewGRF settings windowpeter1138
2008-02-18(svn r12171) -Fix [FS#609]: return correct bridge price for AI when ↵smatz
DC_QUERY_COST is set (patch by Raimar Falke) It never happens in current code, but it is better to be ready for it
2008-02-17(svn r12170) -Fix: do not draw trees along road and street lights under low ↵smatz
bridges (spotted by _minime_)
2008-02-17(svn r12169) -Change [FS#1696]: play sounds when there is only small part of ↵smatz
tile/vehicle visible too (original idea by Dominik) It improves the game appearance when playing with very small screen resolution
2008-02-17(svn r12168) -Fix: behave a bit better when 'R' is pressed during rail ↵smatz
station dragging
2008-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-02-17(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard ↵smatz
input, depot/group window wasn't updated (original patch by GrimRC)
2008-02-17(svn r12165) -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling ↵glx
news
2008-02-16(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept inpeter1138
2008-02-16(svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, ↵smatz
do not let it leave again
2008-02-16(svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by ↵smatz
another town
2008-02-16(svn r12161) -Fix: towns will no longer build houses > 1x1 there where ↵smatz
should be road (with 2x2, 3x3 grid town layouts)
2008-02-16(svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per ↵smatz
town, so weird things won't happen anymore
2008-02-16(svn r12159) -Codechange: Enumify some widget magical numbersbelugas
-Cleanup: apply a bit of code style. Mostly re-indenting switch cases
2008-02-16(svn r12158) -Codechange: merge all the sprite recolouring mapping under a ↵belugas
single function -Fix: Handle the bridge recolouring mapping as the other features. Although not specified by the specs, it seems to be implicit.
2008-02-16(svn r12157) -Codechange: Remove a structure definition and replace it with ↵belugas
another one closely matching -Codechange: Replace two magic numbers with according sprite names
2008-02-16(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to ↵smatz
nearest now
2008-02-16(svn r12155) -Fix (r12154): some warnings (always compile before commit)glx
2008-02-15(svn r12154) -Codechange: removed a magic numberglx
2008-02-15(svn r12150) -Fix (r12143): compiler warnings - possible use of ↵smatz
uninitialised variable
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-02-15(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in ↵frosch
station_land and unmovable_land.
2008-02-15(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in ↵frosch
station_land and unmovable_land.
2008-02-15(svn r12145) -Codechange: includes should be at the top of the source filebelugas
-Codechange: undefine a defined macro once work is finished, just in case
2008-02-15(svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast peter1138
aircraft slow down more rapidly than slower aircraft. This prevents them from reaching the end of the runway at high speed, and also stops slow aircraft from slowing down too much at the start of the runway.
2008-02-15(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ↵peter1138
ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
2008-02-15(svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var ↵frosch
0x18, independent of grf version.