Age | Commit message (Collapse) | Author |
|
|
|
check the tile type, it assumes the tile type IS MP_STREET
|
|
GetRailTileType. Thanks to glx for noticing
|
|
|
|
conditions for this piece of code are investigated. The IsRoad() function is causing me headaches...
|
|
|
|
make a bit more clear what's going on
|
|
|
|
the slot pointer of the vehicle instead of recalculating the road stop using the destination tile of the vehicle. Apart from being more simple this could prevent a inconsistency of slot information in the edge case when the destination tile isn't the tile of the assigned slot.
|
|
|
|
twoards a road stop if that road stop gets removed
This issue was fixed in r2210 and reintroduced in r4259 when the multistop handling was overhauled.
|
|
within the units conversion system, in string.c. This means displaying kmh requires no conversion, instead of being convert from kmh to mph, and then back to kmh again.
|
|
harmless, because both states are at the same byte in the vehicle type specific union.
|
|
but computed on the fly. Partly fixes FS#101
|
|
|
|
|
|
map-access free, but still requires a huge cleanup
|
|
|
|
|
|
Don't tell the Textbuf an arbitrary number as size of the string buffer, but the real lengthof() it
|
|
(?!), therefore don't pass this information as parameter
|
|
chat box from the "text box"-widget instead of hardcoding an arbitrary - and wrong - number
|
|
bridge. FS#103 exhibited this problem
|
|
string
|
|
so don't jump through hoops to check if nothing was entered and simplify the code
|
|
instant notice
|
|
Thanks to Rubidium for reporting and fixing
|
|
|
|
care for the WE_ON_EDIT_TEXT_CANCEL event, so don't send one. This code looks like it was mindlessly copy&pasted from the query box
|
|
set. Comment-change only
|
|
size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing)
|
|
and pos is PacketSize not int)
|
|
potential crashes on invalid clients/servers (thanks test for bringing this to our attention)
|
|
crossings (michi_cc)
|
|
mental note to clean ship_cmd
|
|
|
|
a track right above the portal
|
|
more meaningful variable names, simplify control flow..
|
|
arrangement
|
|
and enum/array alignment
|
|
railway waypoints
|
|
|
|
undefined. Thanks to KUDr and Tron for research and stuff. (FS#98)
|
|
|
|
when possible
|
|
a platform if there were both elrails and convrails along the platform
|
|
station_map.h
|
|
|
|
|
|
|