summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-03(svn r2262) - Fix: Assertion when vehicle in a depot wants to do pathfinding.matthijs
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.
2005-05-03(svn r2261) - Fix: When crashed vehicles try to find a depot for servicing, ↵matthijs
openttd asserts. Crashed vehicles shouldn't find depots anyway...
2005-05-03(svn r2260) - Fix (regression): custom currency input works again ingameDarkvater
2005-05-03(svn r2259) - Fix (regression): remove a warning and make the help for ↵Darkvater
variables behave the same as for commands
2005-05-03(svn r2258) - Fix (regression): game crashes on resizing window. Windows is ↵Darkvater
a bit too aggressive with its _assume(0), and it did not even belong there
2005-05-03(svn r2257) - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi ↵matthijs
for street tiles, corrupting them. Some info got moved around in r1768 for street tiles, but NPF did not get updated.
2005-05-02(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)matthijs
- 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.
2005-05-02(svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for shipsmatthijs
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.
2005-05-02(svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable ↵Darkvater
savegames and does not depend on the whim of the currently open saveload dialog
2005-05-02(svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype ↵matthijs
(mono, maglev) (glx)
2005-05-02(svn r2252) - ReFix: Redo r2251. Just remove the 'default widget handler', ↵Darkvater
WDF_STD_BTN, instead of doing the "workaround" of the previous commit
2005-05-02(svn r2251) - Fix: [ 1193945 ] Clicking on the chat text box causes an ↵Darkvater
assertion failure
2005-05-02(svn r2250) - Fix (regression): arguments with spaces in them were ↵Darkvater
incorrectly parsed
2005-05-02(svn r2249) - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when ↵matthijs
in a roadstop
2005-05-02(svn r2248) - Fix (regression): fix crashing of game when joining a ↵Darkvater
dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
2005-05-02(svn r2247) - Fix (regression): executing scripts now works (remove newline ↵Darkvater
character(s)). - Fix: getting help for an alias works - Fix: '|' is an unprintable character, replace it with '\'
2005-05-02(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of ↵Darkvater
the day
2005-05-02(svn r2245) - CodeChange: simplify the clamping of values for patch-settings ↵Darkvater
by using clamp()
2005-05-02(svn r2244) - Fix: 'scrollto' is not debug only..sorry :)Darkvater
2005-05-02(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help ↵Darkvater
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"
2005-05-01(svn r2242) -Fix: [ 1193414 ] Fix for waypoint GUI, scrolling and ↵Darkvater
button-actions (Hackykid)
2005-05-01(svn r2241) - Fix: [ 1190625 ] Changing mapsize crashes game with ↵Darkvater
highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it.
2005-05-01(svn r2240) [Translations] Updated to 2005-05-01 (17 strs / 2 langs)miham
2005-05-01(svn r2239) -Fix [autoreplace]: [ 1185653 ] autoreplacing a dualheaded ↵bjarni
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
2005-04-30(svn r2238) - [ 1184377 ] Update to OpenTTD readme (orudge)Darkvater
2005-04-30(svn r2237) - Fix (regression): [ 1192284 ] Bug: Ship refuses to add buoy to ↵Darkvater
its orders (init100)
2005-04-28(svn r2236) [Translations] Updated to 2005-04-28 (21 strs / 3 langs)miham
2005-04-27(svn r2235) [Translations] Updated finnish translation (Ville Koshinen)miham
2005-04-26(svn r2234) [Translations] Updated to 2005-04-26 (149 strs / 12 langs)miham
2005-04-25(svn r2233) Bracing, whitespace, indendationtron
2005-04-25(svn r2232) Remove unused commandstron
2005-04-25(svn r2231) - Fix: max_join_time pointing to _network_max_join_time is an ↵Darkvater
uint16, so it should have type SDT_UINT16; fix for revision 2106 (thanks peter1138)
2005-04-24(svn r2230) Oops, revert wrongly committed local console.c. Also add the ↵Darkvater
endian_target.h and endian_host.h to the ignore list
2005-04-24(svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The ↵Darkvater
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.
2005-04-24(svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ↵Darkvater
ends.
2005-04-24(svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. ↵Darkvater
When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx)
2005-04-24(svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefiletruelight
2005-04-24(svn r2225) -Fix: split the endian-detection to target/host. Now ↵truelight
cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues)
2005-04-24(svn r2224) -Fix: capital-correctness for OSX-dir-namestruelight
2005-04-24(svn r2223) When adding tracks to a railway tile reset the ground to bare ↵tron
land, fix for a glitch in r2131
2005-04-22(svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() ↵tron
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)
2005-04-21(svn r2221) - Fix: "Map size" is two words. Also draw the string ↵Darkvater
right-aligned in the intro gui so it doesn't matter how long it is in other languages.
2005-04-21(svn r2220) Put two TileIndices into temporary variables to improve readabilitytron
2005-04-21(svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs)miham
2005-04-21(svn r2218) Indentationtron
2005-04-20(svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's ↵Darkvater
truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem.
2005-04-20(svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs)miham
2005-04-20(svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. ↵Darkvater
This is sufficient until the real window is designed & coded.
2005-04-19(svn r2214) - Fix: Dragging the desert tool over half-desert turns it into ↵Darkvater
full-desert; dragging the tool while pressing ctrl, will remove the desert area.
2005-04-18(svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that ↵celestar
it uses NPF. This fixes the problem of RVs attempting to go to unreachable stops [ 1161610 ], and should greatly reduce the wrong stop problem. Cleaned parts of the code