Commit Graph

1757 Commits (9b8aa4c10114f851815b703083ff9dc2d27f3675)
 

Author SHA1 Message Date
Darkvater 9b8aa4c101 (svn r2260) - Fix (regression): custom currency input works again ingame 19 years ago
Darkvater ad6b37a423 (svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands 19 years ago
Darkvater a1e27b1606 (svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there 19 years ago
matthijs b22ebeda61 (svn r2257) - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi for street tiles, corrupting them.
Some info got moved around in r1768 for street tiles, but NPF did not get updated.
19 years ago
matthijs 6eb094c726 (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
- 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.
19 years ago
matthijs 2ab5eee78b (svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships
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.
19 years ago
Darkvater d26052c7df (svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog 19 years ago
matthijs 3b3a2b890f (svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx) 19 years ago
Darkvater 5a35c8cc4e (svn r2252) - ReFix: Redo r2251. Just remove the 'default widget handler', WDF_STD_BTN, instead of doing the "workaround" of the previous commit 19 years ago
Darkvater ece616ff22 (svn r2251) - Fix: [ 1193945 ] Clicking on the chat text box causes an assertion failure 19 years ago
Darkvater 4e1fbe54b2 (svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed 19 years ago
matthijs 5a69201451 (svn r2249) - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when in a roadstop 19 years ago
Darkvater 63784c5b5a (svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash) 19 years ago
Darkvater 8f6b3154e5 (svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
19 years ago
Darkvater ab0a6f2e73 (svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day 19 years ago
Darkvater 57dbe50597 (svn r2245) - CodeChange: simplify the clamping of values for patch-settings by using clamp() 19 years ago
Darkvater 2cc10f829f (svn r2244) - Fix: 'scrollto' is not debug only..sorry :) 19 years ago
Darkvater d102d0c26d (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help 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"
19 years ago
Darkvater 7a012a3465 (svn r2242) -Fix: [ 1193414 ] Fix for waypoint GUI, scrolling and button-actions (Hackykid) 19 years ago
Darkvater 639b6e780f (svn r2241) - Fix: [ 1190625 ] Changing mapsize crashes game with highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it. 19 years ago
miham cf5370eb22 (svn r2240) [Translations] Updated to 2005-05-01 (17 strs / 2 langs) 19 years ago
bjarni 7b68c6cefe (svn r2239) -Fix [autoreplace]: [ 1185653 ] autoreplacing a dualheaded 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
19 years ago
Darkvater e32aa54a41 (svn r2238) - [ 1184377 ] Update to OpenTTD readme (orudge) 19 years ago
Darkvater cdb896b790 (svn r2237) - Fix (regression): [ 1192284 ] Bug: Ship refuses to add buoy to its orders (init100) 19 years ago
miham 13f07582b0 (svn r2236) [Translations] Updated to 2005-04-28 (21 strs / 3 langs) 19 years ago
miham d7e6f468e9 (svn r2235) [Translations] Updated finnish translation (Ville Koshinen) 19 years ago
miham 6ff8340619 (svn r2234) [Translations] Updated to 2005-04-26 (149 strs / 12 langs) 19 years ago
tron 0ec5775ded (svn r2233) Bracing, whitespace, indendation 19 years ago
tron 974c19a51c (svn r2232) Remove unused commands 19 years ago
Darkvater 6f9c6effaf (svn r2231) - Fix: max_join_time pointing to _network_max_join_time is an uint16, so it should have type SDT_UINT16; fix for revision 2106 (thanks peter1138) 19 years ago
Darkvater 27dbc4ba09 (svn r2230) Oops, revert wrongly committed local console.c. Also add the endian_target.h and endian_host.h to the ignore list 19 years ago
Darkvater a1143a53f0 (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The 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. 19 years ago
Darkvater 11dc0e1777 (svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends. 19 years ago
Darkvater 762b5f7a75 (svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx) 19 years ago
truelight 5d192d7150 (svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefile 19 years ago
truelight facd3d1af1 (svn r2225) -Fix: split the endian-detection to target/host. Now cross-compiling
on i386-linux for MacOSX should also work for the language-files (strgen issues)
19 years ago
truelight 176c155193 (svn r2224) -Fix: capital-correctness for OSX-dir-names 19 years ago
tron 566df8dc65 (svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131 19 years ago
tron 6ceeedfd3c (svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() 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)
19 years ago
Darkvater 591217da4a (svn r2221) - Fix: "Map size" is two words. Also draw the string right-aligned in the intro gui so it doesn't matter how long it is in other languages. 19 years ago
tron 403845c9ca (svn r2220) Put two TileIndices into temporary variables to improve readability 19 years ago
miham 1265478a98 (svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs) 19 years ago
tron c731091941 (svn r2218) Indentation 19 years ago
Darkvater c8f07a2dd9 (svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's 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. 19 years ago
miham 1b312083fc (svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs) 19 years ago
Darkvater 29347840c2 (svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. This is sufficient until the real window is designed & coded. 19 years ago
Darkvater cc65bd1702 (svn r2214) - Fix: Dragging the desert tool over half-desert turns it into full-desert; dragging the tool while pressing ctrl, will remove the desert area. 19 years ago
celestar 0f08e83553 (svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that 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 19 years ago
miham 51c56287f0 (svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs) 20 years ago
Darkvater 972448d5ae (svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination. 20 years ago