Age | Commit message (Collapse) | Author |
|
about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact
|
|
with INVALID_VEHICLE, vehicle index is of type VehicleID
|
|
possible inputs of resolutions to the maximum availble
|
|
since that interfered with the saveload code.
|
|
Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
|
|
failed console-cmds. Make command 'clients' only available in network mode
|
|
current order doesn't take effect immediately. (glx)
|
|
everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138
|
|
GetVehicleTrackdir now tries to get a valid trackdir as much as possibly, by assuming that a vehicle is facing outwards in a depot or road station, for example.
- Codechange: [Multistop] Multistop now also tries to find a slot for road vehicles that are in stations, since the pathfinder now properly handles that.
|
|
openttd asserts.
Crashed vehicles shouldn't find depots anyway...
|
|
|
|
variables behave the same as for commands
|
|
a bit too aggressive with its _assume(0), and it did not even belong there
|
|
for street tiles, corrupting them.
Some info got moved around in r1768 for street tiles, but NPF did not get updated.
|
|
- Add: GetVehicleTrackdir() helper function.
- Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed.
- Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte".
- Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
|
|
Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them.
- Fix: [NPF] Trains get curves penalties sometimes even when the track is straight.
- Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around.
- Add: [NPF] Ships get a penalty for curves too, yay for straight lines.
- Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions.
- Add: IsBuoy() and IsBuoyTile() helper functions.
- Codechange: Rearranged part of the control flow of ShipController(), removing a goto.
|
|
savegames and does not depend on the whim of the currently open saveload dialog
|
|
(mono, maglev) (glx)
|
|
WDF_STD_BTN, instead of doing the "workaround" of the previous commit
|
|
assertion failure
|
|
incorrectly parsed
|
|
in a roadstop
|
|
dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
|
|
character(s)).
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
|
|
the day
|
|
by using clamp()
|
|
|
|
about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
|
|
button-actions (Hackykid)
|
|
highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it.
|
|
|
|
engine into a singleheaded engine is no longer a potiontial crash
It do have one side effect through. Now no engines are added/removed from the train anymore, so it produces "half dualheaded engines"
This will be fixed when autoreplace will get a major overhaul at a later date
|
|
|
|
its orders (init100)
|
|
|
|
|
|
|
|
|
|
|
|
uint16, so it should have type SDT_UINT16; fix for revision 2106 (thanks peter1138)
|
|
endian_target.h and endian_host.h to the ignore list
|
|
DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
|
|
ends.
|
|
When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx)
|
|
|
|
cross-compiling
on i386-linux for MacOSX should also work for the language-files (strgen issues)
|
|
|
|
land, fix for a glitch in r2131
|
|
and CmdRestoreOrderIndex():
- Check if the vehicle exists
- Check if the vehicle belongs to the correct player
- Check if the new order is valid (type, destination, flags) (CmdInsertOrder)
|
|
right-aligned in the intro gui so it doesn't matter how long it is in other languages.
|