summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2008-01-16(svn r11878) -Fix: Crash in MP in vehicle group window if the currently ↵peter1138
selected group is deleted by another player.
2008-01-16(svn r11877) -Fix: another way to crash competitors' train in a stationsmatz
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
2008-01-16(svn r11876) -Fix: Start industry tile animation also for overridden ↵frosch
industry tiles. (Will only apply to new games or newly build industries.)
2008-01-16(svn r11875) -Fix: automatically sending aircraft to depot for ↵bjarni
autoreplace/renew is now triggered by the correct conditions Now it triggers by the following conditions: - aircraft is old enough for renew or needs to be autoreplaced - player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one) - aircraft has no hangars in it's order list - new aircraft is buildable (imagine autorenewing a retired design) This triggers right after a helicopter takes off or when a plane touches the ground while landing Another effect of this change is that this functionality no longer generates network traffic
2008-01-16(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get ↵rubidium
the livery colour of the engine instead of their wagon type.
2008-01-16(svn r11873) -Codechange: less a few magical numbers and a tiny bit more ↵belugas
comments on town zones
2008-01-16(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ↵bjarni
ALL_GROUP
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-16(svn r11870) -Fix: slow down train when approaching tile we can't enter in ↵smatz
more cases (tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype) -Fix: do not make crossing red when we can't enter it in any case
2008-01-15(svn r11867) -Fix: do not reset changes to persistent storages during world ↵rubidium
generation. -Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15(svn r11865) -Feature(tte): Support scrolling of drop down lists when in ↵peter1138
drag mode by moving the pointer above or below the list.
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-15(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a ↵peter1138
drop down list before deleting the list.
2008-01-15(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same ↵rubidium
cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
2008-01-15(svn r11861) -Fix: do not call rail specific functions when removing road ↵smatz
tunnel/bridge
2008-01-15(svn r11860) -Fix: Test station class validity against number of classes, ↵peter1138
not abosolute limit.
2008-01-15(svn r11859) -Codechange: Update newgrf station class dropdown to use new ↵peter1138
method of generating list.
2008-01-15(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using ↵peter1138
wrong source value. (r1679 partially reverted r1368)
2008-01-15(svn r11857) -Fix: some compile time warnings.rubidium
2008-01-15(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the ↵glx
extra checking and such anymore.
2008-01-15(svn r11855) -Fix [FS#1335]: recompute town population when removing a ↵glx
'newhouses' grf, or when loading a game with missing 'newhouses' grfs
2008-01-14(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler ↵peter1138
warnings... c++ is fun
2008-01-14(svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38miham
brazilian_portuguese - 36 changed by fukumori (36) korean - 1 fixed by leejaeuk5 (1) piglatin - 20 fixed by adammw (20) portuguese - 1 fixed by nars (1)
2008-01-14(svn r11851) -Codechange: A few magic numbers removal, plus a little code stylebelugas
2008-01-14(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilationpeter1138
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-14(svn r11847) -Fix: do not affect the speed a train is entering a depot by ↵smatz
trackbits behind it
2008-01-14(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int ↵peter1138
caused compilation failure with MSVC.
2008-01-13(svn r11845) -Codechange: simplify train collision detection a bitsmatz
2008-01-13(svn r11844) -Fix: road vehicle count was incorrect in network lobby windowglx
2008-01-13(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from ↵smatz
flooded tile
2008-01-13(svn r11842) -Fix: libtimidity.cpp did not compile anymore.rubidium
2008-01-13(svn r11841) -Fix: win32 compilationglx
2008-01-13(svn r11840) -Codechange: split network.h so not everything in there needs ↵rubidium
to be included when wanting to know whether we are a server.
2008-01-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-13(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tilesmatz
2008-01-13(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to ↵bjarni
the search paths (based on patch by pv2b) It is possible to set this to something else setting shared-dir with config This works on other OSes as well but it's off by default (and not really tested)
2008-01-13(svn r11836) -Fix [r11834]: [OSX] fixed compilationbjarni
2008-01-13(svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details ↵smatz
dirty when a train crashes
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11831) -Fix: call TrainConsistChanged() when removing crashed train ↵smatz
part to be consistent with saveload process
2008-01-13(svn r11830) -Fix [FS#1625]: road vehicles would not wait in line, but at a ↵rubidium
single point on bridges. Based on a patch by SmatZ.